library
turbot/pipes
Get Involved
Version
Pipeline: Check Tenant Service Account Token Expiration
Check for expiring service account tokens across all service accounts in a tenant and send notifications.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run pipes.pipeline.check_tenant_service_account_token_expiration \ --arg 'tenant_id=<string>'Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = pipes.pipeline.check_tenant_service_account_token_expiration args = { tenant_id = <string> }}Params
| Name | Type | Required | Description | Default |
|---|---|---|---|---|
| conn | connection.pipes | Yes | Name of Pipes connection to use. If not provided, the default Pipes connection will be used. | connection.pipes.default |
| tenant_id | string | Yes | Specify the tenant ID. | - |
| days_ahead | number | Yes | Number of days ahead to check for expiring tokens (default: 30). | 30 |
| notifier | notifier | No | Notifier to use for sending token expiration alerts. | - |
Outputs
| Name | Description |
|---|---|
| formatted_summary | Formatted summary for display |