0.0.3 • Published 1 year ago

@qpoint/dlp v0.0.3

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
1 year ago

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
0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago