SecRules REST Endpoints

SecRules
A security rule defines network access over a specified protocol between instances in two security lists, or from a set of external hosts (an IP list) to instances in a security list.

Security rules tie the security list, security IP list, and security application entities together.

You can create, delete, update, and view security rules using the HTTP requests listed below. For more information about security rules, see About Security Rules in Using Oracle Cloud Infrastructure Compute Classic.

Create a Security Rule
Method: post
Path: /secrule/
Delete a Security Rule
Method: delete
Path: /secrule/{name}
Retrieve Details of a Security Rule
Method: get
Path: /secrule/{name}
Retrieve Details of all Security Rules in a Container
Method: get
Path: /secrule/{container}/
Retrieve Names of all Security Rules and Subcontainers in a Container
Method: get
Path: /secrule/{container}
Retrieve Names of Containers
Method: get
Path: /secrule/
Update a Security Rule
Method: put
Path: /secrule/{name}