Skip to main content

🔌 Azure Key Vault Certificate - object.extracts.yaml

  • Contextual name: 🔌 object.extracts.yaml
  • ID: /types/CA10Z1__CaAzureKeyVaultCertificate__c/object.extracts.yaml

Used In

LogicPolicyFlags
🧠 prod.logic.yaml🟢🛡️ Azure Key Vault Certificate Validity Period (in months) is more than 12🟢🟢 x3

Content

Open File

---
extracts:
# Nullable. Text.
- name: "CA10Z1__policyX509CertificateProperties__c"
value:
FIELD:
path: "CA10Z1__policyX509CertificateProperties__c"
returnType: BYTES
# Nullable.
- name: "caJsonFrom__policyX509CertificateProperties__c"
value:
JSON_FROM:
arg:
EXTRACT: "CA10Z1__policyX509CertificateProperties__c"
undeterminedIf:
isInvalid: "Extensions JSON is invalid"
# Number. Validity Period (in months)
- name: "caJsonNumber__policyX509CertificatePropertiesValidityInMonths__c"
value:
JSON_QUERY_NUMBER:
arg:
EXTRACT: "caJsonFrom__policyX509CertificateProperties__c"
expression: "validityInMonths"
undeterminedIf:
evaluationError: "The JSON query has failed."
resultTypeMismatch: "The JSON query did not return a number type."