Skip to content

Instantly share code, notes, and snippets.

View sozercan's full-sized avatar
:shipit:

Sertaç Özercan sozercan

:shipit:
View GitHub Profile
2021-10-20T16:25:12.458Z INFO Detected OS: debian
2021-10-20T16:25:12.458Z INFO Detecting Debian vulnerabilities...
2021-10-20T16:25:12.469Z INFO Number of language-specific files: 0
mcr.microsoft.com/oss/openservicemesh/osm-crds:v0.11.0 (debian 10.10)
=====================================================================
Total: 153 (UNKNOWN: 0, LOW: 111, MEDIUM: 16, HIGH: 22, CRITICAL: 4)
+------------------+------------------+----------+------------------------+----------------+--------------------------------------------------------------+
| LIBRARY | VULNERABILITY ID | SEVERITY | INSTALLED VERSION | FIXED VERSION | TITLE |
mcr.microsoft.com/oss/azure/aad-pod-identity/nmi:v1.8.4 (debian 10.10)
======================================================================
Total: 104 (UNKNOWN: 0, LOW: 74, MEDIUM: 9, HIGH: 17, CRITICAL: 4)
+---------------+------------------+----------+-------------------+---------------+-----------------------------------------+
| LIBRARY | VULNERABILITY ID | SEVERITY | INSTALLED VERSION | FIXED VERSION | TITLE |
+---------------+------------------+----------+-------------------+---------------+-----------------------------------------+
| apt | CVE-2011-3374 | LOW | 1.8.2.3 | | It was found that apt-key in apt, |
| | | | | | all versions, do not correctly... |
| | | | | | -->avd.aquasec.com/nvd/cve-2011-3374 |
sozercan/nmi:v0.0.0-dev (debian 11.0)
=====================================
Total: 64 (UNKNOWN: 0, LOW: 57, MEDIUM: 5, HIGH: 0, CRITICAL: 2)
+------------------+------------------+----------+-------------------+---------------+-----------------------------------------+
| LIBRARY | VULNERABILITY ID | SEVERITY | INSTALLED VERSION | FIXED VERSION | TITLE |
+------------------+------------------+----------+-------------------+---------------+-----------------------------------------+
| apt | CVE-2011-3374 | LOW | 2.2.4 | | It was found that apt-key in apt, |
| | | | | | all versions, do not correctly... |
| | | | | | -->avd.aquasec.com/nvd/cve-2011-3374 |
sozercan/nmi:v0.0.0-dev (debian 11.0)
=====================================
Total: 70 (UNKNOWN: 0, LOW: 12, MEDIUM: 29, HIGH: 24, CRITICAL: 5)
+------------------+------------------+----------+-------------------+------------------+-----------------------------------------+
| LIBRARY | VULNERABILITY ID | SEVERITY | INSTALLED VERSION | FIXED VERSION | TITLE |
+------------------+------------------+----------+-------------------+------------------+-----------------------------------------+
| apt | CVE-2011-3374 | LOW | 2.2.4 | | It was found that apt-key in apt, |
| | | | | | all versions, do not correctly... |
| | | | | | -->avd.aquasec.com/nvd/cve-2011-3374 |
mcr.microsoft.com/oss/azure/aad-pod-identity/nmi:v1.8.4 (debian 10.10)
======================================================================
Total: 108 (UNKNOWN: 0, LOW: 14, MEDIUM: 46, HIGH: 41, CRITICAL: 7)
+---------------+------------------+----------+-------------------+---------------+-----------------------------------------+
| LIBRARY | VULNERABILITY ID | SEVERITY | INSTALLED VERSION | FIXED VERSION | TITLE |
+---------------+------------------+----------+-------------------+---------------+-----------------------------------------+
| apt | CVE-2011-3374 | LOW | 1.8.2.3 | | It was found that apt-key in apt, |
| | | | | | all versions, do not correctly... |
| | | | | | -->avd.aquasec.com/nvd/cve-2011-3374 |
run:
deadline: 5m
linters:
disable-all: true
enable:
- deadcode
- errorlint
- goconst
- gocyclo
apiVersion: templates.gatekeeper.sh/v1beta1
kind: ConstraintTemplate
metadata:
name: k8sinvalidrego
spec:
crd:
spec:
names:
kind: K8sInvalidRego
targets:
apiVersion: templates.gatekeeper.sh/v1beta1
kind: ConstraintTemplate
metadata:
name: k8sdenyall
spec:
crd:
spec:
names:
kind: K8sDenyAll
targets:
apiVersion: v1
kind: Namespace
metadata:
labels:
admission.gatekeeper.sh/ignore: no-self-managing
control-plane: controller-manager
gatekeeper.sh/system: "yes"
name: gatekeeper-system
---
apiVersion: apiextensions.k8s.io/v1beta1
# HELP gatekeeper_constraint_template_ingestion_count Total number of constraint template ingestion actions
# TYPE gatekeeper_constraint_template_ingestion_count counter
gatekeeper_constraint_template_ingestion_count{status="active"} 207
# HELP gatekeeper_constraint_template_ingestion_duration_seconds Distribution of how long it took to ingest a constraint template in seconds
# TYPE gatekeeper_constraint_template_ingestion_duration_seconds histogram
gatekeeper_constraint_template_ingestion_duration_seconds_bucket{status="active",le="0.01"} 166
gatekeeper_constraint_template_ingestion_duration_seconds_bucket{status="active",le="0.02"} 172
gatekeeper_constraint_template_ingestion_duration_seconds_bucket{status="active",le="0.03"} 183
gatekeeper_constraint_template_ingestion_duration_seconds_bucket{status="active",le="0.04"} 195
gatekeeper_constraint_template_ingestion_duration_seconds_bucket{status="active",le="0.05"} 201