check bitwarden-bf

This commit is contained in:
sabban 2023-07-07 11:08:15 +02:00
parent 2bd6e9e0d4
commit 0cbc642a01
2 changed files with 14 additions and 1 deletions

View file

@ -25,4 +25,13 @@ jobs:
make CGO_ENABLED=1 BUILD_RE_WASM=0 BUILD_STATIC=1 && cp cmd/crowdsec/crowdsec /usr/local/bin && cp cmd/crowdsec-cli/cscli /usr/local/bin
sudo mkdir -p /etc/crowdsec && sudo cp -a config/* /etc/crowdsec
cd hub
cscli hubtest run --all || cat .tests/modsecurity/results/bucket-dump.yaml
cscli hubtest run bitwarden-bf
cscli hubtest run bitwarden-bf
cscli hubtest run bitwarden-bf
cscli hubtest run bitwarden-bf
cscli hubtest run bitwarden-bf
cscli hubtest run bitwarden-bf
cscli hubtest run bitwarden-bf
cscli hubtest run bitwarden-bf
cscli hubtest run bitwarden-bf
cscli hubtest run bitwarden-bf

View file

@ -120,6 +120,10 @@ func LoadAcquisition(cConfig *csconfig.Config) error {
}
}
if len(dataSources) == 0 {
return fmt.Errorf("no datasource enabled")
}
return nil
}