Giter VIP home page Giter VIP logo

nifi's Introduction

OpenTDF NiFi

Integration of the OpenTDF Platform into NiFi

Components:

  • "Zero Trust Data Format" (ZTDF) Processors:

    • ConvertToZTDF: A NiFi processor that converts FlowFile content to ZTDF format. Does not currently support assertions
    • ConvertFromZTDF: A NiFi processor that converts ZTDF formatted FlowFile content to it's plaintext representation
  • NanoTDF Processors (See NanoTDF Specification):

    • ConvertToNanoTDF: A NiFi processor that converts FlowFile content to NanoTDF format. Does not currently support assertions
    • ConvertFromNanoTDF: A NiFi processor that converts NanoTDF formatted FlowFile content to it's plaintext representation
  • Controller Services:

Using a custom TrustStore

Communicating over TLS with self-signed or other untrusted certs can be configured using NiFi's standard SSL Context Service and then wired into the processors by setting their respective SSL Context Service properties to use a configured SSL Context Service.

Example

See An Sample NiFi FlowFile Template using ZTDF/NanoTDF Processors

Upload and use this template in NiFi:

  • Configure the OpenTDFControllerService properties
    • set then OpenTDF compliant endpoint
    • set OIDC Client credentials (client id and client secret)
    • set the data policy (UpdateAttribute Processor)
    • set the KAS URL: ConvertToZTDF , ConvertToNanoTDF processors

FlowChart: Generic ZTDF Nifi Flows

diagram

FlowChart: Generic NanoTDF NiFi Flows

diagram

Quick Start - Docker Compose

  1. Build the NiFi Archives (NARs) and place in the docker compose mounted volumes. The opentd java-sdk is currently hosted on github's maven package repository, so github credentials are required to perform a maven build.

    export GITHUB_ACTOR=your gh username
    export GITHUB_TOKEN=your gh token
    make compose-package
  2. Start docker compose

    docker compose up
  3. Log into NiFi

nifi's People

Contributors

opentdf-atlantis-terraform[bot] avatar opentdf-automation[bot] avatar ttschampel avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nifi's Issues

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.