name: Abnormally High Number of Cloud Instances Launched Unit Test
tests:
- name: Abnormally High Number of Cloud Instances Launched
  file: experimental/cloud/abnormally_high_cloud_instances_launched.yml
  pass_condition: '| stats count | where count > 0'
  earliest_time: '-24h'
  latest_time: 'now'
  baselines:
  - name: Baseline Of Cloud Instances Launched
    file: baselines/baseline_of_cloud_instances_launched.yml
    pass_condition: '| stats count | where count > 0'
    earliest_time: '-30d'
    latest_time: '-1d'
  attack_data:
  - file_name: cloudtrail_behavioural_detections.json
    data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/suspicious_behaviour/abnormally_high_cloud_instances_launched/cloudtrail_behavioural_detections.json
    sourcetype: aws:cloudtrail
    source: aws_cloudtrail
    update_timestamp: True
