Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phimage/notarizationauditlog
Decode JSON audit log from notarization process
https://github.com/phimage/notarizationauditlog
apple audit-log notarization
Last synced: about 1 month ago
JSON representation
Decode JSON audit log from notarization process
- Host: GitHub
- URL: https://github.com/phimage/notarizationauditlog
- Owner: phimage
- License: mit
- Created: 2019-10-03T07:55:25.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-05T05:00:35.000Z (about 5 years ago)
- Last Synced: 2024-10-14T09:41:35.426Z (about 1 month ago)
- Topics: apple, audit-log, notarization
- Language: Swift
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# NotarizationAuditLog
Swift structure to parse apple [notarization](https://developer.apple.com/documentation/xcode/notarizing_your_app_before_distribution) audit log.
```swift
let data: Data = ... // from file or command output
let auditLog = try JSONDecoder().decode(NotarizationAuditLog.self, from: data)
```Example of audit log found on [apple website](https://developer.apple.com/documentation/xcode/notarizing_your_app_before_distribution/customizing_the_notarization_workflow)
```json
{
"archiveFilename": "Overnight TextEditor.app",
"issues": [
{
"message": "The signature of the binary is invalid.",
"path": "Overnight TextEditor.app/Contents/MacOS/Overnight TextEditor",
"severity": "error"
}
],
"jobId": "2EFE2717-52EF-43A5-96DC-0797E4CA1041",
"logFormatVersion": 1,
"status": "Invalid",
"statusSummary": "Archive contains critical validation errors",
"ticketContents": null,
"uploadDate": "2018-07-02T20:32:01Z"
}
```