---
extracts:
- name: "CA10__multiRegionTrail__c"
value:
FIELD:
path: "CA10__multiRegionTrail__c"
- name: "CA10__isLogging__c"
value:
FIELD:
path: "CA10__isLogging__c"
undeterminedIf:
noAccessDelegate:
path: "CA10__isLogging__c"
currentStateMessage: "Unable to determine Logging status. Possible permission issue with cloudtrail:GetTrailStatus."
- name: "CA10__logFileValidationEnabled__c"
value:
FIELD:
path: "CA10__logFileValidationEnabled__c"
- name: "CA10__eventSelectorsJson__c"
value:
FIELD:
path: "CA10__eventSelectorsJson__c"
returnType: BYTES
undeterminedIf:
noAccessDelegate:
path: "CA10__eventSelectorsJson__c"
currentStateMessage: "Unable to determine Logging status. Possible permission issue with cloudtrail:GetEventSelectors."
- name: "caJsonFrom__eventSelectorsJson__c"
value:
JSON_FROM:
arg:
EXTRACT: "CA10__eventSelectorsJson__c"
undeterminedIf:
isInvalid: "Provided CloudTrail Event Selector has invalid JSON."
- name: "caJsonText__eventSelectorsJson_readWriteType__c"
value:
JSON_QUERY_TEXT:
arg:
EXTRACT: "caJsonFrom__eventSelectorsJson__c"
expression: "[*].readWriteType | [0]"
undeterminedIf:
evaluationError: "The JSON text query has failed."
resultTypeMismatch: "The JSON query did not return a text type."
- name: "caJsonBoolean__eventSelectorsJson_includeManagementEvents__c"
value:
JSON_QUERY_BOOLEAN:
arg:
EXTRACT: "caJsonFrom__eventSelectorsJson__c"
expression: "[*].includeManagementEvents | [0]"
undeterminedIf:
evaluationError: "The JSON boolean query has failed."
resultTypeMismatch: "The JSON query did not return a boolean type."
- name: "CA10__kmsKey__c"
value:
FIELD:
path: "CA10__kmsKey__c"