From 6502f7b1b03fad2ea33cee2c00f99bd5b89ebfac Mon Sep 17 00:00:00 2001 From: Abdulla Abdurakhmanov Date: Sun, 4 Aug 2024 13:52:33 +0200 Subject: [PATCH] Initial readme --- .github/workflows/tests.yml | 2 +- README.md | 48 +++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 README.md diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 59b035b..04a6dce 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -41,5 +41,5 @@ jobs: run: cargo test if: github.ref != 'refs/heads/master' - name: 'Run all test' - run: cargo test --features "ci" + run: cargo test --features "ci-gcp" if: github.ref == 'refs/heads/master' diff --git a/README.md b/README.md new file mode 100644 index 0000000..08984b4 --- /dev/null +++ b/README.md @@ -0,0 +1,48 @@ +[![Cargo](https://img.shields.io/crates/v/redacter.svg)](https://crates.io/crates/redacter) +![tests and formatting](https://github.com/abdolence/redacter-rs/workflows/tests%20&%20formatting/badge.svg) +![security audit](https://github.com/abdolence/redacter-rs/workflows/security%20audit/badge.svg) + +# Redacter + +Copy & Redact cli tool to securely copy and redact files across various sources and destinations, +utilizing Data Loss Prevention (DLP) capabilities. + +## Features + +* **Copy & Redact:** copy files while applying DLP redaction to protect sensitive information. +* **Multiple Sources & Destinations:** interact with: + * Local filesystem + * Google Cloud Storage (GCS) + * Amazon Simple Storage Service (S3) + * Zip files +* **GCP DLP Integration:** Leverage the power of GCP's DLP API for accurate and customizable redaction. +* **CLI:** Easy-to-use command-line interface for streamlined workflows. +* Built with Rust to ensure speed, safety, and reliability. + +## Installation + +**Cargo:** + +```sh +cargo install redacter +``` + +## Command line options + +TBD + +## Google authentication + +Looks for credentials in the following places, preferring the first location found: + +- A JSON file whose path is specified by the GOOGLE_APPLICATION_CREDENTIALS environment variable. +- A JSON file in a location known to the gcloud command-line tool using `gcloud auth application-default login`. +- On Google Compute Engine, it fetches credentials from the metadata server. + +## Licence + +Apache Software License (ASL) + +## Author + +Abdulla Abdurakhmanov