-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathschema.json
105 lines (105 loc) · 4.06 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"title": "JFrog Applications Configuration schema",
"description": "The configuration file allows you to refine your scan behavior according to your specific project needs and structures, leading to better and more accurate scan results.",
"$schema": "https://json-schema.org/draft-07/schema#",
"type": "object",
"required": ["version", "modules"],
"additionalProperties": false,
"properties": {
"version": {
"type": "string",
"description": "JFrog Applications Config version"
},
"modules": {
"type": "array",
"description": "An array of modules.",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the module."
},
"source_root": {
"type": "string",
"default": ".",
"description": "Directories to exclude from Scanning Across All Scanners (optional)."
},
"exclude_patterns": {
"type": "array",
"description": "Directories to exclude from Scanning Across All Scanners (optional).",
"items": { "type": "string" }
},
"exclude_scanners": {
"type": "array",
"description": "Scanners to exclude from JFrog Advanced Security (optional).",
"items": { "type": "string" }
},
"scanners": {
"type": "object",
"description": "An object containing scanner configurations.",
"properties": {
"secrets": {
"type": "object",
"description": "Scanner configuration for secrets scanner.",
"properties": {
"working_dirs": {
"type": "array",
"description": "Working directories Specific to the secrets scanner (Relative to source_root)",
"items": { "type": "string" }
},
"exclude_patterns": {
"type": "array",
"description": "Additional exclude patterns for this scanner (optional).",
"items": { "type": "string" }
}
}
},
"iac": {
"type": "object",
"description": "Scanner configuration for infrastructure as code (IAC).",
"properties": {
"working_dirs": {
"type": "array",
"description": "Working directories Specific to IaC (Relative to source_root)",
"items": { "type": "string" }
},
"exclude_patterns": {
"type": "array",
"description": "Additional exclude patterns for this scanner (optional).",
"items": { "type": "string" }
}
}
},
"sast": {
"type": "object",
"description": "Configuration for Static Application Security Testing (SAST).",
"properties": {
"working_dirs": {
"type": "array",
"description": "Working directories Specific to SAST (Relative to source_root)",
"items": { "type": "string" }
},
"exclude_patterns": {
"type": "array",
"description": "Additional exclude patterns for this scanner (optional).",
"items": { "type": "string" }
},
"language": {
"type": "string",
"description": "Specify the Programming Language for SAST (optional)."
},
"excluded_rules": {
"type": "array",
"description": "List of specific scan rules to exclude from the scan (optional).",
"items": { "type": "string" }
}
}
}
}
}
}
}
}
}
}