Validating YAML files
Validate detection rule
curl $API_BASE/v1/detection_rule_yaml/validate \
-H "Authorization: Bearer $SCANNER_API_KEY" \
-X POST \
--data-binary @src/some_detection.yaml{
"is_valid":true,
"error":null
}Run detection rule tests
Last updated
Was this helpful?