-
Notifications
You must be signed in to change notification settings - Fork 605
[New Rule][Deprecation] AWS EC2 Export Task Rules #5248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
imays11
wants to merge
2
commits into
main
Choose a base branch
from
aws_ec2_export_task_rules
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
**AWS EC2 VM Export Failure** Starting Deprecation process for this rule. I cannot see the value in alerting on a failed VM export attempt. This is rare behavior in general but failed attempts don't warrant an alert especially considering we have no coverage for an actual successful VM Export. This rule has had no alerts in telemetry, I've seen no hits in prod data either. VM exports have a very specific use-case, they can be used to create VM image files that can be downloaded and used to run a VM locally. Successful exports warrant an alert. **AWS EC2 Export Task** This new rule is meant to fill the previously mentioned gap regarding successful VM exports. But also includes other forms of EC2 export tasks. `CreateImageExportTask` `ExportImage` `CreateStoreImageTask`
adding highlighted fields
Rule: New - GuidelinesThese guidelines serve as a reminder set of considerations when proposing a new rule. Documentation and Context
Rule Metadata Checks
New BBR Rules
Testing and Validation
|
| language = "kuery" | ||
| license = "Elastic License v2" | ||
| name = "AWS EC2 VM Export Failure" | ||
| name = "Deprecate - AWS EC2 VM Export Failure" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deprecate - --> Deprecated -
terrancedejesus
approved these changes
Oct 27, 2025
Aegrah
approved these changes
Oct 30, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backport: auto
Domain: Cloud
Integration: AWS
AWS related rules
Rule: Deprecation
removal of a rule
Rule: New
Proposal for new rule
Team: TRADE
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request
Issue link(s):
Summary - What I changed
Deprecate - AWS EC2 VM Export Failure
Starting Deprecation process for this rule. I cannot see the value in alerting on a failed VM export attempt. This is rare behavior in general but failed attempts don't warrant an alert especially considering we have no coverage for an actual successful VM Export. This rule has had no alerts in telemetry, I've seen no hits in prod data either. VM exports have a very specific use-case, they can be used to create VM image files that can be downloaded and used to run a VM locally. Successful exports warrant an alert.
New Rule - AWS EC2 Export Task
This new rule is meant to fill the previously mentioned gap regarding successful VM exports. But also includes other forms of EC2 export tasks:
CreateImageExportTask,ExportImage,CreateStoreImageTaskThreat rationale
These APIs are uncommon in day-to-day operations, so successful events (not failures) are higher-signal behaviors that should be investigated. Successful exports create portable images of systems and data, enabling:
Definitions
What’s being exported (and why it matters)
CreateInstanceExportTask) refProduces an OVA/VMDK runnable outside AWS. Effectively lifting a full server image (OS, apps, configs, sometimes data).
ExportImage) refExfiltrates a bootable image built from EBS snapshots for reuse or offline analysis elsewhere.
CreateStoreImageTask) refStores the AMI as an S3 object that can be copied out of the account/partition.
How To Test
This script will trigger
ExportImageandCreateStoreImageTaskby default. However,CreateInstanceExportTaskonly succeeds for instances that originated from an imported VM image so I was not able to test this API call explicitly.Screenshot Working Query