summaryrefslogtreecommitdiff
path: root/app/validators/json_schemas/security_ci_configuration_schemas/sast_ui_schema.json
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-04-20 14:36:54 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-04-20 14:36:54 +0000
commitf61bb2a16a514b71bf33aabbbb999d6732016a24 (patch)
tree9548caa89e60b4f40b99bbd1dac030420b812aa8 /app/validators/json_schemas/security_ci_configuration_schemas/sast_ui_schema.json
parent35fc54e5d261f8898e390aea7c2f5ec5fdf0539d (diff)
downloadgitlab-ce-13.11.0-rc42.tar.gz
Add latest changes from gitlab-org/gitlab@13-11-stable-eev13.11.0-rc42
Diffstat (limited to 'app/validators/json_schemas/security_ci_configuration_schemas/sast_ui_schema.json')
-rw-r--r--app/validators/json_schemas/security_ci_configuration_schemas/sast_ui_schema.json33
1 files changed, 17 insertions, 16 deletions
diff --git a/app/validators/json_schemas/security_ci_configuration_schemas/sast_ui_schema.json b/app/validators/json_schemas/security_ci_configuration_schemas/sast_ui_schema.json
index 08442565931..dc4880946b2 100644
--- a/app/validators/json_schemas/security_ci_configuration_schemas/sast_ui_schema.json
+++ b/app/validators/json_schemas/security_ci_configuration_schemas/sast_ui_schema.json
@@ -1,4 +1,5 @@
{
+ "$schema": "http://json-schema.org/draft-07/schema#",
"global": [
{
"field" : "SECURE_ANALYZERS_PREFIX",
@@ -50,36 +51,36 @@
],
"analyzers": [
{
- "name": "brakeman",
- "label": "Brakeman",
+ "name": "bandit",
+ "label": "Bandit",
"enabled" : true,
- "description": "Ruby on Rails",
+ "description": "Python",
"variables": [
{
- "field" : "SAST_BRAKEMAN_LEVEL",
- "label" : "Brakeman confidence level.",
+ "field" : "SAST_BANDIT_EXCLUDED_PATHS",
+ "label" : "Paths to exclude from scan",
"type": "string",
- "default_value": "1",
+ "default_value": "",
"value": "",
"size": "SMALL",
- "description": "Ignore Brakeman vulnerabilities under given confidence level. Integer, 1=Low, 2=Medium, 3=High."
+ "description": "Comma-separated list of paths to exclude from scan. Uses Python’s 'fnmatch' syntax; For example: '*/tests/*, */venv/*'"
}
]
},
{
- "name": "bandit",
- "label": "Bandit",
+ "name": "brakeman",
+ "label": "Brakeman",
"enabled" : true,
- "description": "Python",
+ "description": "Ruby on Rails",
"variables": [
{
- "field" : "SAST_BANDIT_EXCLUDED_PATHS",
- "label" : "Paths to exclude from scan.",
+ "field" : "SAST_BRAKEMAN_LEVEL",
+ "label" : "Brakeman confidence level",
"type": "string",
- "default_value": "",
+ "default_value": "1",
"value": "",
"size": "SMALL",
- "description": "Comma-separated list of paths to exclude from scan. Uses Python’s 'fnmatch' syntax; For example: '*/tests/*, */venv/*'"
+ "description": "Ignore Brakeman vulnerabilities under given confidence level. Integer, 1=Low, 2=Medium, 3=High."
}
]
},
@@ -109,7 +110,7 @@
},
{
"name": "kubesec",
- "label": "kubesec",
+ "label": "Kubesec",
"enabled" : true,
"description": "Kubernetes manifests, Helm Charts",
"variables": []
@@ -123,7 +124,7 @@
},
{
"name": "gosec",
- "label": "Golang Security Checker",
+ "label": "Gosec",
"enabled" : true,
"description": "Go",
"variables": [