Add support for security command center mute rules in module organization, folder and project (#3694)
This commit is contained in:
committed by
GitHub
parent
0e760c3015
commit
2af44b0651
29
modules/folder/schemas/scc-mute-config.schema.json
Normal file
29
modules/folder/schemas/scc-mute-config.schema.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "SCC Mute Configurations",
|
||||
"type": "object",
|
||||
"patternProperties": {
|
||||
"^[a-zA-Z]+$": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"filter"
|
||||
],
|
||||
"properties": {
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"filter": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"DYNAMIC",
|
||||
"STATIC"
|
||||
],
|
||||
"default": "DYNAMIC"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
11
modules/folder/schemas/scc-mute-config.schema.md
Normal file
11
modules/folder/schemas/scc-mute-config.schema.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# SCC Mute Configurations
|
||||
|
||||
<!-- markdownlint-disable MD036 -->
|
||||
|
||||
## Properties
|
||||
|
||||
- **`^[a-zA-Z]+$`**: *object*
|
||||
- **description**: *string*
|
||||
- ⁺**filter**: *string*
|
||||
- **type**: *string*
|
||||
- enum: `DYNAMIC`, `STATIC`
|
||||
Reference in New Issue
Block a user