Giter Club home page Giter Club logo

dlp-filter-for-envoy's Introduction

Cloud DLP Filter for Envoy

Overview

Cloud DLP Filter for Envoy is a WebAssembly ("Wasm") HTTP filter for Envoy sidecar proxies inside an Istio service mesh. DLP Filter for Envoy captures proxy data plane traffic and sends it for inspection to Cloud DLP, where the payload is scanned for sensitive data, including PII.

DLP Filter for Envoy works with Istio, and uses the envoy-wasm fork of the envoyproxy repository. Because the Wasm Application Binary Interface (ABI) is not yet stabilized, DLP Filter is likely to break between Istio minor version updates.

Note: DLP Filter for Envoy uses the Cloud DLP service for scanning traffic, and is subject to Cloud DLP pricing.

For a quick overview of how to use Cloud DLP in a service mesh using the DLP Filter for Envoy, watch the following video:

Using Cloud DLP in a service mesh

Before you begin

Before building the DLP Filter for Envoy, ensure the following components are installed:

  • Bazel (For installation instructions, see Installing Bazel on the Bazel website.)

Build

To build the proxy container with DLP Filter for Envoy, do the following:

Build the filter

First, compile the DLP Filter for Envoy in the plugin/ folder:

( cd plugin/ && bazel build :filter.wasm )

The built DLP Filter will be here:

plugin/bazel-bin/filter.wasm

Run tests on the filter you just built:

bazel test //test/plugin/... && ./run_integ_tests.sh

Build the proxy image

Build the proxy image with the filter by running the following command:

bazel run //container:dlp_proxy

The proxy image is installed in the local container image repository with the following name and tag: bazel/container:dlp_proxy.

You can verify installation by running the following command:

docker images | grep dlp_proxy

This produces output similar to below:

bazel/container                              dlp_proxy                      a56a854415c5        50 years ago        306MB

Use DLP Filter for Envoy

For information about how to start using DLP Filter for Envoy quickly, see the following quickstart:

Contributing

See docs/contributing.md.

Feedback

To send us feedback about the DLP Filter or Cloud DLP, please contact us through the Cloud DLP support page.

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.