Skip to content

Commit

Permalink
Hello, Buz (#385)
Browse files Browse the repository at this point in the history
Rename things to Buz.

### Wtf?! Why?!

Answer: try telling a CISO they should implement a system called `honeypot`.
jakthom authored Aug 20, 2022
1 parent 97e2304 commit f308b66
Showing 204 changed files with 467 additions and 3,739 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-docker.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Honeypot image to ghcr.io
name: Publish Buz image to ghcr.io

on:
push:
@@ -32,7 +32,7 @@ jobs:
uses: 'google-github-actions/auth@v0'
with:
token_format: 'access_token'
workload_identity_provider: 'projects/860234713891/locations/global/workloadIdentityPools/honeypot/providers/github'
workload_identity_provider: 'projects/860234713891/locations/global/workloadIdentityPools/buz/providers/github'
service_account: '[email protected]'

- name: Configure Docker
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -71,5 +71,5 @@ jobs:
goarch: ${{ matrix.goarch }}
build_command: make
release_tag: ${{ steps.get-version.outputs.content }}
binary_name: honeypot
binary_name: buz
extra_files: LICENSE .VERSION
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -3,10 +3,11 @@ config.yml
scratch/*
testprofile.out
# File sink
honeypot-valid.json
honeypot-invalid.json
buz-valid.json
buz-invalid.json
notes/*
*.sql
examples/quickstart/minio/*
*.bin
*.meta
buz
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"yaml.schemas": {
"http://registry.silverton.io/io.silverton/honeypot/internal/config/app/v1.0.json": "/*conf*.yml"
// "./schemas/io.silverton/honeypot/internal/config/app/v1.0.json": "/*conf*.yml"
"http://registry.silverton.io/io.silverton/buz/internal/config/app/v1.0.json": "/*conf*.yml"
// "./schemas/io.silverton/buz/internal/config/app/v1.0.json": "/*conf*.yml"
}
}
18 changes: 9 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
@@ -2,29 +2,29 @@
S=silverton
REGISTRY:=us-east1-docker.pkg.dev/silverton-io/docker
VERSION:=$(shell cat .VERSION)
HONEYPOT_DIR=./cmd/honeypot/*.go
BUZ_DIR=./cmd/buz/*.go
TEST_PROFILE=testprofile.out

build:
go build -ldflags="-X main.VERSION=$(VERSION)" -o honeypot $(HONEYPOT_DIR)
go build -ldflags="-X main.VERSION=$(VERSION)" -o buz $(BUZ_DIR)

run: ## Run honeypot locally
go run -ldflags="-X 'main.VERSION=x.x.dev'" $(HONEYPOT_DIR)
run: ## Run buz locally
go run -ldflags="-X 'main.VERSION=x.x.dev'" $(BUZ_DIR)

bootstrap: ## Bootstrap development environment
curl https://raw.githubusercontent.com/silverton-io/honeypot/main/examples/devel/honeypot/simple.conf.yml -o config.yml;
curl https://raw.githubusercontent.com/silverton-io/buz/main/examples/devel/buz/simple.conf.yml -o config.yml;
make run

bootstrap-destinations: ## Bootstrap various containerized database/stream systems
docker-compose -f examples/devel/docker-compose.yml up -d

build-docker: ## Build local honeypot image
docker build -f deploy/Dockerfile -t honeypot:$(VERSION) .
build-docker: ## Build local buz image
docker build -f deploy/Dockerfile -t buz:$(VERSION) .

buildx-deploy: ## Build multi-platform honeypot image and push it to edge repo
buildx-deploy: ## Build multi-platform buz image and push it to edge repo
docker buildx create --name $(S) || true;
docker buildx use $(S)
docker buildx build --platform linux/arm64,linux/amd64 -f deploy/Dockerfile -t $(REGISTRY)/honeypot:$(VERSION)-edge . --push
docker buildx build --platform linux/arm64,linux/amd64 -f deploy/Dockerfile -t $(REGISTRY)/buz:$(VERSION)-edge . --push

test-cover-pkg: ## Run tests against pkg, output test profile, and open profile in browser
go test ./pkg/... -v -coverprofile=$(TEST_PROFILE) || true
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
# Honeypot
# Buz

![agplv3](https://img.shields.io/badge/license-AGPLv3-brightgreen)
![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/silverton-io/honeypot)
![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/silverton-io/buz)

![honey](img/buzz.png)

# Event Collection, Validation, and Delivery.

Honeypot is a system for collecting events from various sources, validating data quality, and delivering them to where they need to bee.
Buz is a system for collecting events from various sources, validating data quality, and delivering them to where they need to bee.


# Quickstart

Quickstart documentation for setting up an end-to-end streaming analytics stack with Honeypot, Redpanda, Materialize, and Kowl can [be found here](https://honeypot.silverton.io/examples/quickstart).
Quickstart documentation for setting up an end-to-end streaming analytics stack with Buz, Redpanda, Materialize, and Kowl can [be found here](https://buz.dev/examples/quickstart).


# Documentation

Documentation can [be found here](https://honeypot.silverton.io/).
Documentation can [be found here](https://buz.dev).
Loading

0 comments on commit f308b66

Please sign in to comment.