standard
turbot/azure_compliance

Pipeline: Detect & correct PostgreSQL servers with log retention less than 3 days

Detect PostgreSQL servers with log retention less than 3 and then sets log retention to 3 or more than 3 days.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run azure_compliance.pipeline.detect_and_correct_postgresql_servers_with_log_retention_less_than_or_equal_to_3_days

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = azure_compliance.pipeline.detect_and_correct_postgresql_servers_with_log_retention_less_than_or_equal_to_3_days
}

Params

NameTypeRequiredDescriptionDefault
database
connection.steampipe
YesDatabase connection string.connection.steampipe.default
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.7

Outputs

This pipeline has no outputs.

Tags

category = Compliance
plugin = azure
recommended = true
service = Azure/PostgreSQL