standard
turbot/azure_compliance

Pipeline: Correct Security Centers with azure defender disabled for App Service

Enable azure defender for App Service in Security Centers with azure defender disabled for App Service.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run azure_compliance.pipeline.correct_securitycenters_with_azure_defender_for_app_service_disabled \
--arg 'items=<list(object({
id = string
title = string
name = 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_securitycenters_with_azure_defender_for_app_service_disabled
args = {
items = <list(object({
id = string
title = string
name = string
subscription_id = string
conn = string
}))>
}
}

Params

NameTypeRequiredDescriptionDefault
items
list(object({
      id              = string
      title           = string
      name            = 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
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_app_service_azure_defender
YesThe default action to use when there are no approvers.notify
enabled_actions
list(string)
skip, enable_app_service_azure_defender
YesThe list of enabled actions to provide to approvers for selection.
[
"skip",
"enable_app_service_azure_defender"
]

Outputs

This pipeline has no outputs.

Tags

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