standard
turbot/azure_compliance

Pipeline: Correct PostgreSQL flexible server with log retention less than 3 days

Update log retention days to 3 or more for a PostgreSQL flexible server with log retention less than 3 days.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run azure_compliance.pipeline.correct_one_postgresql_flexible_server_with_log_retention_less_than_3_days \
--arg 'title=<string>' \
--arg 'name=<string>' \
--arg 'resource_group=<string>' \
--arg 'subscription_id=<string>' \
--arg 'conn=<connection.azure>' \
--arg 'log_retention_days=<string>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = azure_compliance.pipeline.correct_one_postgresql_flexible_server_with_log_retention_less_than_3_days
args = {
title = <string>
name = <string>
resource_group = <string>
subscription_id = <string>
conn = <connection.azure>
log_retention_days = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
title
string
YesTitle of the resource, to be used as a display name.-
name
string
YesThe name of the PostgreSQL flexible server.-
resource_group
string
YesAzure Resource Group. Examples: my-rg, my-rg-123.-
subscription_id
string
YesAzure Subscription Id. Examples: d46d7416-f95f-4771-bbb5-529d4c766.-
conn
connection.azure
YesName of the connection to be used for any authenticated actions.-
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, update_log_retention_days
YesThe default action to use when there are no approvers.notify
enabled_actions
list(string)
skip, update_log_retention_days
YesThe list of enabled actions to provide to approvers for selection.
[
"skip",
"update_log_retention_days"
]
log_retention_days
string
YesThe number of days logs should be retained.-

Outputs

This pipeline has no outputs.

Tags

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