It is time to say goodbye: This version of Elastic Cloud Enterprise has reached end-of-life (EOL) and is no longer supported.
The documentation for this version is no longer being maintained. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Get associated rulesets
editGet associated rulesets
editRetrieves the rulesets associated with a deployment.
Request
editGET /api/v1/deployments/traffic-filter/associations/{association_type}/{associated_entity_id}/rulesets
Path parameters
editName | Type | Required | Description |
---|---|---|---|
|
|
Y |
Associated entity ID |
|
|
Y |
Association type |
Responses
edit-
200
-
(
TrafficFilterSettings
) Rulesets in the deployment were successfully returned -
400
-
(
BasicFailedReply
) Invalid association type. (code:traffic_filter.invalid_association_type
)Headers
-
x-cloud-error-codes
(string
; allowed values: [traffic_filter.invalid_association_type
]) - The error codes associated with the response
-
-
500
-
(
BasicFailedReply
) Error fetching traffic filter rulesets. (code:traffic_filter.request_execution_failed
)Headers
-
x-cloud-error-codes
(string
; allowed values: [traffic_filter.request_execution_failed
]) - The error codes associated with the response
-
Request example
editcurl -XGET https://{{hostname}}/api/v1/deployments/traffic-filter/associations/{association_type}/{associated_entity_id}/rulesets \ -H "Authorization: ApiKey $ECE_API_KEY"