standard
turbot/azure_compliance
Get Involved
Version
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
Name | Type | Required | Description | Default |
---|---|---|---|---|
title | string | Yes | Title of the resource, to be used as a display name. | - |
name | string | Yes | The name of the PostgreSQL flexible server. | - |
resource_group | string | Yes | Azure Resource Group. Examples: my-rg, my-rg-123. | - |
subscription_id | string | Yes | Azure Subscription Id. Examples: d46d7416-f95f-4771-bbb5-529d4c766. | - |
conn | connection.azure | Yes | Name of the connection to be used for any authenticated actions. | - |
notifier | notifier | Yes | The name of the notifier to use for sending notification messages. | notifier.default |
notification_level | string verbose , info , error | Yes | The verbosity level of notification messages to send. Valid options are 'verbose', 'info', 'error'. | info |
approvers | list(notifier) | Yes | List of notifiers to be used for obtaining action/approval decisions. | notifier.default |
default_action | string notify , skip , update_log_retention_days | Yes | The default action to use when there are no approvers. | notify |
enabled_actions | list(string) skip , update_log_retention_days | Yes | The list of enabled actions to provide to approvers for selection. |
|
log_retention_days | string | Yes | The number of days logs should be retained. | - |
Outputs
This pipeline has no outputs.
Tags
category = Compliance
folder = Internal
plugin = azure
service = Azure/PostgreSQL