Check ID:
Provider: Oracle Cloud (OCI)
Service:
Severity: MEDIUM
Categories:
Resource type:
events_rule_network_security_group_changesProvider: Oracle Cloud (OCI)
Service:
eventsSeverity: MEDIUM
Categories:
loggingResource type:
EventRuleWhat this check verifies
OCI Events rules targeting Network Security Group (NSG) changes are evaluated for notification actions. Monitored events:createnetworksecuritygroup, updatenetworksecuritygroup, deletenetworksecuritygroup, and changenetworksecuritygroupcompartment under com.oraclecloud.virtualnetwork.
Risk
Absent notifications for NSG changes enable silent policy drift.- Confidentiality: permissive edits can expose services and drive data exfiltration.
- Integrity: attackers can reroute traffic or bypass micro-segmentation.
- Availability: deletions/misconfigurations may isolate workloads or widen DDoS exposure.
Recommendation
Implement Events rules for NSG lifecycle changes with notification actions to a monitored topic/SIEM.- Include
createnetworksecuritygroup,updatenetworksecuritygroup,deletenetworksecuritygroup,changenetworksecuritygroupcompartment - Enforce least privilege and separation of duties on NSG and Events admins
- Regularly test and tune alerts
Remediation
- CLI
- Terraform
- Dashboard steps
References
- https://docs.oracle.com/en-us/iaas/Content/Events/home.htm
- https://docs.oracle.com/en-us/iaas/Content/Events/Reference/eventsproducers.htm
Where this check fires
This check runs on every scheduled scan against your Oracle Cloud (OCI) account. Findings appear at Cloud Security → Findings filterable byCheck ID = events_rule_network_security_group_changes. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to Oracle Cloud (OCI) checks