feat(workstation): added noseyparker and accompanying Taskfile entry
This commit is contained in:
parent
f1b58d6a62
commit
fa47334af3
3 changed files with 14 additions and 0 deletions
|
@ -96,6 +96,12 @@ tasks:
|
||||||
env:
|
env:
|
||||||
IMAGE_TAG:
|
IMAGE_TAG:
|
||||||
|
|
||||||
|
nosey:
|
||||||
|
desc: start noseyparker to ensure no secrets or passwords are committed
|
||||||
|
cmds:
|
||||||
|
- noseyparker scan --datastore=$(basename $PWD).np --ignore=.gitignore --color=always --progress=always .
|
||||||
|
- noseyparker report --datastore=$(basename $PWD).np
|
||||||
|
|
||||||
venv:
|
venv:
|
||||||
desc: execute a python3 command using the virtualenv wrapper
|
desc: execute a python3 command using the virtualenv wrapper
|
||||||
cmd: '{{.PYTHON_WRAPPER}} {{.CLI_ARGS}}'
|
cmd: '{{.PYTHON_WRAPPER}} {{.CLI_ARGS}}'
|
||||||
|
|
|
@ -19,3 +19,4 @@ autoload -U compinit && compinit
|
||||||
command -v boundary &> /dev/null && complete -o nospace -C /usr/bin/boundary boundary || true
|
command -v boundary &> /dev/null && complete -o nospace -C /usr/bin/boundary boundary || true
|
||||||
command -v molecule &> /dev/null && source <(_MOLECULE_COMPLETE=zsh_source molecule) || true
|
command -v molecule &> /dev/null && source <(_MOLECULE_COMPLETE=zsh_source molecule) || true
|
||||||
command -v helm &> /dev/null && source <(helm completion zsh) || true
|
command -v helm &> /dev/null && source <(helm completion zsh) || true
|
||||||
|
command -v noseyparker &> /dev/null && source <(noseyparker shell-completions --shell zsh) || true
|
||||||
|
|
|
@ -118,6 +118,13 @@
|
||||||
- tar -zxf {asset_dirname}/{asset_filename}
|
- tar -zxf {asset_dirname}/{asset_filename}
|
||||||
- cd $(find . -maxdepth 1 -name terminator\* -type d); python3 setup.py build; python3 setup.py install --single-version-externally-managed --record=install-files.txt
|
- cd $(find . -maxdepth 1 -name terminator\* -type d); python3 setup.py build; python3 setup.py install --single-version-externally-managed --record=install-files.txt
|
||||||
- rm -rf {asset_dirname}/{asset_filename}
|
- rm -rf {asset_dirname}/{asset_filename}
|
||||||
|
- asset_name: noseyparker-{version}-x86_64-unknown-linux-gnu.tar.gz
|
||||||
|
asset_type: release
|
||||||
|
repository: praetorian-inc/noseyparker
|
||||||
|
creates: /usr/local/bin/noseyparker
|
||||||
|
cmds:
|
||||||
|
- tar -zxf {asset_dirname}/{asset_filename}
|
||||||
|
- install --group=root --mode=755 --owner=root bin/noseyparker /usr/local/bin
|
||||||
|
|
||||||
- name: '[ruby] install tools'
|
- name: '[ruby] install tools'
|
||||||
become: true
|
become: true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue