Files
hunfabric/modules/organization/schemas/scc-sha-custom-modules.schema.json
Vannick Trinquier cfe2e21ce7 feat: add support for SCC Custom Security Health Analytics module in … (#3372)
* feat: add support for SCC Custom Security Health Analytics module in organization, folder and project modules

* fix: update description and docs

---------

Co-authored-by: Julio Castillo <jccb@google.com>
2025-10-03 13:47:50 +02:00

51 lines
1.1 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "SCC Security Health Analytics Custom Modules",
"type": "object",
"patternProperties": {
"^[a-zA-Z]+$": {
"type": "object",
"required": [
"predicate",
"resource_selector",
"severity"
],
"properties": {
"description": {
"type": "string"
},
"predicate": {
"type": "object",
"required": [
"expression"
],
"properties": {
"expression": {
"type": "string"
}
}
},
"recommendation": {
"type": "string"
},
"resource_selector": {
"type": "object",
"required": [
"resource_types"
],
"properties": {
"resource_types": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"severity": {
"type": "string"
}
}
}
}
}