standard
turbot/azure_compliance

Pipeline: Correct SQL servers with public network access enabled

Disable public network access for SQL servers with public network access enabled.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run azure_compliance.pipeline.correct_sql_servers_with_public_network_access_enabled \
--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_sql_servers_with_public_network_access_enabled
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
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, disable_public_network_access
YesThe default action to use when there are no approvers.notify
enabled_actions
list(string)
skip, disable_public_network_access
YesThe list of enabled actions to provide to approvers for selection.
[
"skip",
"disable_public_network_access"
]

Outputs

This pipeline has no outputs.

Tags

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