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
// resource.TestCheckResourceAttrSet("data.sysdig_secure_trusted_azure_app.config_posture", "application_id"), // uncomment to assert a non empty value
79
+
// resource.TestCheckResourceAttrSet("data.sysdig_secure_trusted_azure_app.config_posture", "tenant_id"), // uncomment to assert a non empty value
80
+
// resource.TestCheckResourceAttrSet("data.sysdig_secure_trusted_azure_app.config_posture", "service_principal_id"), // uncomment to assert a non empty value
81
+
),
82
+
},
83
+
{
84
+
Config: `data "sysdig_secure_trusted_azure_app" "onboarding" { name = "onboarding" }`,
// resource.TestCheckResourceAttrSet("data.sysdig_secure_trusted_azure_app.onboarding", "application_id"), // uncomment to assert a non empty value
88
+
// resource.TestCheckResourceAttrSet("data.sysdig_secure_trusted_azure_app.onboarding", "tenant_id"), // uncomment to assert a non empty value
89
+
// resource.TestCheckResourceAttrSet("data.sysdig_secure_trusted_azure_app.onboarding", "service_principal_id"), // uncomment to assert a non empty value
90
+
),
91
+
},
92
+
{
93
+
Config: `data "sysdig_secure_trusted_azure_app" "threat_detection" { name = "threat_detection" }`,
// resource.TestCheckResourceAttrSet("data.sysdig_secure_trusted_azure_app.threat_detection", "application_id"), // uncomment to assert a non empty value
97
+
// resource.TestCheckResourceAttrSet("data.sysdig_secure_trusted_azure_app.threat_detection", "tenant_id"), // uncomment to assert a non empty value
98
+
// resource.TestCheckResourceAttrSet("data.sysdig_secure_trusted_azure_app.threat_detection", "service_principal_id"), // uncomment to assert a non empty value
Retrieves information about the Sysdig Secure Trusted Azure App
7
+
---
8
+
9
+
# Data Source: sysdig_secure_trusted_azure_app
10
+
11
+
Retrieves information about the Sysdig Secure Trusted Azure App
12
+
13
+
-> **Note:** Sysdig Terraform Provider is under rapid development at this point. If you experience any issue or discrepancy while using it, please make sure you have the latest version. If the issue persists, or you have a Feature Request to support an additional set of resources, please open a [new issue](https://github.com/sysdiglabs/terraform-provider-sysdig/issues/new) in the GitHub repository.
14
+
15
+
## Example Usage
16
+
17
+
```terraform
18
+
data "sysdig_secure_trusted_azure_app" "onboarding" {
19
+
name = "onboarding"
20
+
}
21
+
```
22
+
23
+
## Argument Reference
24
+
25
+
*`name` - (Required) Sysdig's Azure App name urrently supported applications are `config_posture`, `onboarding` and `threat_detection`
26
+
27
+
28
+
## Attributes Reference
29
+
30
+
In addition to all arguments above, the following attributes are exported:
31
+
32
+
*`tenant_id` - The application's associated tenant identifer
33
+
34
+
*`application_id` - The application's identifier
35
+
36
+
*`service_principal_id` - The application's associated service principal identifier.
0 commit comments