Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 87d7d82

Browse filesBrowse files
committed
Add guideline recategorization post processing script
1 parent 703c3e9 commit 87d7d82
Copy full SHA for 87d7d82

File tree

Expand file treeCollapse file tree

4 files changed

+3618
-0
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+3618
-0
lines changed
+54Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema",
3+
"$id": "https://raw.githubusercontent.com/github/codeql-coding-standards/main/schemas/coding-standards-schema-1.0.0.json",
4+
"additionalProperties": false,
5+
"definitions": {
6+
"guideline-category": {
7+
"enum": [
8+
"mandatory",
9+
"required",
10+
"advisory",
11+
"disapplied"
12+
]
13+
},
14+
"guideline-recategorization": {
15+
"type": "object",
16+
"properties": {
17+
"rule-id": {
18+
"type": "string"
19+
},
20+
"category": {
21+
"$ref": "#/definitions/guideline-category"
22+
}
23+
},
24+
"required": [
25+
"rule-id",
26+
"category"
27+
]
28+
}
29+
},
30+
"properties": {
31+
"report-deviated-alerts": {
32+
"description": "When true includes alerts with an applicable deviation. Used for report generation.",
33+
"type": "boolean"
34+
},
35+
"deviations": {
36+
"description": "A set of deviation records.",
37+
"type": "array"
38+
},
39+
"deviation-permits": {
40+
"description": "A set of deviation permits.",
41+
"type": "array"
42+
},
43+
"guideline-recategorizations": {
44+
"type": "array",
45+
"minProperties": 1,
46+
"uniqueItems": true,
47+
"items": {
48+
"$ref": "#/definitions/guideline-recategorization"
49+
}
50+
}
51+
},
52+
"required": [],
53+
"type": "object"
54+
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.