mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Add Snyk component template
This commit is contained in:
149
salt/elasticsearch/templates/component/ecs/snyk.json
Normal file
149
salt/elasticsearch/templates/component/ecs/snyk.json
Normal file
@@ -0,0 +1,149 @@
|
|||||||
|
{
|
||||||
|
"_meta": {
|
||||||
|
"documentation": "https://www.elastic.co/guide/en/ecs/current/ecs-base.html",
|
||||||
|
"ecs_version": "1.12.2"
|
||||||
|
},
|
||||||
|
"template": {
|
||||||
|
"mappings": {
|
||||||
|
"properties": {
|
||||||
|
"snyk": {
|
||||||
|
"properties": {
|
||||||
|
"audit": {
|
||||||
|
"properties": {
|
||||||
|
"content": {
|
||||||
|
"type": "flattened"
|
||||||
|
},
|
||||||
|
"org_id": {
|
||||||
|
"ignore_above": 1024,
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"project_id": {
|
||||||
|
"ignore_above": 1024,
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"projects": {
|
||||||
|
"type": "flattened"
|
||||||
|
},
|
||||||
|
"related": {
|
||||||
|
"properties": {
|
||||||
|
"projects": {
|
||||||
|
"ignore_above": 1024,
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"vulnerabilities": {
|
||||||
|
"properties": {
|
||||||
|
"credit": {
|
||||||
|
"ignore_above": 1024,
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"cvss3": {
|
||||||
|
"ignore_above": 1024,
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"disclosure_time": {
|
||||||
|
"type": "date"
|
||||||
|
},
|
||||||
|
"exploit_maturity": {
|
||||||
|
"ignore_above": 1024,
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"id": {
|
||||||
|
"ignore_above": 1024,
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"identifiers": {
|
||||||
|
"properties": {
|
||||||
|
"alternative": {
|
||||||
|
"ignore_above": 1024,
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"cwe": {
|
||||||
|
"ignore_above": 1024,
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"introduced_date": {
|
||||||
|
"type": "date"
|
||||||
|
},
|
||||||
|
"is_fixed": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"is_ignored": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"is_patchable": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"is_patched": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"is_pinnable": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"is_upgradable": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"jira_issue_url": {
|
||||||
|
"ignore_above": 1024,
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"language": {
|
||||||
|
"ignore_above": 1024,
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"original_severity": {
|
||||||
|
"type": "long"
|
||||||
|
},
|
||||||
|
"package": {
|
||||||
|
"ignore_above": 1024,
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"package_manager": {
|
||||||
|
"ignore_above": 1024,
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"patches": {
|
||||||
|
"type": "flattened"
|
||||||
|
},
|
||||||
|
"priority_score": {
|
||||||
|
"type": "long"
|
||||||
|
},
|
||||||
|
"publication_time": {
|
||||||
|
"type": "date"
|
||||||
|
},
|
||||||
|
"reachability": {
|
||||||
|
"ignore_above": 1024,
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"semver": {
|
||||||
|
"type": "flattened"
|
||||||
|
},
|
||||||
|
"title": {
|
||||||
|
"ignore_above": 1024,
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"ignore_above": 1024,
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"unique_severities_list": {
|
||||||
|
"ignore_above": 1024,
|
||||||
|
"type": "keyword"
|
||||||
|
},
|
||||||
|
"version": {
|
||||||
|
"ignore_above": 1024,
|
||||||
|
"type": "keyword"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user