@qpoint/dlp
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

qpoint-dlp

A Qpoint adapter for detecting and optionally scrubbing content from externally traveling API calls.

Usage

import { Context, Endpoint } from '@qpoint/endpoint';
import processDLP from '@qpoint/dlp';

export default new Endpoint()
  .use(processDLP({
    rules: [
      {
        label: 'CREDIT CARD NUMBER',
        expression: /\b(?:\d[ -\.]*?){13,16}\b/g,
        scrub: true,
        report: true,
        record: true,
        failOnDetect: false,
      }
    ],
  }));

Installation

npm add @qpoint/dlp

Readme

Keywords

none

Package Sidebar

Install

npm i @qpoint/dlp

Weekly Downloads

2

Version

0.0.3

License

Apache-2.0

Unpacked Size

31.4 kB

Total Files

9

Last publish

Collaborators

  • jonfriesen
  • marc-barry
  • tylerflint