Severity discrepancy between autoscaling_group_launch_configuration_requires_imdsv2
and ec2_instance_imdsv2_enabled
#5932
Labels
Steps to Reproduce
Heyho! We recently updated from
4.4.0
to4.5.3
. One of the new checks isautoscaling_group_launch_configuration_requires_imdsv2
, which fails for a few resources. We do alert onCritical
andHigh
severity, that is mainly why it was brought to my attention.The mentioned check is referring to autoscaling groups specifically rather than EC2 instances that are currently running.
That means there are currently two checks that would test the MetaData configuration for EC2 instances.
Question:
Why is
autoscaling_group_launch_configuration_requires_imdsv2
of severityHigh
whileec2_instance_imdsv2_enable
is set to medium?Here's the output of
prowler aws --list-checks | grep imds
, maybe it helps (ignoreec2_instance_account_imdsv2_enabled
for this discussion):Second question:
Is it possible to set a custom severity to a check? I couldn't find a "simple" solution to this in the docs. It's not worth the effort to create a dedicated customized check out of it.. 😅
Expected behavior
Both
ec2_instance_imdsv2_enabled
andec2_instance_account_imdsv2_enabled
have the same severity.Actual Result with Screenshots or Logs
NA
How did you install Prowler?
Cloning the repository from github.com (git clone)
Environment Resource
OS used
Alpine Linux
Prowler version
Prowler 4.5.3
Pip version
pip 24.2 from /usr/local/lib/python3.12/site-packages/pip (python 3.12)
Context
No response
The text was updated successfully, but these errors were encountered: