GithubHelp home page GithubHelp logo

istio-security-analyzer's Introduction

Istio Security Analyzer

This is a tool to analyze Istio security. Roughly the tool covers two aspects

  1. Ensure configuration adhering to Istio Security Best Practice.
  2. Checks the running Istio version to see if has any known CVE issues.

Get Started

Install Istio

Install Istio 1.12.1. We choose this specific version so that we can demo how CVE detection works.

curl -L https://git.io/getLatestIstio | ISTIO_VERSION=1.12.1 sh
pushd istio-1.12.1
./bin/istioctl install --set profile=demo -y

Apply some sample configuration. To illustrate, we provide some sample problematic configuration.

kubectl apply -f ./pkg/parser/testdata/

Check Basics

Now let's just run the tool without any configuration.

scanner

You will see some report as below. In this report, we identified a few issues.

  • Reminds you that you can harden your Istio deployment via using hardened distroless image.
  • Reports security vunerabilities found for Istio 1.12.1. For example, Istio-security-2022-004 means unauthenticated request to Istiod control plane can make Istiod crash by exhausting its memory.
  • Config Warnings section reminds you that the cluster does not have k8s RBAC to control who can create Istio gateway resource.
==========================================
    Istio Security Scanning Report

Control Plane Version
- 1.12.1

Distroless Warning
- pod istio-egressgateway-687f4db598-rn5hs can use a distroless image for better security, current docker.io/istio/proxyv2:1.12.1

CVE Report
- ISTIO-SECURITY-2022-004
- ISTIO-SECURITY-2022-003
- ISTIO-SECURITY-2022-001
- ISTIO-SECURITY-2022-002

Config Warnings
- failed to find cluster role and role bindings to control istio gateway creation

Config Scanning

TODO(incfly): more on the config issue pattern detection.

istio-security-analyzer's People

Contributors

incfly avatar dio avatar morepork avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.