haystack-secrets-commons

This module contains common code for Haystack modules that detect and mask PCI and PII data; it also contains code that facilitates writing Kafka Streams applications.

License

License

GroupId

GroupId

com.expedia.www
ArtifactId

ArtifactId

haystack-secrets-commons
Last Version

Last Version

1.0.10
Release Date

Release Date

Type

Type

jar
Description

Description

haystack-secrets-commons
This module contains common code for Haystack modules that detect and mask PCI and PII data; it also contains code that facilitates writing Kafka Streams applications.
Project URL

Project URL

https://github.com/ExpediaDotCom/haystack-secrets-commons/tree/master
Source Code Management

Source Code Management

http://github.com/ExpediaDotCom/haystack-secrets-commons

Download haystack-secrets-commons

How to add to project

<!-- https://jarcasting.com/artifacts/com.expedia.www/haystack-secrets-commons/ -->
<dependency>
    <groupId>com.expedia.www</groupId>
    <artifactId>haystack-secrets-commons</artifactId>
    <version>1.0.10</version>
</dependency>
// https://jarcasting.com/artifacts/com.expedia.www/haystack-secrets-commons/
implementation 'com.expedia.www:haystack-secrets-commons:1.0.10'
// https://jarcasting.com/artifacts/com.expedia.www/haystack-secrets-commons/
implementation ("com.expedia.www:haystack-secrets-commons:1.0.10")
'com.expedia.www:haystack-secrets-commons:jar:1.0.10'
<dependency org="com.expedia.www" name="haystack-secrets-commons" rev="1.0.10">
  <artifact name="haystack-secrets-commons" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.expedia.www', module='haystack-secrets-commons', version='1.0.10')
)
libraryDependencies += "com.expedia.www" % "haystack-secrets-commons" % "1.0.10"
[com.expedia.www/haystack-secrets-commons "1.0.10"]

Dependencies

compile (4)

Group / Artifact Type Version
com.expedia.www : haystack-metrics jar 2.0.1
com.google.protobuf : protobuf-java jar 3.3.1
com.netflix.servo : servo-core jar 0.12.17
org.slf4j : slf4j-api jar 1.7.25

provided (10)

Group / Artifact Type Version
com.amazonaws : aws-java-sdk-s3 jar 1.11.397
com.google.guava : guava jar 19.0
com.googlecode.libphonenumber : libphonenumber jar 8.9.2
io.dataapps.chlorine : chlorine-finder jar 1.1.5
io.grpc : grpc-protobuf jar 1.7.0
io.grpc : grpc-stub jar 1.7.0
org.apache.kafka : kafka_2.12 jar 1.0.1
org.apache.kafka : kafka-streams jar 1.0.1
org.cfg4j : cfg4j-core jar 4.4.1
org.codehaus.mojo : build-helper-maven-plugin jar 1.12

test (2)

Group / Artifact Type Version
org.mockito : mockito-all jar 1.9.5
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

Build Status License

haystack-secrets-commons

Module with common code that is used by various haystack components that need to detect secrets in spans or blobs.

Building

Since this repo contains haystack-idl as the submodule, so use the following to clone the repo

git clone --recursive [email protected]:ExpediaDotCom/haystack-secrets-commons.git

Prerequisite:

  • Make sure you have Java 1.8
  • Make sure you have maven 3.3.9 or higher

Build

For a full build including unit tests, one can run -

mvn clean package

Updating haystack-idl

  • Run:

git submodule update --recursive --remote

  • Update maven version

  • Raise a PR

Releasing haystack-secrets-commons

  • Git tagging:

git tag -a v1.4 -m "my version 1.4"

Or you can also tag using UI: https://github.com/ExpediaDotCom/haystack-secrets-commons/releases

com.expedia.www

Expedia.com

Versions

Version
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0