For the complete documentation index, see llms.txt. This page is also available as Markdown.
Cortex CloudApplication Security

IAM User has access to the console misconfiguration detected in code

Rule Details

Cortex AppSec Rule ID

APPSEC2_AWS_22

Category - Subcategory

IAM - Overly Permissive

Provider

AWS

Severity

MEDIUM

Framework

Terraform, Terraform Plan

Impact

It is generally a good security practice to ensure that IAM users do not have access to the AWS Management Console. This can help to reduce the risk of unauthorized access to your AWS resources and prevent potential data breaches. By denying console access to IAM users, you can ensure that only authorized administrators have access to the console.

How to Fix

[source,go]

{ "resource "aws_iam_user" "pass" { name = "tech-user" }

resource "aws_iam_user_login_profile" "fail" { user = aws_iam_user.fail.name }

##not connected with pgp_key value", }

Last updated

Was this helpful?