mirror of
https://github.com/marcredhat/SIEM-toolkit-patched
synced 2026-06-08 20:37:12 +00:00
a9dcf48e65
The original upstream gitignores parsers/* on the assumption that each tenant has its own set. This fork commits a working snapshot so the Parser Test Runner and Parser Coverage features are usable out of the box. Stormshield parser exercises the new SDL key=value scanner, pattern references, and JS-style unquoted format keys added to backend/routers/quality.py.
75 lines
1.7 KiB
Plaintext
75 lines
1.7 KiB
Plaintext
{
|
|
"attributes": {
|
|
"dataSource.vendor": "GitHub",
|
|
"dataSource.name": "GitHub Audit",
|
|
"dataSource.category": "security",
|
|
"dataSource.technology": "source_control"
|
|
},
|
|
|
|
"formats": [
|
|
{
|
|
"id": "github_audit_json",
|
|
"format": "$unmapped.{parse=gron}$",
|
|
"attributes": {
|
|
"class_uid": 8001,
|
|
"class_name": "DevOps Activity",
|
|
"category_uid": 8,
|
|
"category_name": "System Activity",
|
|
"type_uid": 800101,
|
|
"activity_id": 1,
|
|
"activity_name": "Repository Activity",
|
|
"severity_id": 1
|
|
},
|
|
"rewrites": [
|
|
{
|
|
"input": "timestamp",
|
|
"output": "time",
|
|
"match": ".*",
|
|
"replace": "$0"
|
|
},
|
|
{
|
|
"input": "actor",
|
|
"output": "user.name",
|
|
"match": ".*",
|
|
"replace": "$0"
|
|
},
|
|
{
|
|
"input": "source_ip",
|
|
"output": "src_endpoint.ip",
|
|
"match": ".*",
|
|
"replace": "$0"
|
|
},
|
|
{
|
|
"input": "org",
|
|
"output": "metadata.tenant_uid",
|
|
"match": ".*",
|
|
"replace": "$0"
|
|
},
|
|
{
|
|
"input": "repository",
|
|
"output": "resource.name",
|
|
"match": ".*",
|
|
"replace": "$0"
|
|
},
|
|
{
|
|
"input": "action",
|
|
"output": "activity_name",
|
|
"match": ".*",
|
|
"replace": "$0"
|
|
},
|
|
{
|
|
"input": "outcome",
|
|
"output": "status",
|
|
"match": ".*",
|
|
"replace": "$0"
|
|
},
|
|
{
|
|
"input": "description",
|
|
"output": "message",
|
|
"match": ".*",
|
|
"replace": "$0"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |