name: AWS Detect Users with KMS keys performing encryption S3 Unit Test
tests:
- name: AWS Detect Users with KMS keys performing encryption S3
  file: cloud/aws_detect_users_with_kms_keys_performing_encryption_s3.yml
  pass_condition: '| stats count | where count > 0'
  earliest_time: '-24h'
  latest_time: 'now'
  attack_data:
  - file_name: aws_cloudtrail_events.json
    data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1486/s3_file_encryption/aws_cloudtrail_events.json
    sourcetype: aws:cloudtrail
    source: aws_cloudtrail
    update_timestamp: True
