mcp-server-semgrep
Version:
MCP Server for Semgrep Integration - static code analysis with AI
27 lines (26 loc) • 713 B
YAML
apiVersion: v1
kind: Pod
spec:
containers:
# ruleid: allow-privilege-escalation-no-securitycontext
- securityContext:
allowPrivilegeEscalation: false
name: nginx
image: nginx
# ok: allow-privilege-escalation-no-securitycontext
- name: postgres
image: postgres
securityContext:
runAsUser: 1000
runAsGroup: 3000
fsGroup: 2000
# ok: allow-privilege-escalation-no-securitycontext
- name: redis
image: redis
securityContext:
allowPrivilegeEscalation: true
# ok: allow-privilege-escalation-no-securitycontext
- name: haproxy
image: haproxy
securityContext:
allowPrivilegeEscalation: false