Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove legacy audit info #30

Merged
merged 2 commits into from
Apr 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
on:
push:
tags:
- '*'
branches:
- main
- master
Expand Down Expand Up @@ -35,4 +37,4 @@ jobs:
registry-url: 'https://registry.npmjs.org'
access: public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 2 additions & 2 deletions openapi/components/examples/content/200-audit-response.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"value": {
"version": "v3",
"deployedTimestamp": 1628271052660,
"localTimestamp": 1628271052660,
"authChain": [
{
"type": "SIGNER",
Expand All @@ -21,4 +21,4 @@
]
}

}
}
14 changes: 11 additions & 3 deletions openapi/components/schemas/content/200-audit-response.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
required:
- version
- deployedTimestamp
- localTimestamp
- authChain
type: object
properties:
version:
type: string
deployedTimestamp:
localTimestamp:
type: number
authChain:
type: array
Expand All @@ -22,4 +22,12 @@ properties:
payload:
type: string
signature:
type: string
type: string
overwrittenBy:
type: string
isDenylisted:
type: boolean
denylistedContent:
type: array
items:
type: string