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

Glacier Vault access policy is public and not restricted to specific services or principals misconfi

Rule Details

Cortex AppSec Rule ID

APPSEC_AWS_167

Category - Subcategory

IAM - Overly Permissive

Provider

AWS

Severity

MEDIUM

Framework

Terraform, Terraform Plan

Impact

It is generally a best practice to restrict access to Amazon S3 Glacier vaults to only the specific services or principals that require access. This can help to reduce the risk of unauthorized access to the data stored in your vaults and protect against potential data breaches.

How to Fix

Resource: aws_glacier_vault

  • Arguments: Statement [source,go]


resource "aws_glacier_vault" "my_archive1" { ... access_policy = <<EOF { "Version":"2012-10-17", "Statement":[ { "Sid": "add-read-only-perm", "Principal": "*",

  • "Effect": "Deny", "Action": [ "glacier:InitiateJob", "glacier:GetJobOutput" ], "Resource": "arn:aws:glacier:eu-west-1:432981146916:vaults/MyArchive" } ] } }


Last updated

Was this helpful?