Policy: Turbot > Workspace > Webhook Secrets > Expiration Period
Rotation of webhook JWT tokens should be performed to ensure the Expiration Period
is never exceeded. For example, if Webhook Secrets > Rotation
is set to Enforce: ...
and this policy is set to 1 year
, then webhook secrets will actually be rotated every 6 months or so (half the period).
Resource Types
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Controls
Policy Specification
Schema Type |
|
---|---|
Default |
|
Valid Values [YAML] |
|
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/turbot
- tmod:@turbot/turbot#/policy/types/webhookSecretsExpirationPeriod
- turbot graphql policy-type --id "tmod:@turbot/turbot#/policy/types/webhookSecretsExpirationPeriod"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/turbot#/policy/types/webhookSecretsExpirationPeriod"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI