-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.json
45 lines (45 loc) · 1.26 KB
/
schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"$schema": "http://json-schema.org/draft-07/schema",
"title": "JSON output definition for ades (Actions Dangerous Expressions Scanner)",
"license": "CC0-1.0",
"type": "object",
"additionalProperties": true,
"properties": {
"problems": {
"type": "array",
"description": "Detected violations",
"items": {
"type": "object",
"additionalProperties": true,
"properties": {
"target": {
"type": "string",
"description": "The path to the target project that the file is a part of."
},
"file": {
"type": "string",
"description": "The workflow or manifest file path."
},
"job": {
"type": "string",
"description": "The name or index of a job in the workflow. Missing when the file is a manifest."
},
"step": {
"type": "string",
"description": "The name or index of a step in the workflow or manifest."
},
"problem": {
"type": "string",
"description": "The problematic substring."
}
},
"required": [
"target",
"file",
"step",
"problem"
]
}
}
}
}