Managing OCI Responder Recipes
View, clone, and modify OCI responder recipes to fit the specific security needs of your environment.
About OCI Responder Recipes
Cloud Guard detectors follow rules, combined into recipes, to identify problems.
A responder is action that Cloud Guard can take when a detector has identified a problem. The available actions are resource-specific.. Each responder uses a responder recipe that defines the action or set of actions to take in response to a problem that a detector has identified.
Each responder recipe uses multiple responder rules, each of which defines the specific actions to take.
Cloud Guard provides a set of responders with default rules. You can:
- Use these responders as is.
- Clone any of the default responders and modify the rules to meet specific needs.
- Enable and disable responder rules individually.
- Limit the scope for applying individual rules by specifying conditions that must be met.
Cloud Guard supports two types of responder recipes:
- Oracle-Managed recipes are provided by Oracle and you can only modify a few settings in the recipe rules.
- User-Managed recipes must be created, usually by cloning an Oracle-managed recipe. You can modify more settings in user-managed recipes rules.
For more information on what you can modify in recipes that are Oracle-managed or user-managed, and whether you are making changes from the recipe level or the target level, see Modifying Recipes at Recipe and Target Levels,
Policy Statements for OCI Responders
Add policy statements that are required for particular responders.
Enabling responders gives Cloud Guard permissions to modify security settings in your environment to remediate, on your behalf, problems that the responders detect. Ensure that granting these permissions does not violate your organization's security policies.
The following policy statements are required for particular responders. Based on the responder type, one of these policies is needed during manual or automatic remediation.
allow service cloudguard to manage instance-family in compartment <compartment_name>
allow service cloudguard to manage object-family in compartment <compartment_name>
allow service cloudguard to manage buckets in compartment <compartment_name>
allow service cloudguard to manage users in compartment <compartment_name>
allow service cloudguard to manage policies in compartment <compartment_name>
allow service cloudguard to manage keys in compartment <compartment_name>
Viewing Details for an OCI Responder Recipe
Open the Responder Recipes page, sort and filter the list, and view details for a specific detector recipe.
What's Next
- To make a copy in which you can modify the rules, see Cloning an OCI Responder Recipe.
- To modify a responder recipe, see Modifying an OCI Responder Recipe.
- To modify settings in a responder recipe's rules, see Modifying Rule Settings in an OCI Responder Recipe.
- To delete a user-managed (cloned) responder recipe, see Deleting a User-Managed (Cloned) OCI Responder Recipe.
Cloning an OCI Responder Recipe
You can clone an OCI responder recipe to make a copy that you can modify for different purposes.
You can use Oracle-managed responder recipes as is, but you can't change many of their settings. Also, you might want to create another responder recipe that's similar to a user-managed responder recipe that you cloned previously.
Whenever you want to create a responder recipe, you can clone the existing (Oracle-managed or user-managed) recipe with the settings that are most similar to what you want in the new recipe.
What's Next
- To edit the cloned responder recipe's rules, see Modifying Rule Settings in an OCI Responder Recipe.
- Ensure that your cloned responder recipe is added to targets where you want it to be used. See Modifying an OCI Target.
Modifying an OCI Responder Recipe
You can edit the name and description for a user-managed recipe. You can modify settings for rules in both user and Oracle-managed recipes.
Next Steps
Ensure that you:
- Make any changes needed in responder rule settings at the recipe level, before adding the recipe to targets. See Modifying Rule Settings in an OCI Responder Recipe.
- Add your responder recipe to all targets where you want it to be used. See Modifying an OCI Target.
- Make any changes needed to customize responder rule settings for the target to which your responder recipe is added. See Modifying Rule Settings in an OCI Target's Recipes.
Modifying Rule Settings in an OCI Responder Recipe
You can modify different sets of rule settings in Oracle-managed and user-managed recipes.
From the recipe level, the only change you can make in responder rule settings is to enable and disable rules in user-managed (cloned) responder recipes. You can't change any rule settings for an Oracle-managed responder recipe from the recipe level.
For complete information on what you can modify in Oracle-managed and user-managed (cloned) responder recipes, from the recipe or target level, see Modifying Recipes at Recipe and Target Levels.
Next Steps
Make other changes needed to customize responder rule settings for the target to which your detector recipe is added. See Modifying Responder Rule Settings in an OCI Target's Recipes.
Deleting a User-Managed (Cloned) OCI Responder Recipe
You can delete any cloned copy of an Oracle-managed OCI responder recipe wheu you no longer need it.
Responder Recipe Reference
The following table lists summary information for the Oracle-managed responder recipe rules that Cloud Guard provides.
Rule Display Name | Description | ID and Policies | Rule Parameters | Applicable Detector Rules |
---|---|---|---|---|
Cloud Event |
Description: Publishes the problem details to Oracle Cloud Infrastructure Events service. |
ID: EVENT Policy: [] |
{'condition': None, 'configurations': [], 'isEnabled': True, 'mode': 'AUTOACTION'} | Not applicable. Cloud Event responder emits events that support notifications. |
Delete IAM Policy |
Description: Deletes IAM policy giving too many privileges to an individual or a group. |
ID: DELETE_IAM_POLICY Policy: ['Allow service cloudguard to manage policies in {{location}}'] |
{'condition': None, 'configurations': [{'configKey': 'isPostRemediateNotifyEnabled', 'name': 'Post Remediation Notification', 'value': 'true'}], 'isEnabled': True, 'mode': 'USERACTION'} | Configuration, IAM:
|
Delete Internet Gateway |
Description: Deletes Internet Gateway associated with a VCN. |
ID: DELETE_INTERNET_GATEWAY Policy: ['Allow service cloudguard to manage internet-gateways in {{location}}', 'Allow service cloudguard to manage vcns in {{location}}', 'Allow service cloudguard to manage route-tables in {{location}}'] |
{'condition': None, 'configurations': [{'configKey': 'isPostRemediateNotifyEnabled', 'name': 'Post Remediation Notification', 'value': 'true'}], 'isEnabled': True, 'mode': 'USERACTION'} | Configuration, Networking:
|
Delete Public IP(s) |
Description: Deletes Public IPs of an Oracle Cloud Infrastructure Compute Instance. |
['Allow service cloudguard to manage private-ips in {{location}}', 'Allow service cloudguard to manage public-ips in {{location}}'] | {'condition': None, 'configurations': [{'configKey': 'isPostRemediateNotifyEnabled', 'name': 'Post Remediation Notification', 'value': 'true'}], 'isEnabled': True, 'mode': 'USERACTION'} | Configuration, Compute:
|
Disable IAM User |
Description: Disables IAM user's capabilities. |
ID: DISABLE_IAM_USER Policy: ['Allow service cloudguard to manage users in tenancy'] |
{'condition': None, 'configurations': [{'configKey': 'isPostRemediateNotifyEnabled', 'name': 'Post Remediation Notification', 'value': 'true'}], 'isEnabled': True, 'mode': 'USERACTION'} | Activity, Bastion:
Activity, Certificates:
Activity, Certificates:
Activity, Database:
Activity, IAM:
Activity, Networking:
|
Enable DB Backup |
Description: Enables automatic database backup to Oracle Cloud Infrastructure Object Storage. |
ID: ENABLE_DB_BACKUP Policy: ['Allow service cloudguard to manage backups in {{location}}', 'Allow service cloudguard to manage databases in {{location}}'] |
{'condition': None, 'configurations': [{'configKey': 'autoBackupWindowConfig', 'name': 'Backup time window (Slot)', 'value': None}, {'configKey': 'recoveryWindowInDaysConfig', 'name': 'Backup retention period in days', 'value': None}, {'configKey': 'isPostRemediateNotifyEnabled', 'name': 'Post Remediation Notification', 'value': 'true'}], 'isEnabled': True, 'mode': 'USERACTION'} | Configuration, Database:
|
Make Bucket Private |
Description: Changes the Object Storage bucket's visibility from public to private. |
ID: MAKE_BUCKET_PRIVATE Policy: ['Allow service cloudguard to manage buckets in {{location}}'] |
{'condition': None, 'configurations': [{'configKey': 'isPostRemediateNotifyEnabled', 'name': 'Post Remediation Notification', 'value': 'true'}], 'isEnabled': True, 'mode': 'USERACTION'} | Configuration, Storage:
|
Rotate Vault Key |
Description: Rotates Oracle Cloud Infrastructure Vault Key to create new key version |
ID: ROTATE_VAULT_KEY Policy: ['Allow service cloudguard to manage keys in {{location}}'] |
{'condition': None, 'configurations': [{'configKey': 'isPostRemediateNotifyEnabled', 'name': 'Post Remediation Notification', 'value': 'true'}], 'isEnabled': True, 'mode': 'USERACTION'} | Configuration, KMS:
|
Stop Compute Instance |
Description: Gracefully shuts down the Oracle Cloud Infrastructure Compute instance. |
ID: STOP_INSTANCE Policy: ['Allow service cloudguard to manage instance-family in {{location}}'] |
{'condition': None, 'configurations': [{'configKey': 'isPostRemediateNotifyEnabled', 'name': 'Post Remediation Notification', 'value': 'true'}], 'isEnabled': True, 'mode': 'USERACTION'} | Configuration, Compute:
|
Terminate Compute Instance |
Description: Preserves boot volume and terminates the Oracle Cloud Infrastructure Compute instance. |
ID: TERMINATE_INSTANCE Policy: ['Allow service cloudguard to manage instance-family in {{location}}'] |
{'condition': None, 'configurations': [{'configKey': 'isPostRemediateNotifyEnabled', 'name': 'Post Remediation Notification', 'value': 'true'}], 'isEnabled': True, 'mode': 'USERACTION'} | Configuration, Compute:
|