-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d1ef8b1
commit a040483
Showing
9 changed files
with
198 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "https://schemas.cerberauth.com/vulnapi/draft/2024-10/curl-report.schema.json", | ||
"title": "cURL Report", | ||
"description": "", | ||
"type": "object", | ||
"required": ["method", "url", "securitySchemes", "issues"], | ||
"properties": { | ||
"method": { | ||
"type": "string" | ||
}, | ||
"url": { | ||
"type": "string" | ||
}, | ||
"data": { | ||
"type": "object" | ||
}, | ||
"headers": { | ||
"type": "object" | ||
}, | ||
"cookies": { | ||
"type": "array", | ||
"items": { | ||
"type": "object" | ||
} | ||
}, | ||
"securitySchemes": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "https://schemas.cerberauth.com/vulnapi/draft/2024-10/security-scheme-report.schema.json" | ||
} | ||
}, | ||
"issues": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "https://schemas.cerberauth.com/vulnapi/draft/2024-10/issue-report.schema.json" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "https://schemas.cerberauth.com/vulnapi/draft/2024-10/graphql-report.schema.json", | ||
"title": "GraphQL Report", | ||
"description": "", | ||
"type": "object", | ||
"required": [ | ||
"url", | ||
"queries", | ||
"mutations" | ||
], | ||
"properties": { | ||
"url": { | ||
"type": "string" | ||
}, | ||
"queries": { | ||
"type": "object" | ||
}, | ||
"mutations": { | ||
"type": "object" | ||
} | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
...i/draft/2024-10/vulnerability.schema.json → ...pi/draft/2024-10/issue-report.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
schemas/vulnapi/draft/2024-10/openapi-operation-report.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "https://schemas.cerberauth.com/vulnapi/draft/2024-10/openapi-operation-report.schema.json", | ||
"title": "OpenAPI Operation Report", | ||
"description": "", | ||
"type": "object", | ||
"required": [ | ||
"operationId", | ||
"securitySchemes", | ||
"issues" | ||
], | ||
"properties": { | ||
"operationId": { | ||
"type": "string" | ||
}, | ||
"tags": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"securitySchemes": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "https://schemas.cerberauth.com/vulnapi/draft/2024-10/security-scheme-report.schema.json" | ||
} | ||
}, | ||
"issues": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "https://schemas.cerberauth.com/vulnapi/draft/2024-10/issue-report.schema.json" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "https://schemas.cerberauth.com/vulnapi/draft/2024-10/openapi-report.schema.json", | ||
"title": "OpenAPI Report", | ||
"description": "", | ||
"type": "object", | ||
"required": ["paths"], | ||
"properties": { | ||
"paths": { | ||
"title": "Map<string, PathItem object>", | ||
"type": "object", | ||
"patternProperties": { | ||
"^.*$": { | ||
"title": "Map<string, Operation object>", | ||
"type": "object", | ||
"patternProperties": { | ||
"^.*$": { | ||
"$ref": "https://schemas.cerberauth.com/vulnapi/draft/2024-10/openapi-operation-report.schema.json" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...as/vulnapi/draft/2024-10/scan.schema.json → ...api/draft/2024-10/scan-report.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...draft/2024-10/security-scheme.schema.json → ...024-10/security-scheme-report.schema.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters