standard
turbot/azure_compliance

Pipeline: Correct App Services web apps without the latest python version

Enable latest python version for App Services web apps without the latest python version.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run azure_compliance.pipeline.correct_appservice_web_apps_without_latest_python_version \
--arg 'items=<list(object({
id = string
title = string
name = string
resource_group = string
subscription_id = string
conn = string
}))>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = azure_compliance.pipeline.correct_appservice_web_apps_without_latest_python_version
args = {
items = <list(object({
id = string
title = string
name = string
resource_group = string
subscription_id = string
conn = string
}))>
}
}

Params

NameTypeRequiredDescriptionDefault
items
list(object({
      id              = string
      title           = string
      name            = string
      resource_group  = string
      subscription_id = string
      conn            = string
    }))
YesA collection of detected resources to run corrective actions against.-
notifier
notifier
YesThe name of the notifier to use for sending notification messages.notifier.default
python_version
string
YesThe python version for App Service web app.3.12
linux_fx_version
string
YesThe linux fx version for App Service web app.PYTHON|3.12
notification_level
string
verbose, info, error
YesThe verbosity level of notification messages to send. Valid options are 'verbose', 'info', 'error'.info
approvers
list(notifier)
YesList of notifiers to be used for obtaining action/approval decisions.notifier.default
default_action
string
notify, skip, enable_latest_python_version
YesThe default action to use when there are no approvers.notify
enabled_actions
list(string)
skip, enable_latest_python_version
YesThe list of enabled actions to provide to approvers for selection.
[
"skip",
"enable_latest_python_version"
]

Outputs

This pipeline has no outputs.

Tags

category = Compliance
folder = Internal
plugin = azure
service = Azure/AppService