standard
turbot/azure_compliance

Pipeline: Correct Subscriptions with custom owner roles

Runs corrective action on a collection of subscriptions with custom owner roles.

Run the pipeline

To run this pipeline from your terminal:

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

Outputs

This pipeline has no outputs.

Tags

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