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

Guard duty findings generation #40

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions security/envs/dev/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v1
appVersion: "1.0"
name: dev-security-ebs-encryption
description: App of apps chart for the dev EKS environment using security best practices.
name: dev-security
description: App of apps chart for the dev EKS environment using security best practices
version: 0.1.0
23 changes: 23 additions & 0 deletions security/envs/dev/templates/team-danger.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: team-danger
namespace: argocd
labels:
{{- toYaml .Values.labels | nindent 4 }}
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: danger
server: {{ .Values.spec.destination.server }}
project: default
source:
path: teams/team-danger/dev
repoURL: {{ .Values.spec.source.repoURL }}
targetRevision: {{ .Values.spec.source.targetRevision }}
syncPolicy:
automated:
prune: true
syncOptions:
- CreateNamespace=true
5 changes: 5 additions & 0 deletions teams/team-danger/dev/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: v1
appVersion: "1.0"
name: team-danger-dev
description: Team Danger applications for the Dev environment.
version: 0.1.0
13 changes: 13 additions & 0 deletions teams/team-danger/dev/templates/privileged-pod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# This is a privileged pod that can be used to test Guard Duty findings generation
apiVersion: v1
kind: Pod
metadata:
name: privileged-pod
spec:
containers:
- name: app
image: centos
command: ["/bin/sh"]
args: ["-c", "sleep 999"]
securityContext:
privileged: true
9 changes: 9 additions & 0 deletions teams/team-danger/dev/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
labels:
env: dev
team: danger
spec:
env:
ingress:
host:
region:
type: alb