You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add wif_subject to export and integration resources (#416)
* Add wif_subject to export and integration resources
When exports and integrations are configured with Workload Identity
Federation, the server computes an OIDC subject that must be trusted by
the customer's cloud provider. Expose it as a computed `wif_subject`
attribute on mondoo_export_gcs_bucket, mondoo_export_bigquery,
mondoo_integration_gcp, and mondoo_integration_aws so it is available in
terraform state and can feed downstream trust-policy resources.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* allow wif spelling
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/resources/export_bigquery.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,3 +46,4 @@ Export data to Google BigQuery.
46
46
### Read-Only
47
47
48
48
-`mrn` (String) Mondoo resource name (MRN) of the integration.
49
+
-`wif_subject` (String) Computed OIDC subject used when Mondoo requests a WIF token for this integration. Configure your cloud provider's trust policy to accept this subject.
Copy file name to clipboardExpand all lines: docs/resources/export_gcs_bucket.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,7 @@ Export data to a Google Cloud Storage bucket.
53
53
### Read-Only
54
54
55
55
-`mrn` (String) Mondoo resource name (MRN) of the integration.
56
+
-`wif_subject` (String) Computed OIDC subject used when Mondoo requests a WIF token for this integration. Configure your cloud provider's trust policy to accept this subject.
-`wif_subject` (String) Computed OIDC subject used when Mondoo requests a WIF token for this integration. Configure your cloud provider's trust policy to accept this subject.
-`wif_subject` (String) Computed OIDC subject used when Mondoo requests a WIF token for this integration. Configure your cloud provider's trust policy to accept this subject.
MarkdownDescription: "Computed OIDC subject used when Mondoo requests a WIF token for this integration. Configure your cloud provider's trust policy to accept this subject.",
MarkdownDescription: "Computed OIDC subject used when Mondoo requests a WIF token for this integration. Configure your cloud provider's trust policy to accept this subject.",
129
+
Computed: true,
130
+
PlanModifiers: []planmodifier.String{
131
+
stringplanmodifier.UseStateForUnknown(),
132
+
},
133
+
},
126
134
"credentials": schema.SingleNestedAttribute{
127
135
MarkdownDescription: "Credentials for the Google Cloud Storage bucket.",
MarkdownDescription: "Computed OIDC subject used when Mondoo requests a WIF token for this integration. Configure your cloud provider's trust policy to accept this subject.",
MarkdownDescription: "Computed OIDC subject used when Mondoo requests a WIF token for this integration. Configure your cloud provider's trust policy to accept this subject.",
0 commit comments