diff --git a/argocd-apps/projects.yaml b/argocd-apps/projects.yaml index b7244b5..72bf973 100644 --- a/argocd-apps/projects.yaml +++ b/argocd-apps/projects.yaml @@ -49,8 +49,6 @@ spec: server: https://kubernetes.default.svc - namespace: istio-system server: https://kubernetes.default.svc - - namespace: nessus - server: https://kubernetes.default.svc - namespace: authentik server: https://kubernetes.default.svc clusterResourceWhitelist: diff --git a/infrastructure/authentik/forward-auth-blueprint.yaml b/infrastructure/authentik/forward-auth-blueprint.yaml index 74a63ed..427eb62 100644 --- a/infrastructure/authentik/forward-auth-blueprint.yaml +++ b/infrastructure/authentik/forward-auth-blueprint.yaml @@ -6,7 +6,7 @@ # endpoint to authenticate requests to protected services. # # Services protected by this provider: -# - Prometheus, Ceph Dashboard, TeslaMate, ESPHome, Frigate, Kiali, Nessus, Netbird +# - Prometheus, Ceph Dashboard, TeslaMate, ESPHome, Frigate, Kiali, Netbird # # Services with native OIDC are NOT included here (they handle auth themselves): # - GitLab, ArgoCD, Grafana, n8n, Home Assistant, Rancher, Nextcloud diff --git a/infrastructure/istio/manifests/apps/authorization-policies-apps.yaml b/infrastructure/istio/manifests/apps/authorization-policies-apps.yaml index 372809f..60e3ad0 100644 --- a/infrastructure/istio/manifests/apps/authorization-policies-apps.yaml +++ b/infrastructure/istio/manifests/apps/authorization-policies-apps.yaml @@ -273,30 +273,6 @@ spec: ipBlocks: - "10.244.0.0/16" ---- -# --- Nessus: Allow ingress + Prometheus + intra-namespace --- -apiVersion: security.istio.io/v1 -kind: AuthorizationPolicy -metadata: - name: allow-nessus-access - namespace: nessus -spec: - action: ALLOW - rules: - # Intra-namespace - - from: - - source: - namespaces: - - nessus - - from: - - source: - namespaces: - - istio-system - - from: - - source: - namespaces: - - prometheus - --- # --- Rancher: Allow ingress + Prometheus + intra-namespace --- apiVersion: security.istio.io/v1 diff --git a/infrastructure/istio/manifests/apps/namespace-enrollment-job.yaml b/infrastructure/istio/manifests/apps/namespace-enrollment-job.yaml index 18c3570..b064f3a 100644 --- a/infrastructure/istio/manifests/apps/namespace-enrollment-job.yaml +++ b/infrastructure/istio/manifests/apps/namespace-enrollment-job.yaml @@ -25,7 +25,7 @@ spec: echo "=== Enrolling app namespaces in Istio ambient mesh ===" # Enroll app namespaces in ambient mesh - APP_NAMESPACES=(argocd gitlab n8n nextcloud teslamate home-assistant frigate guacamole nessus cattle-system) + APP_NAMESPACES=(argocd gitlab n8n nextcloud teslamate home-assistant frigate guacamole cattle-system) for ns in "${APP_NAMESPACES[@]}"; do echo "Enrolling $ns in ambient mesh..." kubectl label namespace "$ns" istio.io/dataplane-mode=ambient --overwrite 2>/dev/null || true @@ -34,7 +34,7 @@ spec: # Attach waypoint proxies for L7 policy enforcement echo "Attaching waypoint proxies to app namespaces..." - WAYPOINT_APP_NAMESPACES=(argocd gitlab n8n nextcloud teslamate home-assistant frigate guacamole nessus) + WAYPOINT_APP_NAMESPACES=(argocd gitlab n8n nextcloud teslamate home-assistant frigate guacamole) for ns in "${WAYPOINT_APP_NAMESPACES[@]}"; do kubectl label namespace "$ns" istio.io/use-waypoint=waypoint --overwrite 2>/dev/null || true done diff --git a/infrastructure/istio/manifests/edge/edge.yaml b/infrastructure/istio/manifests/edge/edge.yaml index 94cc5a4..6392c31 100644 --- a/infrastructure/istio/manifests/edge/edge.yaml +++ b/infrastructure/istio/manifests/edge/edge.yaml @@ -31,7 +31,6 @@ spec: - everest.kube.huskypup.net - rancher.kube.huskypup.net - netbird.kube.huskypup.net - - nessus.kube.huskypup.net - scylla-manager.kube.huskypup.net --- @@ -71,7 +70,6 @@ spec: - everest.kube.huskypup.net - rancher.kube.huskypup.net - netbird.kube.huskypup.net - - nessus.kube.huskypup.net - scylla-manager.kube.huskypup.net tls: mode: SIMPLE diff --git a/infrastructure/istio/manifests/mesh/ext-authz-policies.yaml b/infrastructure/istio/manifests/mesh/ext-authz-policies.yaml index 1281cd1..8c59ea6 100644 --- a/infrastructure/istio/manifests/mesh/ext-authz-policies.yaml +++ b/infrastructure/istio/manifests/mesh/ext-authz-policies.yaml @@ -119,21 +119,3 @@ spec: - operation: hosts: - scylla-manager.kube.huskypup.net ---- -# --- Nessus: Require Authentik auth --- -# NOTE: Namespace 'nessus' must exist before applying this policy. -# This policy will be skipped if the namespace doesn't exist yet. -apiVersion: security.istio.io/v1 -kind: AuthorizationPolicy -metadata: - name: ext-authz-nessus - namespace: nessus -spec: - action: CUSTOM - provider: - name: authentik-ext-authz - rules: - - to: - - operation: - hosts: - - nessus.kube.huskypup.net diff --git a/infrastructure/istio/manifests/mesh/waypoint-gateways.yaml b/infrastructure/istio/manifests/mesh/waypoint-gateways.yaml index 08aded7..e31ae19 100644 --- a/infrastructure/istio/manifests/mesh/waypoint-gateways.yaml +++ b/infrastructure/istio/manifests/mesh/waypoint-gateways.yaml @@ -238,20 +238,6 @@ spec: --- apiVersion: gateway.networking.k8s.io/v1 kind: Gateway -metadata: - name: waypoint - namespace: nessus - labels: - istio.io/waypoint-for: service -spec: - gatewayClassName: istio-waypoint - listeners: - - name: mesh - port: 15008 - protocol: HBONE ---- -apiVersion: gateway.networking.k8s.io/v1 -kind: Gateway metadata: name: waypoint namespace: crowdsec diff --git a/infrastructure/kyverno/policies/disallow-automount-sa-token.yaml b/infrastructure/kyverno/policies/disallow-automount-sa-token.yaml index 2374ff2..18d8ec3 100644 --- a/infrastructure/kyverno/policies/disallow-automount-sa-token.yaml +++ b/infrastructure/kyverno/policies/disallow-automount-sa-token.yaml @@ -59,7 +59,6 @@ spec: - authentik - checkov - n8n - - nessus validate: allowExistingViolations: true message: >-