The documentation includes general guidance on adding coding rules, including which languages support adding custom rules, and general guidance on how to go about it.
If the docs don’t answer your question, please tell us:
- What language are you writing rules for? Kubernetes(.yaml Files)
- What have you tried, and what’s your challenge / stumbling block : yes
SonarQube Community Edition( 10.4.1.88267) is not able to detect Allowing process privilege escalations is security-sensitive
I tried on the below deployment file, and we are unable to detect Privilege escalation issue through SonarQube Community Version
Please share the relevant code snippet, along with any error messages you’re encountering:
apiVersion: v1
kind: Pod
metadata:
name: example
spec:
containers:
- name: web
image: nginx
ports:
- name: web
containerPort: 80
protocol: TCP
securityContext:
allowPrivilegeEscalation: true