Retrieves the ruleset by ID.
Retrieves a list of resources that are associated to the specified ruleset.
Path parameters
-
ruleset_id
string Required The mandatory ruleset ID.
Query parameters
-
include_associations
boolean Retrieves a list of resources that are associated to the specified ruleset.
Default value is
false
.
Responses
-
200 application/json
The container for a set of traffic filter rules.
-
404 application/json
The traffic filter ruleset specified by {ruleset_id} cannot be found. (code:
traffic_filter.not_found
) -
500 application/json
Error reading the traffic filter ruleset. (code:
traffic_filter.request_execution_failed
)
GET
/deployments/traffic-filter/rulesets/{ruleset_id}
curl \
--request GET 'https://api.elastic-cloud.com/api/v1/deployments/traffic-filter/rulesets/{ruleset_id}'