diff --git a/Makefile b/Makefile index 6cf8e8c..cb958f8 100644 --- a/Makefile +++ b/Makefile @@ -2,14 +2,14 @@ VERSION = 0.1.0 PROJECT_ID = kubebot-163519 TOOLLIST = enumall gitallsecrets gitrob gitsecrets gobuster nmap subbrute sublist3r trufflehog wfuzz UTILSLIST = checkfile converttobq wfuzzbasicauthbrute -CREDS_FILEPATH = /Users/abhartiya/Desktop/personal-creds.json +CREDS_FILEPATH = /Users/redteam/Downloads/personal-creds.json TOPIC = tool_topic SUBSCRIPTION = tool_sub WFUZZ_DATASET = wfuzzds REPOSUPERVISOR_DATASET = reposupervisords WFUZZ_TABLE = wfuzz_tomcat_test REPOSUPERVISOR_TABLE = reposupervisor_test -GITTOKEN = +GITTOKEN = .PHONY: all build diff --git a/api/botapihandlers.go b/api/botapihandlers.go index da36298..b9d2b95 100644 --- a/api/botapihandlers.go +++ b/api/botapihandlers.go @@ -29,6 +29,7 @@ type Slackbot struct { Token string `schema:"token"` Userid string `schema:"user_id"` Username string `schema:"user_name"` + Triggerid string `schema:"trigger_id"` } func check(e error) { diff --git a/docs/local-kubebot.md b/docs/local-kubebot.md index 944e769..8a9c944 100644 --- a/docs/local-kubebot.md +++ b/docs/local-kubebot.md @@ -15,7 +15,6 @@ Please watch [this](https://youtu.be/-ApGLGOV0vc) video and follow along to inst * Rename the `.gitrobrc.sample` file in the `tools/gitrob/client` and `tools/gitrob/server` directories to `.gitrobrc` and make sure you add your environment variables correctly. * Type `make build`. This will take a few minutes so please be patient. This will: - * Install `dep`. Ensure we have all the libraries and the correct versions we need. * Creates the appropriate Google PubSub topic and subscription, Google BigQuery datasets and tables and Github repositories for all the tools. * Build the Docker images for the API server, Subscription Worker, all the Utilities and all the tools. If, for some reason, an image does not get built, please build it manually. You can view the images by typing `docker images`. * Create a namespace `kubebot-server` inside the K8s cluster.