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

adding state_id IDs #1143

Merged
merged 15 commits into from
Jul 30, 2024
Merged
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ Thankyou! -->
5. Added `ticket` to `Incident Finding` event class. #1068
6. Added new activities `Enroll`, `Activate`, `Deactivate`, `Suspend`, and `Resume` to the `Entity Management` class. #1095
7. Added new activity `Listen` to `Network Activity` and relax requirement of `src_endpoint`. #1147
8. Added `resources` attribute to `Vulnerability Finding` and `Compliance Finding`. #1150
8. Added `state` object to `Device Config State Change`. #1143
9. Added `state_id` object to `Device Config State Change`. #1143
10. Added `resources` attribute to `Vulnerability Finding` and `Compliance Finding`. #1150
* #### Profiles
* #### Objects
1. Added `ext` to `File` object. #1046
Expand Down
118 changes: 73 additions & 45 deletions events/discovery/device_config_state_change.json
Original file line number Diff line number Diff line change
@@ -1,47 +1,75 @@
{
"uid": 19,
"caption": "Device Config State Change",
"description": "Device Config State Change events report state changes that impact the security of the device.",
"extends": "discovery",
"name": "device_config_state_change",
"attributes": {
"actor": {
"group": "context",
"requirement": "optional"
"uid": 19,
"caption": "Device Config State Change",
"description": "Device Config State Change events report state changes that impact the security of the device.",
"extends": "discovery",
"name": "device_config_state_change",
"attributes": {
"actor": {
"group": "context",
"requirement": "optional"
},
"device": {
"description": "The device that is impacted by the state change.",
"group": "primary",
"requirement": "required"
},
"prev_security_level": {
"group": "primary",
"requirement": "recommended"
},
"prev_security_level_id": {
"group": "primary",
"requirement": "recommended"
},
"prev_security_states": {
"description": "The previous security states of the device.",
"group": "primary",
"requirement": "recommended"
},
"security_level": {
"group": "primary",
"requirement": "recommended"
},
"security_level_id": {
"group": "primary",
"requirement": "recommended"
},
"security_states": {
"description": "The current security states of the device.",
"group": "primary",
"requirement": "recommended"
},
"state": {
"caption": "Config Change State",
"description": "The Config Change Stat, normalized to the caption of the state_id value. In the case of 'Other', it is defined by the source.",
"requirement": "optional"
},
"state_id": {
"caption": "Config Change State ID",
"description": "The Config Change State of the managed entity.",
"requirement": "recommended",
"enum": {
"0": {
"caption": "Unknown",
"description": "The Config Change state is unknown."
},
"1": {
"caption": "Disabled",
"description": "Config State Changed to Disabled."
},
"2": {
"caption": "Enabled",
"description": "Config State Changed to Enabled."
},
"99": {
"caption": "Other",
"description": "The Config Change is not mapped. See the <code>state</code> attribute, which contains data source specific values."
}
}
}
},
"device": {
"description": "The device that is impacted by the state change.",
"group": "primary",
"requirement": "required"
},
"prev_security_level": {
"group": "primary",
"requirement": "recommended"
},
"prev_security_level_id": {
"group": "primary",
"requirement": "recommended"
},
"prev_security_states": {
"description": "The previous security states of the device.",
"group": "primary",
"requirement": "recommended"
},
"security_level": {
"group": "primary",
"requirement": "recommended"
},
"security_level_id": {
"group": "primary",
"requirement": "recommended"
},
"security_states": {
"description": "The current security states of the device.",
"group": "primary",
"requirement": "recommended"
}
},
"profiles": [
"host"
]
}
"profiles": [
"host"
]
}
Loading