mcp-server-semgrep
Version:
MCP Server for Semgrep Integration - static code analysis with AI
25 lines (24 loc) • 650 B
YAML
apiVersion: v1
kind: Pod
spec:
containers:
# ruleid: allow-privilege-escalation-no-securitycontext
- 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