Skip to main content

🔌 AWS EBS Snapshot - object.extracts.yaml

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

Used In

LogicPolicyFlags
🧠 prod.logic.yaml🟢🛡️ AWS EBS Snapshot is 90 days old or more🟠🟢🟢 x3
🧠 prod.logic.yaml🟢🛡️ AWS EBS Snapshot is not encrypted🟢🟢 x3
🧠 prod.logic.yaml🟢🛡️ AWS EBS Snapshot is publicly accessible🟢🟢 x3

Content

Open File

# yaml-language-server: $schema=../../schema/Extracts.schema.json
---
extracts:
# Values: Yea | No. Nullable null is equal to No.
- name: CA10__publicAccessible__c
value:
FIELD:
path: CA10__publicAccessible__c
# undeterminedIf:
# noAccessDelegate:
# path: "CA10__publicAccessible__c"
# currentStateMessage: "Unable to determined Public Access. Possible Permissions issues with ec2:DescribeSnapshotAttribute."
# Not Nullable. Can't have no access retrieved via ec2:DescribeSnapshots.
- name: "CA10__startTime__c"
value:
FIELD:
path: "CA10__startTime__c"
undeterminedIf:
isEmpty: "Corrupted data. Snapshot Start Time cannot be empty."
# Values: pending | completed | error | recoverable | recovering
# Not Nullable. Can't have no access retrieved via ec2:DescribeSnapshots.
- name: "CA10__state__c"
value:
FIELD:
path: "CA10__state__c"
undeterminedIf:
isEmpty: "Corrupted data. Snapshot Start Time cannot be empty."
# Not Nullable.
- name: "CA10__encrypted__c"
value:
FIELD:
path: "CA10__encrypted__c"
undeterminedIf:
isEmpty: "Corrupted data. Snapshot `Encrypted` state cannot be empty."