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 rulesetsedit
Retrieves the rulesets associated with a deployment.
Requestedit
GET /api/v1/deployments/traffic-filter/associations/{association_type}/{associated_entity_id}/rulesets
Path parametersedit
Name | Type | Required | Description |
---|---|---|---|
|
|
Y |
Associated entity ID |
|
|
Y |
Association type |
Responsesedit
-
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
-
To perform this operation, you must be authenticated by means of one of the following methods: apiKey, basicAuth.
Request exampleedit
curl -XGET https://{{hostname}}/api/v1/deployments/traffic-filter/associations/{association_type}/{associated_entity_id}/rulesets \ -H "Authorization: ApiKey $ECE_API_KEY"