mirror of
https://github.com/marcredhat/SIEM-toolkit-patched
synced 2026-06-10 21:31:19 +00:00
Sync upstream features; preserve fork KV scanner, parsers, verifier
Brought in 35 upstream commits (MITRE heatmap, health score, dependency map,
PowerQuery playground, onboarding tracker, product grouping, modern UI redesign).
Preserved fork additions:
backend/routers/quality.py KV scanner, pattern refs, JS keys, JSON mode,
/parsers + /sync-from-sdl endpoints
parsers/ 96 OCSF + tenant parsers
tools/stormshield-verify/ end-to-end ingest regression test
.gitignore un-ignored parsers/*
CHANGES.md, PATCHES.md
This commit is contained in:
@@ -0,0 +1,261 @@
|
||||
{
|
||||
"attributes": {
|
||||
"dataSource.vendor": "Harness",
|
||||
"dataSource.name": "Harness CI/CD",
|
||||
"dataSource.category": "security",
|
||||
"metadata.product.vendor_name": "Harness",
|
||||
"metadata.product.name": "Harness CI/CD",
|
||||
"metadata.version": "1.0.0"
|
||||
},
|
||||
"formats": [
|
||||
{
|
||||
"format": "$timestamp$ Harness pipelineId=\"$pipeline_id$\" executionId=\"$execution_id$\" status=\"$status$\" trigger=\"$trigger$\" initiator=\"$initiator$\" message=\"$message$\"",
|
||||
"rewrites": [
|
||||
{
|
||||
"input": "timestamp",
|
||||
"output": "timestamp",
|
||||
"match": ".*",
|
||||
"replace": "$0"
|
||||
},
|
||||
{
|
||||
"input": "pipeline_id",
|
||||
"output": "job.name",
|
||||
"match": ".*",
|
||||
"replace": "$0"
|
||||
},
|
||||
{
|
||||
"input": "execution_id",
|
||||
"output": "job.uid",
|
||||
"match": ".*",
|
||||
"replace": "$0"
|
||||
},
|
||||
{
|
||||
"input": "status",
|
||||
"output": "status_detail",
|
||||
"match": ".*",
|
||||
"replace": "$0"
|
||||
},
|
||||
{
|
||||
"input": "trigger",
|
||||
"output": "job.run_type",
|
||||
"match": ".*",
|
||||
"replace": "$0"
|
||||
},
|
||||
{
|
||||
"input": "initiator",
|
||||
"output": "actor.user.name",
|
||||
"match": ".*",
|
||||
"replace": "$0"
|
||||
},
|
||||
{
|
||||
"input": "message",
|
||||
"output": "message",
|
||||
"match": ".*",
|
||||
"replace": "$0"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"mappings": {
|
||||
"version": 1,
|
||||
"mappings": [
|
||||
{
|
||||
"predicate": "status_detail = *",
|
||||
"transformations": [
|
||||
{
|
||||
"constant": {
|
||||
"value": 6003,
|
||||
"field": "class_uid"
|
||||
}
|
||||
},
|
||||
{
|
||||
"constant": {
|
||||
"value": "Job Activity",
|
||||
"field": "class_name"
|
||||
}
|
||||
},
|
||||
{
|
||||
"constant": {
|
||||
"value": 6,
|
||||
"field": "category_uid"
|
||||
}
|
||||
},
|
||||
{
|
||||
"constant": {
|
||||
"value": "Application Activity",
|
||||
"field": "category_name"
|
||||
}
|
||||
},
|
||||
{
|
||||
"constant": {
|
||||
"value": 1,
|
||||
"field": "activity_id",
|
||||
"predicate": "status_detail = 'STARTED' OR status_detail = 'RUNNING'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"constant": {
|
||||
"value": "Start",
|
||||
"field": "activity_name",
|
||||
"predicate": "status_detail = 'STARTED' OR status_detail = 'RUNNING'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"constant": {
|
||||
"value": 2,
|
||||
"field": "activity_id",
|
||||
"predicate": "status_detail = 'SUCCEEDED'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"constant": {
|
||||
"value": "Complete",
|
||||
"field": "activity_name",
|
||||
"predicate": "status_detail = 'SUCCEEDED'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"constant": {
|
||||
"value": 3,
|
||||
"field": "activity_id",
|
||||
"predicate": "status_detail = 'CANCELLED' OR status_detail = 'PAUSED'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"constant": {
|
||||
"value": "Cancel",
|
||||
"field": "activity_name",
|
||||
"predicate": "status_detail = 'CANCELLED' OR status_detail = 'PAUSED'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"constant": {
|
||||
"value": 99,
|
||||
"field": "activity_id",
|
||||
"predicate": "status_detail = 'FAILED'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"constant": {
|
||||
"value": "Other",
|
||||
"field": "activity_name",
|
||||
"predicate": "status_detail = 'FAILED'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"constant": {
|
||||
"value": 1,
|
||||
"field": "status_id",
|
||||
"predicate": "status_detail = 'SUCCEEDED' OR status_detail = 'STARTED' OR status_detail = 'RUNNING'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"constant": {
|
||||
"value": "Success",
|
||||
"field": "status",
|
||||
"predicate": "status_detail = 'SUCCEEDED' OR status_detail = 'STARTED' OR status_detail = 'RUNNING'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"constant": {
|
||||
"value": 2,
|
||||
"field": "status_id",
|
||||
"predicate": "status_detail = 'FAILED'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"constant": {
|
||||
"value": "Failure",
|
||||
"field": "status",
|
||||
"predicate": "status_detail = 'FAILED'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"constant": {
|
||||
"value": 99,
|
||||
"field": "status_id",
|
||||
"predicate": "status_detail = 'CANCELLED' OR status_detail = 'PAUSED'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"constant": {
|
||||
"value": "Other",
|
||||
"field": "status",
|
||||
"predicate": "status_detail = 'CANCELLED' OR status_detail = 'PAUSED'"
|
||||
}
|
||||
},
|
||||
{
|
||||
"constant": {
|
||||
"value": 1,
|
||||
"field": "severity_id"
|
||||
}
|
||||
},
|
||||
{
|
||||
"constant": {
|
||||
"value": "Informational",
|
||||
"field": "severity"
|
||||
}
|
||||
},
|
||||
{
|
||||
"constant": {
|
||||
"value": 600301,
|
||||
"field": "type_uid"
|
||||
}
|
||||
},
|
||||
{
|
||||
"copy": {
|
||||
"from": "job.name",
|
||||
"to": "job.name"
|
||||
}
|
||||
},
|
||||
{
|
||||
"copy": {
|
||||
"from": "job.uid",
|
||||
"to": "job.uid"
|
||||
}
|
||||
},
|
||||
{
|
||||
"copy": {
|
||||
"from": "job.run_type",
|
||||
"to": "job.run_type"
|
||||
}
|
||||
},
|
||||
{
|
||||
"copy": {
|
||||
"from": "actor.user.name",
|
||||
"to": "actor.user.name"
|
||||
}
|
||||
},
|
||||
{
|
||||
"copy": {
|
||||
"from": "status_detail",
|
||||
"to": "status_detail"
|
||||
}
|
||||
},
|
||||
{
|
||||
"copy": {
|
||||
"from": "message",
|
||||
"to": "message"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"observables": {
|
||||
"fields": [
|
||||
{
|
||||
"name": "actor.user.name",
|
||||
"type": "User"
|
||||
},
|
||||
{
|
||||
"name": "job.name",
|
||||
"type": "Other"
|
||||
},
|
||||
{
|
||||
"name": "job.uid",
|
||||
"type": "Other"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user