Skip to content
#

infrastructure-as-code

Here are 1,280 public repositories matching this topic...

krol3
krol3 commented Oct 18, 2021

Remove PodSecurityPolicy in the helm manifest

helm install trivy . --namespace trivy --create-namespace

W1018 19:47:44.637292   21571 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
W1018 19:47:44.745250   21571 warnings.go:70] policy/v1beta1 PodSecurityPolicy is de
GaalDornick
GaalDornick commented Nov 3, 2021

What is the problem?

Triggerring a Lambda from Kinesis requires permissions to GetRecords, GetShardIterator, DescribeStream, ListShards, and ListStreams Actions.

However, Stream.grantRead adds DescribeStreamSummary, GetRecords, GetShardIterator, ListShards, SubscribeToShard permissions

Reproduction Steps

const myRole = new Role(
          this,
          `MyLambdaRole`,
  
infracost
terrascan
adegoodyer
adegoodyer commented Aug 11, 2021
  • terrascan version: 1.9.0
  • terraform version: 1.0.1

Enhancement Request

Other security scanning tools (e.g. checkov and tfsec) have a --soft-fail flag or equivalent option that allows you to always exit with 0 status.

Extremely useful when running the tool without halting a pipeline for example.

I currently use a workaround, but something more concrete would be very desira

anguslees
anguslees commented Mar 21, 2018

Garbage collection works by listing everything with the gc-tag. In a busy cluster, we really want that filter to happen server-side and ideally using an index of some sort.

That means we should use a Kubernetes label, not an annotation.

I think this will require a two-step migration plan (write both but continue to read annotation; release; drop support for annotation; release).

Improve this page

Add a description, image, and links to the infrastructure-as-code topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the infrastructure-as-code topic, visit your repo's landing page and select "manage topics."

Learn more