Skip to content

Commit

Permalink
Add AlertTitle to rule_jsonschema.json
Browse files Browse the repository at this point in the history
#1356 added new sublime rules and several had `AlertTitle` defined in their yamls.

Like #1306, adding AlertTitle to the schema.
  • Loading branch information
geoffg-sentry committed Oct 10, 2024
1 parent 67fa051 commit 29719d1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .vscode/rule_jsonschema.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@

"type": "object",
"properties": {
"AlertTitle": {
"$ref": "#/definitions/AlertTitle"
},
"AnalysisType": {
"$ref": "#/definitions/AnalysisType"
},
Expand Down Expand Up @@ -85,6 +88,12 @@
}
],
"definitions": {
"AlertTitle": {
"$comment": "https://docs.panther.com/detections/rules/writing-simple-detections#alerttitle",
"description": "Use AlertTitle to dynamically set the title of an alert generated by a match on this detection.",
"type": "string",
"default": "rule"
},
"AnalysisType": {
"description": "what kind of detection",
"type": "string",
Expand Down

0 comments on commit 29719d1

Please sign in to comment.