Policy: Turbot > Workspace > osquery > Enroll Secret Expiration
The policy specifies the duration after which the JWT token issued by osquery will expire.
The expiration time is critical for security, ensuring that tokens are not valid indefinitely and reducing the risk of unauthorized access.
You can set the duration in Hours
to determine how long before the entity expires. If you require that the entity never expires, you can set the policy to Never
.
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/osquery#/policy/types/workspaceOsqueryEnrollSecretExpiration
- turbot graphql policy-type --id "tmod:@turbot/osquery#/policy/types/workspaceOsqueryEnrollSecretExpiration"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/osquery#/policy/types/workspaceOsqueryEnrollSecretExpiration"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI