Audit Trails¶
-
class
terrasnek.audit_trails.TFCAuditTrails(instance_url, org_name, headers, well_known_paths, verify, log_level)¶ -
-
list(since=None, page=None, page_size=None)¶ GET /organization/audit-trailAudit Trails List API Doc Reference
- Query Parameter(s) (details):
since(Optional)page_size(Optional)page(Optional)
-
list_all()¶ This function does not correlate to an endpoint in the TFC API Docs specifically, but rather is a helper function to wrap the list endpoint, which enumerates out every page so users do not have to implement the paging logic every time they just want to list every audit trail in an organization.
Returns an array of objects.
-
required_entitlements()¶ Terraform Cloud Entitlements required for endpoint to work.
-
terraform_cloud_only()¶ Return
Trueif this endpoint is only for Terraform Cloud, elseFalse.
-
terraform_enterprise_only()¶ Return
Trueif this endpoint is only for Terraform Enterprise, elseFalse.
-