Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add security_control and host profiles to base_event.json #1270

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ Thankyou! -->
1. Added `risk_level_id`, `risk_level`, `risk_score`, `risk_details` attributes to the `security_control` profile. #1178
1. Added `policy` attribute to the `security_control` profile. #1178
1. Added enum values to `action_id` of 'Observed', 'Modified', and 'Unknown'. #1265
1. Added `security_control` and `host` profiles to base_event.json #1270
1. Changed optionality of `action_id` in the `security_control` profile from `required` to `recommended` #1270
* #### Objects
1. Added `phone_number` to `user` and `ldap_person` objects. #1155
1. Added `has_mfa` to `user` object. #1155
Expand Down
8 changes: 1 addition & 7 deletions events/application/application_lifecycle.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
"extends": "application",
"name": "application_lifecycle",
"attributes": {
"$include": [
"profiles/host.json"
],
"activity_id": {
"requirement": "required",
"enum": {
Expand Down Expand Up @@ -50,8 +47,5 @@
"group": "primary",
"requirement": "required"
}
},
"profiles": [
"host"
]
}
}
8 changes: 1 addition & 7 deletions events/application/datastore_activity.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
"extends": "application",
"name": "datastore_activity",
"attributes": {
"$include": [
"profiles/security_control.json"
],
"activity_id": {
"enum": {
"1": {
Expand Down Expand Up @@ -128,8 +125,5 @@
"databucket",
"table"
]
},
"profiles": [
"security_control"
]
}
}
8 changes: 1 addition & 7 deletions events/application/scan_activity.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
"extends": "application",
"name": "scan_activity",
"attributes": {
"$include": [
"profiles/host.json"
],
"activity_id": {
"enum": {
"1": {
Expand Down Expand Up @@ -124,8 +121,5 @@
"group": "primary",
"requirement": "recommended"
}
},
"profiles": [
"host"
]
}
}
2 changes: 0 additions & 2 deletions events/application/web_resource_access_activity.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
},
"attributes": {
"$include": [
"profiles/host.json",
"profiles/network_proxy.json"
],
"activity_id": {
Expand Down Expand Up @@ -65,7 +64,6 @@
}
},
"profiles": [
"host",
"network_proxy"
]
}
8 changes: 2 additions & 6 deletions events/application/web_resources_activity.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
"name": "web_resources_activity",
"attributes": {
"$include": [
"profiles/host.json",
"profiles/network_proxy.json",
"profiles/security_control.json"
"profiles/network_proxy.json"
],
"activity_id": {
"enum": {
Expand Down Expand Up @@ -81,8 +79,6 @@
}
},
"profiles": [
"host",
"network_proxy",
"security_control"
"network_proxy"
]
}
8 changes: 6 additions & 2 deletions events/base_event.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"$include": [
"profiles/cloud.json",
"profiles/datetime.json",
"profiles/osint.json"
"profiles/host.json",
"profiles/osint.json",
"profiles/security_control.json"
],
"activity_id": {
"group": "classification",
Expand Down Expand Up @@ -138,6 +140,8 @@
"profiles": [
"cloud",
"datetime",
"osint"
"host",
"osint",
"security_control"
]
}
5 changes: 1 addition & 4 deletions events/discovery/cloud_resources_inventory_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,5 @@
"resources",
"table"
]
},
"profiles": [
"host"
]
}
}
5 changes: 1 addition & 4 deletions events/discovery/config_state.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,5 @@
"group": "primary",
"requirement": "required"
}
},
"profiles": [
"host"
]
}
}
5 changes: 1 addition & 4 deletions events/discovery/device_config_state_change.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,5 @@
}
}
}
},
"profiles": [
"host"
]
}
}
8 changes: 1 addition & 7 deletions events/discovery/discovery_result.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
"extends": "base_event",
"name": "discovery_result",
"attributes": {
"$include": [
"profiles/host.json"
],
"activity_id": {
"enum": {
"1": {
Expand All @@ -29,8 +26,5 @@
"group": "primary",
"requirement": "required"
}
},
"profiles": [
"host"
]
}
}
5 changes: 1 addition & 4 deletions events/discovery/inventory_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,5 @@
"group": "primary",
"requirement": "required"
}
},
"profiles": [
"host"
]
}
}
8 changes: 1 addition & 7 deletions events/discovery/patch_state.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
"extends": "discovery",
"name": "patch_state",
"attributes": {
"$include": [
"profiles/host.json"
],
"device": {
"group": "primary",
"requirement": "required",
Expand All @@ -24,8 +21,5 @@
"device.os.sp_ver",
"device.os.version"
]
},
"profiles": [
"host"
]
}
}
5 changes: 1 addition & 4 deletions events/discovery/software_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,5 @@
"group": "context",
"requirement": "optional"
}
},
"profiles": [
"host"
]
}
}
8 changes: 1 addition & 7 deletions events/findings/data_security_finding.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
"extends": "finding",
"name": "data_security_finding",
"attributes": {
"$include": [
"profiles/security_control.json"
],
"activity_id": {
"description": "The normalized identifier of the Data Security Finding activity.",
"requirement": "required",
Expand Down Expand Up @@ -141,8 +138,5 @@
"group": "primary",
"requirement": "recommended"
}
},
"profiles": [
"security_control"
]
}
}
8 changes: 1 addition & 7 deletions events/findings/detection_finding.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
"extends": "finding",
"name": "detection_finding",
"attributes": {
"$include": [
"profiles/security_control.json"
],
"confidence": {
"profile": null,
"group": "context",
Expand Down Expand Up @@ -81,8 +78,5 @@
"group": "context",
"requirement": "optional"
}
},
"profiles": [
"security_control"
]
}
}
8 changes: 1 addition & 7 deletions events/findings/finding.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
"extends": "base_event",
"name": "finding",
"attributes": {
"$include": [
"profiles/host.json"
],
"activity_id": {
"description": "The normalized identifier of the finding activity.",
"enum": {
Expand Down Expand Up @@ -97,8 +94,5 @@
"vendor_attributes": {
"requirement": "optional"
}
},
"profiles": [
"host"
]
}
}
8 changes: 1 addition & 7 deletions events/iam/iam.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
"extends": "base_event",
"name": "iam",
"attributes": {
"$include": [
"profiles/host.json"
],
"http_request": {
"description": "Details about the underlying HTTP request.",
"group": "context",
Expand All @@ -23,8 +20,5 @@
"group": "primary",
"requirement": "recommended"
}
},
"profiles": [
"host"
]
}
}
9 changes: 1 addition & 8 deletions events/network/dhcp_activity.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
"extends": "network",
"name": "dhcp_activity",
"attributes": {
"$include": [
"profiles/cloud.json",
"profiles/host.json"
],
"activity_id": {
"requirement": "required",
"enum": {
Expand Down Expand Up @@ -77,8 +73,5 @@
"group": "primary",
"requirement": "recommended"
}
},
"profiles": [
"host"
]
}
}
10 changes: 1 addition & 9 deletions events/network/email_activity.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
"extends": "base_event",
"name": "email_activity",
"attributes": {
"$include": [
"profiles/host.json",
"profiles/security_control.json"
],
"activity_id": {
"requirement": "optional",
"enum": {
Expand Down Expand Up @@ -100,9 +96,5 @@
"group": "primary",
"requirement": "recommended"
}
},
"profiles": [
"host",
"security_control"
]
}
}
10 changes: 1 addition & 9 deletions events/network/email_file_activity.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@
"since": "1.3.0"
},
"attributes": {
"$include": [
"profiles/host.json",
"profiles/security_control.json"
],
"activity_id": {
"requirement": "optional",
"enum": {
Expand All @@ -38,9 +34,5 @@
"group": "primary",
"requirement": "required"
}
},
"profiles": [
"host",
"security_control"
]
}
}
Loading
Loading