standard
turbot/aws_compliance

Pipeline: Correct API Gateway rest API stages with x-ray tracing disabled

Enable x-ray tracing for API Gateway rest API stages with x-ray tracing disabled.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run aws_compliance.pipeline.correct_apigateway_rest_api_stages_with_xray_tracing_disabled \
--arg 'items=<list(object({
title = string
rest_api_id = string
stage_name = string
region = string
conn = string
}))>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = aws_compliance.pipeline.correct_apigateway_rest_api_stages_with_xray_tracing_disabled
args = {
items = <list(object({
title = string
rest_api_id = string
stage_name = string
region = string
conn = string
}))>
}
}

Params

NameTypeRequiredDescriptionDefault
items
list(object({
      title       = string
      rest_api_id = string
      stage_name  = string
      region      = string
      conn        = string
    }))
Yes-
notifier
notifier
YesThe name of the notifier to use for sending notification messages.notifier.default
notification_level
string
verbose, info, error
YesThe verbosity level of notification messages to send.info
approvers
list(notifier)
YesList of notifiers to be used for obtaining action/approval decisions.notifier.default
default_action
string
notify, skip, enable_xray_tracing
YesThe default action to use when there are no approvers.notify
enabled_actions
list(string)
skip, enable_xray_tracing
YesThe list of enabled actions approvers can select.
[
"skip",
"enable_xray_tracing"
]

Outputs

This pipeline has no outputs.

Tags

category = Compliance
folder = Internal
mod = aws
service = AWS/APIGateway