vw_certificate_profiles
Creates, updates, deletes, gets or lists a vw_certificate_profiles
resource.
Overview
Name | vw_certificate_profiles |
Type | View |
Id | azure_extras.code_signing.vw_certificate_profiles |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
JSON_EXTRACT(properties, '$.profileType') as "profile_type",
JSON_EXTRACT(properties, '$.commonName') as "common_name",
JSON_EXTRACT(properties, '$.organization') as "organization",
JSON_EXTRACT(properties, '$.organizationUnit') as "organization_unit",
JSON_EXTRACT(properties, '$.streetAddress') as "street_address",
JSON_EXTRACT(properties, '$.includeStreetAddress') as "include_street_address",
JSON_EXTRACT(properties, '$.city') as "city",
JSON_EXTRACT(properties, '$.includeCity') as "include_city",
JSON_EXTRACT(properties, '$.state') as "state",
JSON_EXTRACT(properties, '$.includeState') as "include_state",
JSON_EXTRACT(properties, '$.country') as "country",
JSON_EXTRACT(properties, '$.includeCountry') as "include_country",
JSON_EXTRACT(properties, '$.postalCode') as "postal_code",
JSON_EXTRACT(properties, '$.includePostalCode') as "include_postal_code",
JSON_EXTRACT(properties, '$.enhancedKeyUsage') as "enhanced_key_usage",
JSON_EXTRACT(properties, '$.identityValidationId') as "identity_validation_id",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.status') as "status",
JSON_EXTRACT(properties, '$.certificates') as "certificates",
subscriptionId,
resourceGroupName,
accountName,
profileName
FROM azure_extras.code_signing.certificate_profiles
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND accountName = 'replace-me';
SELECT
json_extract_path_text(properties, '$.profileType') as "profile_type",
json_extract_path_text(properties, '$.commonName') as "common_name",
json_extract_path_text(properties, '$.organization') as "organization",
json_extract_path_text(properties, '$.organizationUnit') as "organization_unit",
json_extract_path_text(properties, '$.streetAddress') as "street_address",
json_extract_path_text(properties, '$.includeStreetAddress') as "include_street_address",
json_extract_path_text(properties, '$.city') as "city",
json_extract_path_text(properties, '$.includeCity') as "include_city",
json_extract_path_text(properties, '$.state') as "state",
json_extract_path_text(properties, '$.includeState') as "include_state",
json_extract_path_text(properties, '$.country') as "country",
json_extract_path_text(properties, '$.includeCountry') as "include_country",
json_extract_path_text(properties, '$.postalCode') as "postal_code",
json_extract_path_text(properties, '$.includePostalCode') as "include_postal_code",
json_extract_path_text(properties, '$.enhancedKeyUsage') as "enhanced_key_usage",
json_extract_path_text(properties, '$.identityValidationId') as "identity_validation_id",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.status') as "status",
json_extract_path_text(properties, '$.certificates') as "certificates",
subscriptionId,
resourceGroupName,
accountName,
profileName
FROM azure_extras.code_signing.certificate_profiles
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND accountName = 'replace-me';