Ce produit n'est pas pris en charge par le site Datadog que vous avez sélectionné. ().
Cette page n'est pas encore disponible en français, sa traduction est en cours. Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.
API Gateway resources should have AWS X-Ray tracing enabled to provide end-to-end request visibility and support detection of anomalous or malicious activity. For Ansible tasks that use the community.aws.api_gateway or api_gateway modules, set the tracing_enabled property to true. Tasks missing tracing_enabled or with tracing_enabled: false are flagged because they disable observability needed for effective incident response and root-cause analysis.
Secure Ansible task example:
- name:Configure API Gateway with X-Ray tracingcommunity.aws.api_gateway:name:my-apitracing_enabled:true
Compliant Code Examples
- name:Setup AWS API Gateway setup on AWS and deploy API definitioncommunity.aws.api_gateway:name:my-apiswagger_file:my_api.ymlstage:productioncache_enabled:truecache_size:'1.6'tracing_enabled:trueendpoint_type:EDGEstate:present
Non-Compliant Code Examples
---- name:Setup AWS API Gateway setup on AWS and deploy API definitioncommunity.aws.api_gateway:name:my-apiswagger_file:my_api.ymlstage:productioncache_enabled:truecache_size:'1.6'tracing_enabled:falseendpoint_type:EDGEstate:present- name:Update API definition to deploy new versioncommunity.aws.api_gateway:name:my-api-v2api_id:'abc123321cba'swagger_file:my_api.ymldeploy_desc:Make auth fix available.cache_enabled:truecache_size:'1.6'endpoint_type:EDGEstate:present
1
2
rulesets:- Ansible / AWS # Rules to enforce / AWS.
Request a personalized demo
Commencer avec Datadog
Ask AI
AI-generated responses may be inaccurate. Verify important info.