Skip to content
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

terrascan not able to get administrative privileges #1628

Open
aman10592 opened this issue Oct 19, 2023 · 0 comments
Open

terrascan not able to get administrative privileges #1628

aman10592 opened this issue Oct 19, 2023 · 0 comments

Comments

@aman10592
Copy link

aman10592 commented Oct 19, 2023

terrascan version
version: v1.18.3

  • Operating System:
    Windows

Description

I added AWS Administrative Policy(which is required by me) to terrascan run and I found that is not included in scanning severities.

Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.
I added one of the AWS Managed Administrative policy to my code(although this is required one) and run that code with terrascan, it didn't show up the administrative privileges

What I Did

Added this policy: arn:aws:iam::aws:policy/AdministratorAccess to the role an run terrascan on role template for terraform

Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.
terrascan init
terrascan scan

Violation Details -

    Description    :        Ensure that detailed monitoring is enabled for EC2 instances.
    File           :        xxxxx
    Module Name    :        xxxxx
    Plan Root      :        .\
    Line           :        3
    Severity       :        HIGH
    -----------------------------------------------------------------------

    Description    :        Ensure Security Groups Unrestricted Specific Ports Knowninternalwebpor
    File           :        main.tf
    Module Name    :        root
    Plan Root      :        .\
    Line           :        33
    Severity       :        LOW
    -----------------------------------------------------------------------

    Description    :        Ensure Security Groups Unrestricted Specific Ports Knowninternalwebpor
    File           :        main.tf
    Module Name    :        root
    Plan Root      :        .\
    Line           :        33
    Severity       :        LOW
    -----------------------------------------------------------------------

    Description    :        Ensure Security Groups Unrestricted Specific Ports Knowninternalwebpor
    File           :        main.tf
    Module Name    :        root
    Plan Root      :        .\
    Line           :        33
    Severity       :        LOW
    -----------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant