security/vuls: Upgrade to 0.24.3

Update and take maintainership due to maintainer timeout. [1]

Add an optional service rc.d script to run a server that collects
results sent from multiple vuls client nodes.

A periodic script is also provided to create fresh daily reports.

PR:	259948 [1] Maintainer timeout
This commit is contained in:
Palle Girgensohn 2024-01-27 10:04:26 +01:00
parent 6e1d089e3b
commit d166de2cfd
17 changed files with 431 additions and 479 deletions

View file

@ -1,167 +1,50 @@
PORTNAME= vuls
DISTVERSIONPREFIX= v
DISTVERSION= 0.13.7
PORTREVISION= 16
DISTVERSIONPREFIX=v
DISTVERSION= 0.24.8
CATEGORIES= security
MAINTAINER= iscandr@gmail.com
MAINTAINER= girgen@FreeBSD.org
COMMENT= Agentless vulnerability scanner
WWW= https://vuls.io
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${LOCALBASE}/bin/go-cve-dictionary:security/go-cve-dictionary
USES= go:modules
USE_GITHUB= yes
GH_ACCOUNT= future-architect
GH_TUPLE= \
Azure:azure-sdk-for-go:v43.3.0:azure_azure_sdk_for_go/vendor/github.com/Azure/azure-sdk-for-go \
Azure:go-autorest:5bd9621f41a0:azure_go_autorest_date/vendor/github.com/Azure/go-autorest \
Azure:go-autorest:aff029487b89:azure_go_autorest_adal \
Azure:go-autorest:autorest/v0.9.3:azure_go_autorest_autorest \
Azure:go-autorest:logger/v0.1.0:azure_go_autorest_logger \
Azure:go-autorest:tracing/v0.5.0:azure_go_autorest_tracing \
BurntSushi:toml:v0.3.1:burntsushi_toml/vendor/github.com/BurntSushi/toml \
Masterminds:semver:v3.1.0:masterminds_semver_v3/vendor/github.com/Masterminds/semver/v3 \
RackSec:srslog:a4725f04ec91:racksec_srslog/vendor/github.com/RackSec/srslog \
VividCortex:ewma:v1.1.1:vividcortex_ewma/vendor/github.com/VividCortex/ewma \
aquasecurity:bolt-fixtures:c0f517aea2ed:aquasecurity_bolt_fixtures/vendor/github.com/aquasecurity/bolt-fixtures \
aquasecurity:fanal:6de62ef86882:aquasecurity_fanal/vendor/github.com/aquasecurity/fanal \
aquasecurity:go-dep-parser:ea223f0ef24b:aquasecurity_go_dep_parser/vendor/github.com/aquasecurity/go-dep-parser \
aquasecurity:trivy-db:6da6467703aa:aquasecurity_trivy_db/vendor/github.com/aquasecurity/trivy-db \
aquasecurity:trivy:v0.12.0:aquasecurity_trivy/vendor/github.com/aquasecurity/trivy \
asaskevich:govalidator:7a23bdc65eef:asaskevich_govalidator/vendor/github.com/asaskevich/govalidator \
aws:aws-sdk-go:v1.33.21:aws_aws_sdk_go/vendor/github.com/aws/aws-sdk-go \
boltdb:bolt:v1.3.1:boltdb_bolt/vendor/github.com/boltdb/bolt \
briandowns:spinner:ac46072a5a91:briandowns_spinner/vendor/github.com/briandowns/spinner \
caarlos0:env:v6.0.0:caarlos0_env_v6/vendor/github.com/caarlos0/env/v6 \
cenkalti:backoff:v2.2.1:cenkalti_backoff/vendor/github.com/cenkalti/backoff \
cespare:xxhash:v2.1.1:cespare_xxhash_v2/vendor/github.com/cespare/xxhash/v2 \
cheggaaa:pb:v1.0.28:cheggaaa_pb/vendor/gopkg.in/cheggaaa/pb.v1 \
cheggaaa:pb:v3.0.5:cheggaaa_pb_v3/vendor/github.com/cheggaaa/pb \
d4l3k:messagediff:7e0a312ae40b:d4l3k_messagediff/vendor/github.com/d4l3k/messagediff \
davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \
dgrijalva:jwt-go:v3.2.0:dgrijalva_jwt_go/vendor/github.com/dgrijalva/jwt-go \
dgryski:go-rendezvous:9f7001d12a5f:dgryski_go_rendezvous/vendor/github.com/dgryski/go-rendezvous \
dominikh:go-tools:v0.0.1-2019.2.3:dominikh_go_tools/vendor/honnef.co/go/tools \
emersion:go-sasl:7bfe0ed36a21:emersion_go_sasl/vendor/github.com/emersion/go-sasl \
emersion:go-smtp:v0.13.0:emersion_go_smtp/vendor/github.com/emersion/go-smtp \
etcd-io:bbolt:v1.3.5:etcd_io_bbolt/vendor/go.etcd.io/bbolt \
fatih:color:v1.10.0:fatih_color/vendor/github.com/fatih/color \
fsnotify:fsnotify:v1.4.9:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \
go-ini:ini:v1.51.0:go_ini_ini/vendor/gopkg.in/ini.v1 \
go-redis:redis:v8.4.0:go_redis_redis_v8/vendor/github.com/go-redis/redis/v8 \
go-sql-driver:mysql:v1.5.0:go_sql_driver_mysql/vendor/github.com/go-sql-driver/mysql \
go-stack:stack:v1.8.0:go_stack_stack/vendor/github.com/go-stack/stack \
go-yaml:yaml:eeeca48fe776:go_yaml_yaml_1/vendor/gopkg.in/yaml.v3 \
go-yaml:yaml:v2.3.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \
goccy:go-yaml:v1.8.0:goccy_go_yaml/vendor/github.com/goccy/go-yaml \
golang:appengine:v1.6.2:golang_appengine/vendor/google.golang.org/appengine \
golang:crypto:c1f2f97bffc9:golang_crypto/vendor/golang.org/x/crypto \
golang:lint:738671d3881b:golang_lint/vendor/golang.org/x/lint \
golang:net:69a78807bb2b:golang_net/vendor/golang.org/x/net \
golang:oauth2:bf48bf16ab8d:golang_oauth2/vendor/golang.org/x/oauth2 \
golang:protobuf:v1.4.2:golang_protobuf/vendor/github.com/golang/protobuf \
golang:sys:ba5294a509c7:golang_sys/vendor/golang.org/x/sys \
golang:term:f5c789dd3221:golang_term/vendor/golang.org/x/term \
golang:text:v0.3.4:golang_text/vendor/golang.org/x/text \
golang:tools:1ace956b0e17:golang_tools/vendor/golang.org/x/tools \
golang:xerrors:5ec99f83aff1:golang_xerrors/vendor/golang.org/x/xerrors \
google:go-github:v28.1.1:google_go_github_v28/vendor/github.com/google/go-github/v28 \
google:go-querystring:v1.0.0:google_go_querystring/vendor/github.com/google/go-querystring \
google:subcommands:v1.2.0:google_subcommands/vendor/github.com/google/subcommands \
google:wire:v0.3.0:google_wire/vendor/github.com/google/wire \
gorilla:websocket:v1.4.2:gorilla_websocket/vendor/github.com/gorilla/websocket \
gosuri:uitable:v0.0.4:gosuri_uitable/vendor/github.com/gosuri/uitable \
grokify:html-strip-tags-go:025bd760b278:grokify_html_strip_tags_go/vendor/github.com/grokify/html-strip-tags-go \
hashicorp:go-uuid:v1.0.2:hashicorp_go_uuid/vendor/github.com/hashicorp/go-uuid \
hashicorp:go-version:v1.2.1:hashicorp_go_version/vendor/github.com/hashicorp/go-version \
hashicorp:hcl:v1.0.0:hashicorp_hcl/vendor/github.com/hashicorp/hcl \
howeyc:gopass:7cb4b85ec19c:howeyc_gopass/vendor/github.com/howeyc/gopass \
htcat:htcat:v1.0.2:htcat_htcat/vendor/github.com/htcat/htcat \
inconshreveable:log15:8562bdadbbac:inconshreveable_log15/vendor/github.com/inconshreveable/log15 \
inconshreveable:mousetrap:v1.0.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \
jesseduffield:gocui:v0.3.0:jesseduffield_gocui/vendor/github.com/jesseduffield/gocui \
jinzhu:gorm:v1.9.16:jinzhu_gorm/vendor/github.com/jinzhu/gorm \
jinzhu:inflection:v1.0.0:jinzhu_inflection/vendor/github.com/jinzhu/inflection \
jmespath:go-jmespath:v0.3.0:jmespath_go_jmespath/vendor/github.com/jmespath/go-jmespath \
k0kubun:pp:v3.0.1:k0kubun_pp/vendor/github.com/k0kubun/pp \
knqyf263:go-apk-version:041fdbb8563f:knqyf263_go_apk_version/vendor/github.com/knqyf263/go-apk-version \
knqyf263:go-cpe:659663f6eca2:knqyf263_go_cpe/vendor/github.com/knqyf263/go-cpe \
knqyf263:go-deb-version:09fca494f03d:knqyf263_go_deb_version/vendor/github.com/knqyf263/go-deb-version \
knqyf263:go-rpm-version:74609b86c936:knqyf263_go_rpm_version/vendor/github.com/knqyf263/go-rpm-version \
knqyf263:gost:v0.1.7:knqyf263_gost/vendor/github.com/knqyf263/gost \
konsorten:go-windows-terminal-sequences:v1.0.3:konsorten_go_windows_terminal_sequences/vendor/github.com/konsorten/go-windows-terminal-sequences \
kotakanbe:go-cve-dictionary:v0.5.5:kotakanbe_go_cve_dictionary/vendor/github.com/kotakanbe/go-cve-dictionary \
kotakanbe:go-pingscanner:v0.1.0:kotakanbe_go_pingscanner/vendor/github.com/kotakanbe/go-pingscanner \
kotakanbe:goval-dictionary:v0.2.15:kotakanbe_goval_dictionary/vendor/github.com/kotakanbe/goval-dictionary \
kotakanbe:logrus-prefixed-formatter:928f7356cb96:kotakanbe_logrus_prefixed_formatter/vendor/github.com/kotakanbe/logrus-prefixed-formatter \
kubernetes:utils:6e3d28b6ed19:kubernetes_utils/vendor/k8s.io/utils \
labstack:gommon:v0.3.0:labstack_gommon/vendor/github.com/labstack/gommon \
lib:pq:v1.8.0:lib_pq/vendor/github.com/lib/pq \
magiconair:properties:v1.8.1:magiconair_properties/vendor/github.com/magiconair/properties \
mattn:go-colorable:v0.1.0:mattn_go_colorable_1/vendor/gopkg.in/mattn/go-colorable.v0 \
mattn:go-colorable:v0.1.8:mattn_go_colorable/vendor/github.com/mattn/go-colorable \
mattn:go-isatty:v0.0.12:mattn_go_isatty_1/vendor/github.com/mattn/go-isatty \
mattn:go-isatty:v0.0.6:mattn_go_isatty/vendor/gopkg.in/mattn/go-isatty.v0 \
mattn:go-runewidth:v0.0.9:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \
mattn:go-sqlite3:v2.0.3:mattn_go_sqlite3/vendor/github.com/mattn/go-sqlite3 \
mgutz:ansi:9520e82c474b:mgutz_ansi/vendor/github.com/mgutz/ansi \
mitchellh:go-homedir:v1.1.0:mitchellh_go_homedir/vendor/github.com/mitchellh/go-homedir \
mitchellh:mapstructure:v1.1.2:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \
moul:http2curl:v1.0.0:moul_http2curl/vendor/moul.io/http2curl \
mozqnet:go-exploitdb:v0.1.2:mozqnet_go_exploitdb/vendor/github.com/mozqnet/go-exploitdb \
nlopes:slack:v0.6.0:nlopes_slack/vendor/github.com/nlopes/slack \
nsf:termbox-go:38ba6e5628f1:nsf_termbox_go/vendor/github.com/nsf/termbox-go \
olekukonko:tablewriter:v0.0.4:olekukonko_tablewriter/vendor/github.com/olekukonko/tablewriter \
open-telemetry:opentelemetry-go:v0.14.0:open_telemetry_opentelemetry_go/vendor/go.opentelemetry.io/otel \
parnurzeal:gorequest:v0.2.16:parnurzeal_gorequest/vendor/github.com/parnurzeal/gorequest \
pelletier:go-toml:v1.2.0:pelletier_go_toml/vendor/github.com/pelletier/go-toml \
pkg:errors:v0.9.1:pkg_errors/vendor/github.com/pkg/errors \
pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \
protocolbuffers:protobuf-go:v1.23.0:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \
rifflock:lfshook:b9218ef580f5:rifflock_lfshook/vendor/github.com/rifflock/lfshook \
satori:go.uuid:v1.2.0:satori_go_uuid/vendor/github.com/satori/go.uuid \
sirupsen:logrus:v1.6.0:sirupsen_logrus/vendor/github.com/sirupsen/logrus \
spf13:afero:v1.3.0:spf13_afero/vendor/github.com/spf13/afero \
spf13:cast:v1.3.0:spf13_cast/vendor/github.com/spf13/cast \
spf13:cobra:v1.0.0:spf13_cobra/vendor/github.com/spf13/cobra \
spf13:jwalterweatherman:v1.0.0:spf13_jwalterweatherman/vendor/github.com/spf13/jwalterweatherman \
spf13:pflag:v1.0.5:spf13_pflag/vendor/github.com/spf13/pflag \
spf13:viper:v1.7.0:spf13_viper/vendor/github.com/spf13/viper \
stretchr:objx:v0.3.0:stretchr_objx/vendor/github.com/stretchr/objx \
stretchr:testify:v1.6.1:stretchr_testify/vendor/github.com/stretchr/testify \
subosito:gotenv:v1.2.0:subosito_gotenv/vendor/github.com/subosito/gotenv \
takuzoo3868:go-msfdb:v0.1.3:takuzoo3868_go_msfdb/vendor/github.com/takuzoo3868/go-msfdb \
uber-go:atomic:v1.5.1:uber_go_atomic/vendor/go.uber.org/atomic \
uber-go:multierr:v1.4.0:uber_go_multierr/vendor/go.uber.org/multierr \
uber-go:tools:2cfd321de3ee:uber_go_tools/vendor/go.uber.org/tools \
uber-go:zap:v1.13.0:uber_go_zap/vendor/go.uber.org/zap \
valyala:bytebufferpool:v1.0.0:valyala_bytebufferpool/vendor/github.com/valyala/bytebufferpool \
valyala:fasttemplate:v1.2.1:valyala_fasttemplate/vendor/github.com/valyala/fasttemplate \
ymomoi:goval-parser:0a0be1dd9d08:ymomoi_goval_parser/vendor/github.com/ymomoi/goval-parser
GO_TARGET= ./cmd/${PORTNAME}:${PREFIX}/bin/${PORTNAME}
GO_MODULE= github.com/future-architect/vuls
GO_TARGET= ./cmd/${PORTNAME}
GO_BUILDFLAGS= -ldflags "-X main.version=${PORTVERSION}"
PLIST_FILES= bin/${PORTNAME} \
"@sample ${ETCDIR}/config.toml.sample"
USE_RC_SUBR= ${PORTNAME}
post-extract:
@${RM} -r ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest
@${RLN} ${WRKSRC_azure_go_autorest_autorest}/autorest ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest
@${RM} -r ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest/adal
@${RLN} ${WRKSRC_azure_go_autorest_adal}/autorest/adal ${WRKSRC}/vendor/github.com/Azure/go-autorest/autorest/adal
@${RM} -r ${WRKSRC}/vendor/github.com/Azure/go-autorest/logger
@${RLN} ${WRKSRC_azure_go_autorest_logger}/logger ${WRKSRC}/vendor/github.com/Azure/go-autorest/logger
@${RM} -r ${WRKSRC}/vendor/github.com/Azure/go-autorest/tracing
@${RLN} ${WRKSRC_azure_go_autorest_tracing}/tracing ${WRKSRC}/vendor/github.com/Azure/go-autorest/tracing
SUB_FILES= pkg-message periodic-vuls
SUB_LIST= PORTNAME=${PORTNAME} USERS=${USERS} GROUPS=${GROUPS}
USERS= vuls
GROUPS= vuls
post-patch:
@${REINPLACE_CMD} -e 's,%%ETCDIR%%,${ETCDIR},' \
${WRKSRC}/subcmds/configtest.go \
${WRKSRC}/subcmds/report_windows.go \
${WRKSRC}/subcmds/report.go \
${WRKSRC}/subcmds/saas.go \
${WRKSRC}/subcmds/scan.go \
${WRKSRC}/subcmds/server.go \
${WRKSRC}/subcmds/tui.go
post-install:
${MKDIR} ${STAGEDIR}${ETCDIR}
${INSTALL_DATA} ${FILESDIR}/config.toml.sample ${STAGEDIR}${ETCDIR}
${MKDIR} ${STAGEDIR}${ETCDIR} \
${STAGEDIR}/var/db/vuls/results \
${STAGEDIR}/var/log/vuls \
${STAGEDIR}${PREFIX}/etc/periodic/daily \
${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d
${INSTALL_DATA} ${FILESDIR}/newsyslog-${PORTNAME}.conf \
${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/${PORTNAME}.conf.sample
${INSTALL_DATA} ${FILESDIR}/config.toml \
${STAGEDIR}${ETCDIR}/config.toml.sample
${INSTALL_SCRIPT} ${WRKDIR}/periodic-${PORTNAME} \
${STAGEDIR}${PREFIX}/etc/periodic/daily/${PORTNAME}
.include <bsd.port.mk>

View file

@ -1,253 +1,5 @@
TIMESTAMP = 1610219445
SHA256 (future-architect-vuls-v0.13.7_GH0.tar.gz) = 59756b8500532fcb39f9c8c90a1f57f7c4f67707b4b6328babd5d1a36a96cc9f
SIZE (future-architect-vuls-v0.13.7_GH0.tar.gz) = 983683
SHA256 (Azure-azure-sdk-for-go-v43.3.0_GH0.tar.gz) = bf5e030b3ebb0a0ac0388ab2cee1b4e4ce2c65d8541f3b176ed64b918f2e00e3
SIZE (Azure-azure-sdk-for-go-v43.3.0_GH0.tar.gz) = 25693638
SHA256 (Azure-go-autorest-5bd9621f41a0_GH0.tar.gz) = 1cd0fa3f623475cd94daf16fff33e873d6a8191de89b1306008744fbf78f892b
SIZE (Azure-go-autorest-5bd9621f41a0_GH0.tar.gz) = 156993
SHA256 (Azure-go-autorest-aff029487b89_GH0.tar.gz) = cf99b6939d320afaa59115f70154bb989f64fc0ee62acf7ef5c1dbfe96be0647
SIZE (Azure-go-autorest-aff029487b89_GH0.tar.gz) = 165356
SHA256 (Azure-go-autorest-autorest-v0.9.3_GH0.tar.gz) = 8bd28466e09330313d955c87706f7faa477e5d712cfc9b3caf33ee20ad595d91
SIZE (Azure-go-autorest-autorest-v0.9.3_GH0.tar.gz) = 164605
SHA256 (Azure-go-autorest-logger-v0.1.0_GH0.tar.gz) = d642ed3d87f3dc9fcde6c7ff7b82a3b3463b70f6ff2d5a7c6c37099d754c464e
SIZE (Azure-go-autorest-logger-v0.1.0_GH0.tar.gz) = 141423
SHA256 (Azure-go-autorest-tracing-v0.5.0_GH0.tar.gz) = af322c3ccc73be318dddafd20f43baaa4be95dc58312f8d781cca29931cfa02f
SIZE (Azure-go-autorest-tracing-v0.5.0_GH0.tar.gz) = 181045
SHA256 (BurntSushi-toml-v0.3.1_GH0.tar.gz) = 6593da894578ba510a470735ffbdc88ce88033094dc5a8f4d3957ab87e18803f
SIZE (BurntSushi-toml-v0.3.1_GH0.tar.gz) = 42077
SHA256 (Masterminds-semver-v3.1.0_GH0.tar.gz) = a91e6fe3121bb0c158bbd89721be3f44cd84e1f76a6d89840e244c1f5524ee28
SIZE (Masterminds-semver-v3.1.0_GH0.tar.gz) = 24481
SHA256 (RackSec-srslog-a4725f04ec91_GH0.tar.gz) = 161369c981c9755b8d6d9ca462f4a94787d64a32aa3297a401b151545947cd4e
SIZE (RackSec-srslog-a4725f04ec91_GH0.tar.gz) = 18856
SHA256 (VividCortex-ewma-v1.1.1_GH0.tar.gz) = 3b2d62412b7ba2726a379cc0ae557595c027dc8206d0ef98f13831281b8f2b85
SIZE (VividCortex-ewma-v1.1.1_GH0.tar.gz) = 6042
SHA256 (aquasecurity-bolt-fixtures-c0f517aea2ed_GH0.tar.gz) = 85090c3ea534154c941db862910a16a7e22dd525f401bee280c872255bca5fe2
SIZE (aquasecurity-bolt-fixtures-c0f517aea2ed_GH0.tar.gz) = 8424
SHA256 (aquasecurity-fanal-6de62ef86882_GH0.tar.gz) = c9aec273bdea5fcb6a1d203c187e6257f09ba99fcb3e58ddb7e31f593950e1f9
SIZE (aquasecurity-fanal-6de62ef86882_GH0.tar.gz) = 35464634
SHA256 (aquasecurity-go-dep-parser-ea223f0ef24b_GH0.tar.gz) = 508b93c09ee3fd9d6cdd4f61f297e7fa50d4e464387863dcc4b9ab4750567ada
SIZE (aquasecurity-go-dep-parser-ea223f0ef24b_GH0.tar.gz) = 380254
SHA256 (aquasecurity-trivy-db-6da6467703aa_GH0.tar.gz) = bd6a13826efdfaaa7bbe2a4d33a0ee516906edbecdf99fe5b27967ffd5b08378
SIZE (aquasecurity-trivy-db-6da6467703aa_GH0.tar.gz) = 9584534
SHA256 (aquasecurity-trivy-v0.12.0_GH0.tar.gz) = 9ed65f1c579827a1007790e9d5970b5c3fdcbe9d5d6cc9706a1c6747f5bcc9d4
SIZE (aquasecurity-trivy-v0.12.0_GH0.tar.gz) = 20597518
SHA256 (asaskevich-govalidator-7a23bdc65eef_GH0.tar.gz) = a8a0ecc0f3f23bef9886a6b798d7a61d5c4b24e1aa8065a0de0173a4b39f7f5d
SIZE (asaskevich-govalidator-7a23bdc65eef_GH0.tar.gz) = 60431
SHA256 (aws-aws-sdk-go-v1.33.21_GH0.tar.gz) = 3dea1d3c325209f6847443d9c65f704c6c001b3ecbeb9d934f9565e13ee78c2c
SIZE (aws-aws-sdk-go-v1.33.21_GH0.tar.gz) = 15513984
SHA256 (boltdb-bolt-v1.3.1_GH0.tar.gz) = b5ae498b780f535a5d308c188dee1329b3536275d29ad6758876084c0b8586a8
SIZE (boltdb-bolt-v1.3.1_GH0.tar.gz) = 83437
SHA256 (briandowns-spinner-ac46072a5a91_GH0.tar.gz) = 70ad880f501240d1d8183fb29afa5de773d281d3908148ac8c11211146c65df9
SIZE (briandowns-spinner-ac46072a5a91_GH0.tar.gz) = 200919
SHA256 (caarlos0-env-v6.0.0_GH0.tar.gz) = 1773dbb54a3734bda3c288050c8e37de50761855f1fccd785c37dc4d868182df
SIZE (caarlos0-env-v6.0.0_GH0.tar.gz) = 11237
SHA256 (cenkalti-backoff-v2.2.1_GH0.tar.gz) = a2c29d0184e7afc415975cf2689723028d2686ffbb67fe0999ab1d691e6d16db
SIZE (cenkalti-backoff-v2.2.1_GH0.tar.gz) = 8623
SHA256 (cespare-xxhash-v2.1.1_GH0.tar.gz) = 0ee31178d2c5a1249be4e26294a2f428008dc4e1ecbbfbe47f74e41026df1148
SIZE (cespare-xxhash-v2.1.1_GH0.tar.gz) = 9292
SHA256 (cheggaaa-pb-v1.0.28_GH0.tar.gz) = f745c5636d3fb59bffab5f9d2a745a94a9608166c20c90936fc66848a5e816e6
SIZE (cheggaaa-pb-v1.0.28_GH0.tar.gz) = 11788
SHA256 (cheggaaa-pb-v3.0.5_GH0.tar.gz) = c3442908441cd17c4a2ed0c9f0875eeb52947e3b73d5c6e483d2698d7ed8ef43
SIZE (cheggaaa-pb-v3.0.5_GH0.tar.gz) = 30815
SHA256 (d4l3k-messagediff-7e0a312ae40b_GH0.tar.gz) = 39245821a631eeac72b8ae3d44cbae023a88a24107d45b7e09925df3a25b45ff
SIZE (d4l3k-messagediff-7e0a312ae40b_GH0.tar.gz) = 11261
SHA256 (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 7d82b9bb7291adbe7498fe946920ab3e7fc9e6cbfc3b2294693fad00bf0dd17e
SIZE (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 42152
SHA256 (dgrijalva-jwt-go-v3.2.0_GH0.tar.gz) = 197465ef53219f3aeb1a6940b70e16d288fe4e4108d4831b91ea101118440e63
SIZE (dgrijalva-jwt-go-v3.2.0_GH0.tar.gz) = 36960
SHA256 (dgryski-go-rendezvous-9f7001d12a5f_GH0.tar.gz) = 29584550745fd4b8fce2e2f3def7b9d9ffe2b86cf9b6596b53a660c9bbfe27b6
SIZE (dgryski-go-rendezvous-9f7001d12a5f_GH0.tar.gz) = 1699
SHA256 (dominikh-go-tools-v0.0.1-2019.2.3_GH0.tar.gz) = 3b16c5bec68f71d13be0216b849ce910aa4a1844db6e08dafe90fb1a439974c7
SIZE (dominikh-go-tools-v0.0.1-2019.2.3_GH0.tar.gz) = 367559
SHA256 (emersion-go-sasl-7bfe0ed36a21_GH0.tar.gz) = 81a37103a797ba674f0d023c98165ec84a45799971d8834e345077d084abbbb7
SIZE (emersion-go-sasl-7bfe0ed36a21_GH0.tar.gz) = 7106
SHA256 (emersion-go-smtp-v0.13.0_GH0.tar.gz) = 6c4fc80d4b88378960b04116e0920a07cb35a005afcf9a33eb6d1083886a65cc
SIZE (emersion-go-smtp-v0.13.0_GH0.tar.gz) = 31581
SHA256 (etcd-io-bbolt-v1.3.5_GH0.tar.gz) = 63fed2e9bbdcc2aa279c2a7ea4a59c39bc21616ec2c96abff0020872beb3dbad
SIZE (etcd-io-bbolt-v1.3.5_GH0.tar.gz) = 96494
SHA256 (fatih-color-v1.10.0_GH0.tar.gz) = a00342a7ffb8b119346dce56e152a111cbb9eab3970c429cc2ed4272aec2858e
SIZE (fatih-color-v1.10.0_GH0.tar.gz) = 1267532
SHA256 (fsnotify-fsnotify-v1.4.9_GH0.tar.gz) = 4f888b1cb132026227826751d156c0a2958e7d492e5e38386cde8848ef494dcb
SIZE (fsnotify-fsnotify-v1.4.9_GH0.tar.gz) = 31900
SHA256 (go-ini-ini-v1.51.0_GH0.tar.gz) = 6c98311d375afbe36a246c5d29acb5cb428634a4186e591ce9b7fe2fa4f2a471
SIZE (go-ini-ini-v1.51.0_GH0.tar.gz) = 43536
SHA256 (go-redis-redis-v8.4.0_GH0.tar.gz) = 6a4bb8a87d3f0b04cbb088a043579edea7a8f4f62289c10d6da903167d9d0507
SIZE (go-redis-redis-v8.4.0_GH0.tar.gz) = 123965
SHA256 (go-sql-driver-mysql-v1.5.0_GH0.tar.gz) = 9d98b46623037447a26a51a203540bf605b6e6220d31f2efc7396242fcb660b5
SIZE (go-sql-driver-mysql-v1.5.0_GH0.tar.gz) = 90474
SHA256 (go-stack-stack-v1.8.0_GH0.tar.gz) = 3b8987e137d76f4f35db1e8005ec7fb766b68eed8cac0ca0b795ac43cd72b319
SIZE (go-stack-stack-v1.8.0_GH0.tar.gz) = 8039
SHA256 (go-yaml-yaml-eeeca48fe776_GH0.tar.gz) = 77e421545f853bf0b0431ed5026f10ebeeadd436334ac156169b78f82e86bdf5
SIZE (go-yaml-yaml-eeeca48fe776_GH0.tar.gz) = 88787
SHA256 (go-yaml-yaml-v2.3.0_GH0.tar.gz) = 42027002bf258009d498600b04b8c9cbb29d2193185ea7bfa8fefe194fe72a07
SIZE (go-yaml-yaml-v2.3.0_GH0.tar.gz) = 72816
SHA256 (goccy-go-yaml-v1.8.0_GH0.tar.gz) = 5e23f56542ceb3b9044518c5cf05de9b72f5e5183d06dedb4f32b53617479205
SIZE (goccy-go-yaml-v1.8.0_GH0.tar.gz) = 69007
SHA256 (golang-appengine-v1.6.2_GH0.tar.gz) = 91973a0170596e38d56fc7193e559fd46804fb9a3d1fd23e80c4d29c4060bcd5
SIZE (golang-appengine-v1.6.2_GH0.tar.gz) = 333387
SHA256 (golang-crypto-c1f2f97bffc9_GH0.tar.gz) = fb7874bd9fa269053d4d115f440c5e71d38361558bba01025451949be850fc7c
SIZE (golang-crypto-c1f2f97bffc9_GH0.tar.gz) = 1721695
SHA256 (golang-lint-738671d3881b_GH0.tar.gz) = c3c30939f0592da3a4b470afd40cdf2924a2749e251b4188f53a918445fb67b4
SIZE (golang-lint-738671d3881b_GH0.tar.gz) = 31848
SHA256 (golang-net-69a78807bb2b_GH0.tar.gz) = 1114d9d74fc1297add7be9ae8e61fae9f8522884ef46b518e1f3546f843a0223
SIZE (golang-net-69a78807bb2b_GH0.tar.gz) = 1248808
SHA256 (golang-oauth2-bf48bf16ab8d_GH0.tar.gz) = 28b3a51a8bd90beb5952d1080218ea238127edfe9455ad48921989619ff918a8
SIZE (golang-oauth2-bf48bf16ab8d_GH0.tar.gz) = 47016
SHA256 (golang-protobuf-v1.4.2_GH0.tar.gz) = a1e486b3ed6f502c43e10cb28bde4e8f020a420ef9958d3fbe61801492c07c87
SIZE (golang-protobuf-v1.4.2_GH0.tar.gz) = 171778
SHA256 (golang-sys-ba5294a509c7_GH0.tar.gz) = 10939ebd8edf7a45e84cfae47a9d46e6b68e19fb2fa4b2a84ed457fa954b37ba
SIZE (golang-sys-ba5294a509c7_GH0.tar.gz) = 1087439
SHA256 (golang-term-f5c789dd3221_GH0.tar.gz) = 1973ece67e473ecb76ee5de7ffb7d6afa014f6b1d066c39e1c5126108a4ca537
SIZE (golang-term-f5c789dd3221_GH0.tar.gz) = 15239
SHA256 (golang-text-v0.3.4_GH0.tar.gz) = 39eabfef83413361eafd4353ee9d9821707853235f2e55f3d5b1d38ce698fe89
SIZE (golang-text-v0.3.4_GH0.tar.gz) = 8354508
SHA256 (golang-tools-1ace956b0e17_GH0.tar.gz) = 86c55af05ae9ee6586e293d5cec974e6b0a7dc57a990907ccf6e4d80de7b6d46
SIZE (golang-tools-1ace956b0e17_GH0.tar.gz) = 2340108
SHA256 (golang-xerrors-5ec99f83aff1_GH0.tar.gz) = 71975d658357e170fd6a41f92539cde8b39c9cd8bfe5931b6311bc5f5c0da0d7
SIZE (golang-xerrors-5ec99f83aff1_GH0.tar.gz) = 13664
SHA256 (google-go-github-v28.1.1_GH0.tar.gz) = dffd3d5e682ae6c5d264beabd75bef986f4c7b79d26e7d3c21bb3ad0ea3117bc
SIZE (google-go-github-v28.1.1_GH0.tar.gz) = 255821
SHA256 (google-go-querystring-v1.0.0_GH0.tar.gz) = 59fdfd4d740c85c60c35d3e09b587cfa2b435e78178ac4a23950afbece7118ed
SIZE (google-go-querystring-v1.0.0_GH0.tar.gz) = 7529
SHA256 (google-subcommands-v1.2.0_GH0.tar.gz) = 99602409506274003f52f6eb901f3a4d6aa2fc041971939dfa753ffcf0549bae
SIZE (google-subcommands-v1.2.0_GH0.tar.gz) = 9383
SHA256 (google-wire-v0.3.0_GH0.tar.gz) = 813de858f960d47c6ff13b9e5a2cdeb4086adcd7eec5e1ca3e871725214d0b1c
SIZE (google-wire-v0.3.0_GH0.tar.gz) = 86144
SHA256 (gorilla-websocket-v1.4.2_GH0.tar.gz) = 91937a36bc9e0da3c895c73d4cb74b2cdb1aff54ab21b0d0724000e7b5b85b84
SIZE (gorilla-websocket-v1.4.2_GH0.tar.gz) = 54101
SHA256 (gosuri-uitable-v0.0.4_GH0.tar.gz) = 7b496d0c8df70ef7ab546081174ad9994917bf4be49f0420079ecc3c66355875
SIZE (gosuri-uitable-v0.0.4_GH0.tar.gz) = 7250
SHA256 (grokify-html-strip-tags-go-025bd760b278_GH0.tar.gz) = 535f0665ca6565f45c054ba5c438b2d8638abb643a2f7257a4c030f93fee1feb
SIZE (grokify-html-strip-tags-go-025bd760b278_GH0.tar.gz) = 36515
SHA256 (hashicorp-go-uuid-v1.0.2_GH0.tar.gz) = 2dee0f810c3e3a2cd3d49a075d0a64a88806c90712a4b66013b20a1ff0562eae
SIZE (hashicorp-go-uuid-v1.0.2_GH0.tar.gz) = 7058
SHA256 (hashicorp-go-version-v1.2.1_GH0.tar.gz) = 9c63e2107ca0cf4e78ddba1128c73adfdfcdd45faa90c3bf7c6feda7d2326cc5
SIZE (hashicorp-go-version-v1.2.1_GH0.tar.gz) = 13911
SHA256 (hashicorp-hcl-v1.0.0_GH0.tar.gz) = 50632428210503070fd2fde748c88b7414bf84a6a0eadebf9d8e596a033bead2
SIZE (hashicorp-hcl-v1.0.0_GH0.tar.gz) = 70658
SHA256 (howeyc-gopass-7cb4b85ec19c_GH0.tar.gz) = f5f5131b92098d8b1bbf9645b9bfd1b22e6cce61807f97fab24dce79f7224073
SIZE (howeyc-gopass-7cb4b85ec19c_GH0.tar.gz) = 11192
SHA256 (htcat-htcat-v1.0.2_GH0.tar.gz) = 6e3eb20766e668e8ff8bbe08a84544b3cbde45d6bdccad0a5fae905a06ef2f7e
SIZE (htcat-htcat-v1.0.2_GH0.tar.gz) = 8561
SHA256 (inconshreveable-log15-8562bdadbbac_GH0.tar.gz) = c76625b3fe7017d6ff993fd7fb9fbddfc0a0b378eaf8f724edf4fb6c2e05d9fb
SIZE (inconshreveable-log15-8562bdadbbac_GH0.tar.gz) = 23564
SHA256 (inconshreveable-mousetrap-v1.0.0_GH0.tar.gz) = 5edc7731c819c305623568e317aa253d342be3447def97f1fa9e10eb5ad819f6
SIZE (inconshreveable-mousetrap-v1.0.0_GH0.tar.gz) = 2290
SHA256 (jesseduffield-gocui-v0.3.0_GH0.tar.gz) = dfb4a63b0a3740ab5332186dfdddc2f1d934aabf33020281589351635dcdea59
SIZE (jesseduffield-gocui-v0.3.0_GH0.tar.gz) = 25366
SHA256 (jinzhu-gorm-v1.9.16_GH0.tar.gz) = c7ea6db55ab5226b6eb71e5654d14690459d02304df50cdf4adbe70db0308cab
SIZE (jinzhu-gorm-v1.9.16_GH0.tar.gz) = 97157
SHA256 (jinzhu-inflection-v1.0.0_GH0.tar.gz) = 582808364cc268544e3e6775b15d7fffbc28ccfb930a29840bb25e32d7d95e1f
SIZE (jinzhu-inflection-v1.0.0_GH0.tar.gz) = 4766
SHA256 (jmespath-go-jmespath-v0.3.0_GH0.tar.gz) = 3ecaa95ad8c9b2805f3de299133f112f198b5829de6ca0e27fa28b9f4801e18a
SIZE (jmespath-go-jmespath-v0.3.0_GH0.tar.gz) = 49962
SHA256 (k0kubun-pp-v3.0.1_GH0.tar.gz) = 7ee809d1b55839d39965151142988bbb51ebb1e8105086703c55caf3e8eb0488
SIZE (k0kubun-pp-v3.0.1_GH0.tar.gz) = 9734
SHA256 (knqyf263-go-apk-version-041fdbb8563f_GH0.tar.gz) = 04f2b1e2ba43e53d5cf463f26f525519a77561fd4a9262fe28165c30b1806578
SIZE (knqyf263-go-apk-version-041fdbb8563f_GH0.tar.gz) = 16863
SHA256 (knqyf263-go-cpe-659663f6eca2_GH0.tar.gz) = 429ea378b3e3918df8c6e6550e2d0bd421f104206fad25bdf5282d628f14dc52
SIZE (knqyf263-go-cpe-659663f6eca2_GH0.tar.gz) = 2650095
SHA256 (knqyf263-go-deb-version-09fca494f03d_GH0.tar.gz) = 64957f07eb50a3180bb210aa18fa491e837244754a79d5e503af5d6e87af830b
SIZE (knqyf263-go-deb-version-09fca494f03d_GH0.tar.gz) = 5366
SHA256 (knqyf263-go-rpm-version-74609b86c936_GH0.tar.gz) = 1958449c376e665d737faabca213b456fd89c7c359457a71e6eb7630bc6dcdd8
SIZE (knqyf263-go-rpm-version-74609b86c936_GH0.tar.gz) = 19838
SHA256 (knqyf263-gost-v0.1.7_GH0.tar.gz) = 814d2af26a1d5459bc4d8b8a8e0797c6997fbd23329f3c882a0a2f2d6fe39e79
SIZE (knqyf263-gost-v0.1.7_GH0.tar.gz) = 1276208
SHA256 (konsorten-go-windows-terminal-sequences-v1.0.3_GH0.tar.gz) = 0fe1169bb05476f0a3270866cdd9b39b7986a1dce556f6508046ac5f0c5ad8f3
SIZE (konsorten-go-windows-terminal-sequences-v1.0.3_GH0.tar.gz) = 1983
SHA256 (kotakanbe-go-cve-dictionary-v0.5.5_GH0.tar.gz) = 19b0e10daff6946717d441eb6a9e056fe2a28cd2e5b008a97ff2fd2f2c952fc3
SIZE (kotakanbe-go-cve-dictionary-v0.5.5_GH0.tar.gz) = 46715
SHA256 (kotakanbe-go-pingscanner-v0.1.0_GH0.tar.gz) = 8be39850ce4db2cdf3a7d6c99d5b875c820beecc18e21e8e4bc95e143526e32d
SIZE (kotakanbe-go-pingscanner-v0.1.0_GH0.tar.gz) = 5681
SHA256 (kotakanbe-goval-dictionary-v0.2.15_GH0.tar.gz) = cf98cc87193f37cd333e29f2d466087b23098dbc1a1af49e15606cbf79dc2903
SIZE (kotakanbe-goval-dictionary-v0.2.15_GH0.tar.gz) = 50754
SHA256 (kotakanbe-logrus-prefixed-formatter-928f7356cb96_GH0.tar.gz) = 5bfc2676b09dbb0b0f7e3670dd98398d40768bb77e3c91338357cd41a062c153
SIZE (kotakanbe-logrus-prefixed-formatter-928f7356cb96_GH0.tar.gz) = 4561
SHA256 (kubernetes-utils-6e3d28b6ed19_GH0.tar.gz) = bb4193c0720ad21dce972992fe0c3c20e95709199f002008b6b00bf4736e876b
SIZE (kubernetes-utils-6e3d28b6ed19_GH0.tar.gz) = 89750
SHA256 (labstack-gommon-v0.3.0_GH0.tar.gz) = c23fa6b18c3f3c4dc917e7fb6d40db88ca2d13f51dbc9a8e8e098b8aa03611e9
SIZE (labstack-gommon-v0.3.0_GH0.tar.gz) = 11426
SHA256 (lib-pq-v1.8.0_GH0.tar.gz) = bd13c7ba79f48a1462cdb6f124948453e2f6fc565f3f9a3850618775189bca59
SIZE (lib-pq-v1.8.0_GH0.tar.gz) = 101945
SHA256 (magiconair-properties-v1.8.1_GH0.tar.gz) = 4449df3d2be86608bfc997228f66f1cff57bf620cc5bf9ba44339c7e4c5612dd
SIZE (magiconair-properties-v1.8.1_GH0.tar.gz) = 29735
SHA256 (mattn-go-colorable-v0.1.0_GH0.tar.gz) = dda99ff08534b423f5306a3ce3be9e0a18a46fbba5720c53b78e107fac8e8ff3
SIZE (mattn-go-colorable-v0.1.0_GH0.tar.gz) = 8206
SHA256 (mattn-go-colorable-v0.1.8_GH0.tar.gz) = 1027954f9abbe06b6e117e3047af70204dd0eb4f8c27fcd459fb2574b279755f
SIZE (mattn-go-colorable-v0.1.8_GH0.tar.gz) = 9571
SHA256 (mattn-go-isatty-v0.0.12_GH0.tar.gz) = addbdc341d7685ed4cc8d2d8a8fd2bd9b784bde00d0ea99fb251039fc10c611c
SIZE (mattn-go-isatty-v0.0.12_GH0.tar.gz) = 4548
SHA256 (mattn-go-isatty-v0.0.6_GH0.tar.gz) = 798c24d6e9d74c46565fa5899a514e773d7b254ee7bf45aba700f1e84681e421
SIZE (mattn-go-isatty-v0.0.6_GH0.tar.gz) = 3566
SHA256 (mattn-go-runewidth-v0.0.9_GH0.tar.gz) = 4f20a337ad06e071f29535afe9c5207d3e8840c8c86672bbc5f9837c6229c835
SIZE (mattn-go-runewidth-v0.0.9_GH0.tar.gz) = 16714
SHA256 (mattn-go-sqlite3-v2.0.3_GH0.tar.gz) = ed015860c9b3e701d8cce7dcb0bcb2e2f53071718334465b10abb696f7de0e58
SIZE (mattn-go-sqlite3-v2.0.3_GH0.tar.gz) = 2335418
SHA256 (mgutz-ansi-9520e82c474b_GH0.tar.gz) = f9203c71aceb8b7ffa87181fd8f51dc69acce3d2161c4c017ea92c6840f85093
SIZE (mgutz-ansi-9520e82c474b_GH0.tar.gz) = 4876
SHA256 (mitchellh-go-homedir-v1.1.0_GH0.tar.gz) = 646671c73a84a8dfb4a5a76b80c7b63549ffefa906524d45077301bc7da76600
SIZE (mitchellh-go-homedir-v1.1.0_GH0.tar.gz) = 3362
SHA256 (mitchellh-mapstructure-v1.1.2_GH0.tar.gz) = 53fbc06b125ff1c9c73a4eb1764346932671a29c67a45a92e2ebc6855635069b
SIZE (mitchellh-mapstructure-v1.1.2_GH0.tar.gz) = 20980
SHA256 (moul-http2curl-v1.0.0_GH0.tar.gz) = 3e2b23faaabe555759cf032bd573a2e42883afd33cdf34d8ee24345c1b1eabf3
SIZE (moul-http2curl-v1.0.0_GH0.tar.gz) = 100185
SHA256 (mozqnet-go-exploitdb-v0.1.2_GH0.tar.gz) = 1a2ac6acddfb592540c522539714fb944e1d2c0da4e7aee6d7f5c33fe557bd6f
SIZE (mozqnet-go-exploitdb-v0.1.2_GH0.tar.gz) = 33951
SHA256 (nlopes-slack-v0.6.0_GH0.tar.gz) = 790820722f700c5624ec6c561ee99c8fc629cb81cb58d9bf0fda525395801255
SIZE (nlopes-slack-v0.6.0_GH0.tar.gz) = 187849
SHA256 (nsf-termbox-go-38ba6e5628f1_GH0.tar.gz) = 64783f78c3d7dc8bb3dd0217ee410f4ff25b7f160530fcc772409659e7d9c759
SIZE (nsf-termbox-go-38ba6e5628f1_GH0.tar.gz) = 32821
SHA256 (olekukonko-tablewriter-v0.0.4_GH0.tar.gz) = a86028430fb4dd99ce0030a7c4d37915337c3b9a9efbfd2698b375f3e3488bd0
SIZE (olekukonko-tablewriter-v0.0.4_GH0.tar.gz) = 19252
SHA256 (open-telemetry-opentelemetry-go-v0.14.0_GH0.tar.gz) = f096a442e4674b320d22e4cb253c005a6f3b82630b27e9c8856d0612f590b501
SIZE (open-telemetry-opentelemetry-go-v0.14.0_GH0.tar.gz) = 469278
SHA256 (parnurzeal-gorequest-v0.2.16_GH0.tar.gz) = 8c7e8454a6fa00df668c508099bfe6c24b68f15c9619a2a32d9cd6e158308214
SIZE (parnurzeal-gorequest-v0.2.16_GH0.tar.gz) = 31130
SHA256 (pelletier-go-toml-v1.2.0_GH0.tar.gz) = 1a5a620f680033f17e34148bee8f26d96d8c27ff1d7f56f0fe1c7253595b5244
SIZE (pelletier-go-toml-v1.2.0_GH0.tar.gz) = 57496
SHA256 (pkg-errors-v0.9.1_GH0.tar.gz) = 56bfd893023daa498508bfe161de1be83299fcf15376035e7df79cbd7d6fa608
SIZE (pkg-errors-v0.9.1_GH0.tar.gz) = 13415
SHA256 (pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 28f3dc1b5c0efd61203ab07233f774740d3bf08da4d8153fb5310db6cea0ebda
SIZE (pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 11398
SHA256 (protocolbuffers-protobuf-go-v1.23.0_GH0.tar.gz) = e7266bedaa4f110216fce52ae533dc5eba475d3829bb0592e8876684e202ae1f
SIZE (protocolbuffers-protobuf-go-v1.23.0_GH0.tar.gz) = 1214648
SHA256 (rifflock-lfshook-b9218ef580f5_GH0.tar.gz) = 1aea08ab38a9598e4594ef746017e20d975004b18fd0341244fafaa1b479be8b
SIZE (rifflock-lfshook-b9218ef580f5_GH0.tar.gz) = 3828
SHA256 (satori-go.uuid-v1.2.0_GH0.tar.gz) = 6f9d9549958252d7c5a5ed1cabeedeaab7a600ca0b888a3666cce4c3590aa5a7
SIZE (satori-go.uuid-v1.2.0_GH0.tar.gz) = 8297
SHA256 (sirupsen-logrus-v1.6.0_GH0.tar.gz) = 536151aa2fed39e2b74925f81c8cd31f0c02c013881ba2d30982731d12424ed0
SIZE (sirupsen-logrus-v1.6.0_GH0.tar.gz) = 45748
SHA256 (spf13-afero-v1.3.0_GH0.tar.gz) = b9c69f3ac7fd28697486d91d24b72b6385a7b05bade25f50d6edfc738632943b
SIZE (spf13-afero-v1.3.0_GH0.tar.gz) = 52208
SHA256 (spf13-cast-v1.3.0_GH0.tar.gz) = e685282ea33f89e9354d148ad1886f532bcebe86b0b60a167988f7c6d081085f
SIZE (spf13-cast-v1.3.0_GH0.tar.gz) = 11085
SHA256 (spf13-cobra-v1.0.0_GH0.tar.gz) = 58dbfe1b4dbc6751575e94d1e62d073098e0b41790bc1c7a7a95ec6b870ac697
SIZE (spf13-cobra-v1.0.0_GH0.tar.gz) = 128897
SHA256 (spf13-jwalterweatherman-v1.0.0_GH0.tar.gz) = 2ece12b964e0d230b10851555185d42d3c81b401efda044265ae716eb1d0bc2d
SIZE (spf13-jwalterweatherman-v1.0.0_GH0.tar.gz) = 6392
SHA256 (spf13-pflag-v1.0.5_GH0.tar.gz) = 9a2cae1f8e8ab0d2cc8ebe468e871af28d9ac0962cf0520999e3ba85f0c7b808
SIZE (spf13-pflag-v1.0.5_GH0.tar.gz) = 50796
SHA256 (spf13-viper-v1.7.0_GH0.tar.gz) = 95ce28f25d50b0a484479d46ec1576e786b92c70efdc2ad58089505c4ee0850d
SIZE (spf13-viper-v1.7.0_GH0.tar.gz) = 82340
SHA256 (stretchr-objx-v0.3.0_GH0.tar.gz) = 831cb044305e573d9ed18928b87feb1d31d1f17f3f54ec962d037c36f5463e24
SIZE (stretchr-objx-v0.3.0_GH0.tar.gz) = 80456
SHA256 (stretchr-testify-v1.6.1_GH0.tar.gz) = 40fd7204ab72ca9d8759f1cc3604dd17f556a0f9177f6fc05dd0cad9f06e708f
SIZE (stretchr-testify-v1.6.1_GH0.tar.gz) = 84215
SHA256 (subosito-gotenv-v1.2.0_GH0.tar.gz) = 5f6826992c11981018c77377f33dbc56d0be932e0d38a2f51e795c99725e7ba5
SIZE (subosito-gotenv-v1.2.0_GH0.tar.gz) = 7359
SHA256 (takuzoo3868-go-msfdb-v0.1.3_GH0.tar.gz) = d6f725663f5d5234d68f610f1be14289ff68aa2b5f59f5fc4114fff991e90fda
SIZE (takuzoo3868-go-msfdb-v0.1.3_GH0.tar.gz) = 34720
SHA256 (uber-go-atomic-v1.5.1_GH0.tar.gz) = 25c3916c4767a2b50276c037e3ae6a222561f6dcb1026d822594d01aba32db50
SIZE (uber-go-atomic-v1.5.1_GH0.tar.gz) = 9613
SHA256 (uber-go-multierr-v1.4.0_GH0.tar.gz) = f0c1f8e14c4826a68a8e196a71bc55d2dd825df188be28318000953cf1329b89
SIZE (uber-go-multierr-v1.4.0_GH0.tar.gz) = 12298
SHA256 (uber-go-tools-2cfd321de3ee_GH0.tar.gz) = a7d91d3ddea6d8a83240af46436e02d65b835b60bcb85ad1c5bc6aebad32f567
SIZE (uber-go-tools-2cfd321de3ee_GH0.tar.gz) = 11054
SHA256 (uber-go-zap-v1.13.0_GH0.tar.gz) = dcadd2fc1a93124b594e2fd951456bb1727f922f5ef005e388273851d0607ae7
SIZE (uber-go-zap-v1.13.0_GH0.tar.gz) = 122949
SHA256 (valyala-bytebufferpool-v1.0.0_GH0.tar.gz) = 089013e3429ebe7fd2bc3527f003bf3f3f639891e5d8ba6a56010e3671465e1f
SIZE (valyala-bytebufferpool-v1.0.0_GH0.tar.gz) = 5025
SHA256 (valyala-fasttemplate-v1.2.1_GH0.tar.gz) = 14881149dfc3d49606728d0c8e704cfaeb7fbbf2c42d20e771cf1bbae9fb1044
SIZE (valyala-fasttemplate-v1.2.1_GH0.tar.gz) = 11550
SHA256 (ymomoi-goval-parser-0a0be1dd9d08_GH0.tar.gz) = eaa0181ce359747b35e1c2601935a5cf4ff3cfc5777b019c9496490fc1600764
SIZE (ymomoi-goval-parser-0a0be1dd9d08_GH0.tar.gz) = 634604
TIMESTAMP = 1706282979
SHA256 (go/security_vuls/vuls-v0.24.8/v0.24.8.mod) = dc2572deaa210882ac4b6f41134448ac95823ced1cea49a3852571249149c888
SIZE (go/security_vuls/vuls-v0.24.8/v0.24.8.mod) = 9580
SHA256 (go/security_vuls/vuls-v0.24.8/v0.24.8.zip) = 79e48c40b248448a282ee4e51a372e247b8a8ae3af4ceb1c8bdc83de4723a241
SIZE (go/security_vuls/vuls-v0.24.8/v0.24.8.zip) = 1269541

View file

@ -0,0 +1,191 @@
# https://vuls.io/docs/en/config.toml.html#database-section
#
# Make sure you have go-cve-dictionaries updated and running, and use http. If
# have multiple hosts, set up the go-cve-dictionaries on one central host.
#
[cveDict]
#type = ["sqlite3", "mysql", "postgres", "redis", "http" ]
type = "http"
#sqlite3Path = "/var/db/vuls/cve.sqlite3"
url = "http://localhost:1323"
# Not used, but sadly an empty database will be created when creating report or
# tui.
[ovalDict]
#type = ["sqlite3", "mysql", "postgres", "redis", "http" ]
type = "sqlite3"
sqlite3Path = "/var/tmp/vuls/oval.sqlite3"
#url = ""
# Not used, but sadly an empty database will be created when creating report or
# tui.
[gost]
#type = ["sqlite3", "mysql", "postgres", "redis", "http" ]
type = "sqlite3"
sqlite3Path = "/var/tmp/vuls/gost.sqlite3"
#url = ""
# Not used, but sadly an empty database will be created when creating report or
# tui.
[exploit]
#type = ["sqlite3", "mysql", "postgres", "redis", "http" ]
type = "sqlite3"
sqlite3Path = "/var/tmp/vuls/go-exploitdb.sqlite3"
#url = ""
# Not used, but sadly an empty database will be created when creating report or
# tui.
[metasploit]
#type = ["sqlite3", "mysql", "postgres", "redis", "http" ]
type = "sqlite3"
sqlite3Path = "/var/tmp/vuls/go-msfdb.sqlite3"
#url = ""
# Not used, but sadly an empty database will be created when creating report or
# tui.
[kevuln]
#type = ["sqlite3", "mysql", "postgres", "redis", "http" ]
type = "sqlite3"
sqlite3Path = "/var/tmp/vuls/go-kev.sqlite3"
#url = ""
# Not used, but sadly an empty database will be created when creating report or
# tui.
[cti]
#type = ["sqlite3", "mysql", "postgres", "redis", "http" ]
type = "sqlite3"
sqlite3Path = "/var/tmp/vuls/go-cti.sqlite3"
#url = ""
# https://vuls.io/docs/en/config.toml.html#slack-section
#[slack]
#hookURL = "https://hooks.slack.com/services/abc123/defghijklmnopqrstuvwxyz"
##legacyToken = "xoxp-11111111111-222222222222-3333333333"
#channel = "#channel-name"
##channel = "${servername}"
#iconEmoji = ":ghost:"
#authUser = "username"
#notifyUsers = ["@username"]
# https://vuls.io/docs/en/config.toml.html#email-section
#[email]
#smtpAddr = "smtp.example.com"
#smtpPort = "587"
#user = "username"
#password = "password"
#from = "from@example.com"
#to = ["to@example.com"]
#cc = ["cc@example.com"]
#subjectPrefix = "[vuls]"
# https://vuls.io/docs/en/config.toml.html#http-section
#[http]
#url = "http://localhost:11234"
# https://vuls.io/docs/en/config.toml.html#syslog-section
#[syslog]
#protocol = "tcp"
#host = "localhost"
#port = "514"
#tag = "vuls"
#facility = "local0"
#severity = "alert"
#verbose = false
# https://vuls.io/docs/en/usage-report.html#example-put-results-in-s3-bucket
#[aws]
#profile = "default"
#region = "ap-northeast-1"
#s3Bucket = "vuls"
#s3ResultsDir = "/path/to/result"
#s3ServerSideEncryption = "AES256"
# https://vuls.io/docs/en/usage-report.html#example-put-results-in-azure-blob-storage<Paste>
#[azure]
#accountName = "default"
#accountKey = "xxxxxxxxxxxxxx"
#containerName = "vuls"
# https://vuls.io/docs/en/config.toml.html#chatwork-section
#[chatwork]
#room = "xxxxxxxxxxx"
#apiToken = "xxxxxxxxxxxxxxxxxx"
# https://vuls.io/docs/en/config.toml.html#telegram-section
#[telegram]
#chatID = "xxxxxxxxxxx"
#token = "xxxxxxxxxxxxxxxxxx"
#[wpscan]
#token = "xxxxxxxxxxx"
#detectInactive = false
# https://vuls.io/docs/en/config.toml.html#default-section
[default]
#port = "22"
#user = "username"
#keyPath = "/home/username/.ssh/id_rsa"
#scanMode = ["fast", "fast-root", "deep", "offline"]
#scanModules = ["ospkg", "wordpress", "lockfile", "port"]
#lockfiles = ["/path/to/package-lock.json"]
#cpeNames = [
# "cpe:/a:rubyonrails:ruby_on_rails:4.2.1",
#]
#owaspDCXMLPath = "/tmp/dependency-check-report.xml"
#ignoreCves = ["CVE-2014-6271"]
#ignorePkgsRegexp = ["^kernel", "^python"]
#containersOnly = false
#containerType = "docker" #or "lxd" or "lxc" default: docker
#containersIncluded = ["${running}"]
#containersExcluded = ["container_name_a"]
# https://vuls.io/docs/en/config.toml.html#servers-section
[servers]
[servers.localhost]
host = "localhost"
port = "local"
#user = "root"
#sshConfigPath = "/home/username/.ssh/config"
#keyPath = "/home/username/.ssh/id_rsa"
#scanMode = ["fast", "fast-root", "deep", "offline"]
#scanModules = ["ospkg", "wordpress", "lockfile", "port"]
#type = "pseudo"
#memo = "DB Server"
#findLock = true
#findLockDirs = ["/path/to/dir"]
#lockfiles = ["/path/to/package-lock.json"]
#cpeNames = [ "cpe:/a:rubyonrails:ruby_on_rails:4.2.1" ]
#owaspDCXMLPath = "/path/to/dependency-check-report.xml"
#ignoreCves = ["CVE-2014-0160"]
#ignorePkgsRegexp = ["^kernel", "^python"]
#containersOnly = false
#containerType = "docker" #or "lxd" or "lxc" default: docker
#containersIncluded = ["${running}"]
#containersExcluded = ["container_name_a"]
#[servers.127-0-0-1.containers.container_name_a]
#cpeNames = [ "cpe:/a:rubyonrails:ruby_on_rails:4.2.1" ]
#owaspDCXMLPath = "/path/to/dependency-check-report.xml"
#ignoreCves = ["CVE-2014-0160"]
#ignorePkgsRegexp = ["^kernel", "^python"]
#[servers.127-0-0-1.githubs."owner/repo"]
#token = "yourToken"
#IgnoreGithubDismissed = true
#[servers.127-0-0-1.wordpress]
#cmdPath = "/usr/local/bin/wp"
#osUser = "wordpress"
#docRoot = "/path/to/DocumentRoot/"
#[servers.192-168-11-6.portscan]
#scannerBinPath = "/usr/bin/nmap"
#hasPrivileged = true
#scanTechniques = ["sS"]
#sourcePort = "65535"
#[servers.127-0-0-1.optional]
#key = "value1"

View file

@ -1,29 +0,0 @@
[servers]
[servers.localhost]
host = "localhost"
port = "local"
#
# [servers.172-31-4-82]
# host = "172.31.4.82"
# port = "22"
# user = "ec2-user"
# keyPath = "/home/ec2-user/.ssh/id_rsa"
#
# [slack]
# hookURL = "https://hooks.slack.com/services/abc123/defghijklmnopqrstuvwxyz"
# channel = "#channel-name"
# iconEmoji = ":ghost:"
# authUser = "username"
# notifyUsers = ["@username"]
#
# [email]
# smtpAddr = "smtp.gmail.com"
# smtpPort = "587"
# user = "username"
# password = "password"
# from = "from@address.com"
# to = ["to@address.com"]
# cc = ["cc@address.com"]
# subjectPrefix = "[vuls]"

View file

@ -0,0 +1,6 @@
# configuration file for newsyslog for sqlpage
#
# see newsyslog.conf(5) for details
#
# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num]
/var/log/vuls/vuls.log vuls:vuls 640 7 100 * J /var/run/vuls_daemon.pid

View file

@ -1,22 +1,21 @@
--- subcmds/configtest.go.orig 2020-11-27 21:39:52 UTC
--- subcmds/configtest.go.orig 1979-11-29 23:00:00 UTC
+++ subcmds/configtest.go
@@ -4,8 +4,7 @@ import (
@@ -4,8 +4,6 @@ import (
"context"
"flag"
"fmt"
- "os"
- "path/filepath"
+ "path/filepath"
"strings"
"github.com/google/subcommands"
@@ -48,8 +47,7 @@ func (*ConfigtestCmd) Usage() string {
@@ -46,8 +44,7 @@ func (p *ConfigtestCmd) SetFlags(f *flag.FlagSet) {
// SetFlags set flag
func (p *ConfigtestCmd) SetFlags(f *flag.FlagSet) {
- wd, _ := os.Getwd()
- defaultConfPath := filepath.Join(wd, "config.toml")
+ defaultConfPath := filepath.Join("%%ETCDIR%%", "config.toml")
+ defaultConfPath := "%%ETCDIR%%/config.toml"
f.StringVar(&p.configPath, "config", defaultConfPath, "/path/to/toml")
defaultLogDir := util.GetDefaultLogDir()
defaultLogDir := logging.GetDefaultLogDir()

View file

@ -1,24 +1,11 @@
--- subcmds/report.go.orig 2020-11-27 21:39:52 UTC
--- subcmds/report.go.orig 1979-11-29 23:00:00 UTC
+++ subcmds/report.go
@@ -108,10 +108,10 @@ func (p *ReportCmd) SetFlags(f *flag.FlagSet) {
f.BoolVar(&c.Conf.Quiet, "quiet", false, "Quiet mode. No output on stdout")
f.BoolVar(&c.Conf.NoProgress, "no-progress", false, "Suppress progress bar")
@@ -108,7 +108,7 @@ func (p *ReportCmd) SetFlags(f *flag.FlagSet) {
f.BoolVar(&config.Conf.NoProgress, "no-progress", false, "Suppress progress bar")
- wd, _ := os.Getwd()
wd, _ := os.Getwd()
- defaultConfPath := filepath.Join(wd, "config.toml")
+ defaultConfPath := filepath.Join("%%ETCDIR%%", "config.toml")
+ defaultConfPath := "%%ETCDIR%%/config.toml"
f.StringVar(&p.configPath, "config", defaultConfPath, "/path/to/toml")
+ wd, _ := os.Getwd()
defaultResultsDir := filepath.Join(wd, "results")
f.StringVar(&c.Conf.ResultsDir, "results-dir", defaultResultsDir, "/path/to/results")
@@ -177,7 +177,7 @@ func (p *ReportCmd) SetFlags(f *flag.FlagSet) {
f.StringVar(&p.cveDict.Type, "cvedb-type", "",
"DB type of go-cve-dictionary (sqlite3, mysql, postgres, redis or http)")
- f.StringVar(&p.cveDict.SQLite3Path, "cvedb-sqlite3-path", "", "/path/to/sqlite3")
+ f.StringVar(&p.cveDict.SQLite3Path, "cvedb-sqlite3-path", "", "/var/db/vuls/cve.sqlite3")
f.StringVar(&p.cveDict.URL, "cvedb-url", "",
"http://go-cve-dictionary.com:1323 or DB connection string")

View file

@ -0,0 +1,11 @@
--- subcmds/report_windows.go.orig 1979-11-29 23:00:00 UTC
+++ subcmds/report_windows.go
@@ -107,7 +107,7 @@ func (p *ReportCmd) SetFlags(f *flag.FlagSet) {
f.BoolVar(&config.Conf.NoProgress, "no-progress", false, "Suppress progress bar")
wd, _ := os.Getwd()
- defaultConfPath := filepath.Join(wd, "config.toml")
+ defaultConfPath := "%%ETCDIR%%/config.toml"
f.StringVar(&p.configPath, "config", defaultConfPath, "/path/to/toml")
defaultResultsDir := filepath.Join(wd, "results")

View file

@ -0,0 +1,11 @@
--- subcmds/saas.go.orig 1979-11-29 23:00:00 UTC
+++ subcmds/saas.go
@@ -46,7 +46,7 @@ func (p *SaaSCmd) SetFlags(f *flag.FlagSet) {
f.BoolVar(&config.Conf.Quiet, "quiet", false, "Quiet mode. No output on stdout")
wd, _ := os.Getwd()
- defaultConfPath := filepath.Join(wd, "config.toml")
+ defaultConfPath := "%%ETCDIR%%/config.toml"
f.StringVar(&p.configPath, "config", defaultConfPath, "/path/to/toml")
defaultResultsDir := filepath.Join(wd, "results")

View file

@ -1,22 +1,11 @@
--- subcmds/scan.go.orig 2020-11-27 21:39:52 UTC
--- subcmds/scan.go.orig 1979-11-29 23:00:00 UTC
+++ subcmds/scan.go
@@ -64,8 +64,8 @@ func (p *ScanCmd) SetFlags(f *flag.FlagSet) {
f.BoolVar(&c.Conf.Debug, "debug", false, "debug mode")
f.BoolVar(&c.Conf.Quiet, "quiet", false, "Quiet mode. No output on stdout")
@@ -61,7 +61,7 @@ func (p *ScanCmd) SetFlags(f *flag.FlagSet) {
f.BoolVar(&config.Conf.Quiet, "quiet", false, "Quiet mode. No output on stdout")
- wd, _ := os.Getwd()
wd, _ := os.Getwd()
- defaultConfPath := filepath.Join(wd, "config.toml")
+ wd, _ := os.Getwd()
+ defaultConfPath := filepath.Join("%%ETCDIR%%", "config.toml")
+ defaultConfPath := "%%ETCDIR%%/config.toml"
f.StringVar(&p.configPath, "config", defaultConfPath, "/path/to/toml")
defaultResultsDir := filepath.Join(wd, "results")
@@ -74,7 +74,7 @@ func (p *ScanCmd) SetFlags(f *flag.FlagSet) {
defaultLogDir := util.GetDefaultLogDir()
f.StringVar(&c.Conf.LogDir, "log-dir", defaultLogDir, "/path/to/log")
- defaultCacheDBPath := filepath.Join(wd, "cache.db")
+ defaultCacheDBPath := "/var/db/vuls/cache.db"
f.StringVar(&c.Conf.CacheDBPath, "cachedb-path", defaultCacheDBPath,
"/path/to/cache.db (local cache of changelog for Ubuntu/Debian)")

View file

@ -0,0 +1,11 @@
--- subcmds/server.go.orig 1979-11-29 23:00:00 UTC
+++ subcmds/server.go
@@ -60,7 +60,7 @@ func (p *ServerCmd) SetFlags(f *flag.FlagSet) {
f.BoolVar(&config.Conf.DebugSQL, "debug-sql", false, "SQL debug mode")
wd, _ := os.Getwd()
- defaultConfPath := filepath.Join(wd, "config.toml")
+ defaultConfPath := "%%ETCDIR%%/config.toml"
f.StringVar(&p.configPath, "config", defaultConfPath, "/path/to/toml")
defaultResultsDir := filepath.Join(wd, "results")

View file

@ -1,11 +1,11 @@
--- subcmds/tui.go.orig 2020-12-04 00:20:42 UTC
--- subcmds/tui.go.orig 1979-11-29 23:00:00 UTC
+++ subcmds/tui.go
@@ -111,7 +111,7 @@ func (p *TuiCmd) SetFlags(f *flag.FlagSet) {
@@ -72,7 +72,7 @@ func (p *TuiCmd) SetFlags(f *flag.FlagSet) {
defaultResultsDir := filepath.Join(wd, "results")
f.StringVar(&config.Conf.ResultsDir, "results-dir", defaultResultsDir, "/path/to/results")
f.StringVar(&p.cveDict.Type, "cvedb-type", "",
"DB type of go-cve-dictionary (sqlite3, mysql, postgres or redis)")
- f.StringVar(&p.cveDict.SQLite3Path, "cvedb-path", "", "/path/to/sqlite3")
+ f.StringVar(&p.cveDict.SQLite3Path, "cvedb-path", "", "/var/db/vuls/cve.sqlite3")
f.StringVar(&p.cveDict.URL, "cvedb-url", "",
"http://go-cve-dictionary.com:1323 or DB connection string")
- defaultConfPath := filepath.Join(wd, "config.toml")
+ defaultConfPath := "%%ETCDIR%%/config.toml"
f.StringVar(&p.configPath, "config", defaultConfPath, "/path/to/toml")
f.BoolVar(&config.Conf.RefreshCve, "refresh-cve", false,

View file

@ -0,0 +1,42 @@
#!/bin/sh
#
# Create a fresh vuls report on a daily basis
#
# daily_vuls_enable - enable nightly vuls reports
# daily_vuls_results_dir - modify results dir from the default /var/db/vuls/reports
# daily_vuls_http_url - send resports to a central repository running a vuls server
# for example. http://localhost:5155/vuls
# daily_vuls_flags - additionals flags for `vuls report'
#
# daily_vuls_user - Set user to run vuls
# Default is "%%USERS%%"
# If there is a global system configuration file, suck it in.
#
if [ -r /etc/defaults/periodic.conf ]
then
. /etc/defaults/periodic.conf
source_periodic_confs
fi
: ${daily_vuls_enable:=NO}
: ${daily_vuls_results_dir:=/var/db/vuls/results}
: ${daily_vuls_user:=%%USERS%%}
case "${daily_vuls_enable}" in
[Yy][Ee][Ss])
mkdir -p /var/log/vuls
su -fm %%USERS%% \
-c "/usr/bin/env HOME=/var/db/vuls %%PREFIX%%/bin/vuls scan -results-dir=${daily_vuls_results_dir}" \
>> /var/log/vuls/vuls_scan.log 2>&1
if [ -n "${daily_vuls_http_url}" ]; then
flags="-to-http"
else
flags="-to-localfile"
fi
flags="${flags} ${daily_vuls_flags}"
su -fm ${daily_vuls_user} \
-c "/usr/bin/env HOME=/var/db/vuls VULS_HTTP_URL=\"${daily_vuls_http_url}\" %%PREFIX%%/bin/vuls report -results-dir=${daily_vuls_results_dir} ${flags}" \
>> /var/log/vuls/vuls_scan.log 2>&1
esac

View file

@ -0,0 +1,30 @@
[
{ type: install
message: <<EOM
Congratulations, you have installed %%PORTNAME%%!
To use vuls, install vuls on all your machines and activate the daily
(nightly) periodic script using
sysrc -f /etc/periodic.conf daily_vuls_enable="YES"
Configure vuls by editing %%ETCDIR%%/config.toml.
Vuls uses the port security/go-cve-dictionary to look up information about
packages' CVEs. Install that port separately somewhere in your infrastructure,
start the service and point vuls to it for CVE queries by editing vuls'
configuration in %%PREFIX%%/etc/vuls.conf and setting the cveDict url properly.
If you want to use vuls to collect reports from several nodes, set up the vuls
service somewhere in your infrastructure. Set it up by enabling it and start it
using service:
sysrc %%PORTNAME%%_enable="YES"
service %%PORTNAME% start
Also consider installing security/vulsrepo to present the resports in a
friendly human-readable web gui.
EOM
}
]

View file

@ -0,0 +1,56 @@
#!/bin/sh
# PROVIDE: %%PORTNAME%%
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
# to enable this service:
#
# vuls_enable (bool): Set to NO by default
# Set it to YES to enable the vuls server
# vuls_user (string): Set user to run vuls
# Default is "%%USERS%%"
# vuls_group (string): Set group to run vuls
# Default is "%%GROUPS%%"
# vuls_log_file (string): Set file that vuls will log to
# Default is "/var/log/vuls/vuls.log"
# vuls_args (string): Set additional command line arguments
# Default is ""
#
# Set up vuls using the config file: %%ETCDIR%%/config.toml
#
. /etc/rc.subr
name=vuls
rcvar=vuls_enable
load_rc_config $name
: ${vuls_enable:="NO"}
: ${vuls_user:="%%USERS%%"}
: ${vuls_group:="%%GROUPS%%"}
: ${vuls_log_file:="/var/log/vuls/vuls.log"}
: ${vuls_results_dir:="/var/db/vuls/results"}
: ${vuls_listen:="0.0.0.0:5515"}
: ${vuls_args:=""}
pidfile=/var/run/${name}.pid
pidfile_daemon=/var/run/${name}_daemon.pid
command="/usr/sbin/daemon"
procname="%%PREFIX%%/bin/%%PORTNAME%%"
command_args="-p ${pidfile} -P ${pidfile_daemon} -t ${name} -Ho ${vuls_log_file} \
${procname} server -results-dir=${vuls_results_dir} -to-localfile -listen=${vuls_listen} ${vuls_args}"
start_precmd=vuls_startprecmd
vuls_startprecmd()
{
/usr/bin/install -o ${vuls_user} -g ${vuls_group} -m 640 /dev/null ${pidfile}
/usr/bin/install -o ${vuls_user} -g ${vuls_group} -m 640 /dev/null ${pidfile_daemon}
}
load_rc_config $name
run_rc_command "$1"

View file

@ -8,3 +8,7 @@ Vuls' features include:
- scan middleware that are not included in OS package management;
- nondestructive testing;
- email and slack notification.
Vuls uses the port security/go-cve-dictionary to look up information about
packages' CVEs. Install that port separately somewhere in your infrastructure
and point to it for CVE queries.

9
security/vuls/pkg-plist Normal file
View file

@ -0,0 +1,9 @@
bin/vuls
etc/periodic/daily/vuls
@sample %%ETCDIR%%/config.toml.sample
@sample etc/newsyslog.conf.d/vuls.conf.sample
@dir(vuls,vuls,0775) /var/db/vuls/results
@dir(vuls,vuls,0775) /var/db/vuls
@dir(vuls,vuls,0775) /var/log/vuls
@dir etc/newsyslog.conf.d
@dir etc/periodic/daily