feat(scanner): Set user http user agent to <name>/<version>

!11
This commit is contained in:
2024-02-24 16:03:26 +09:30
parent 18a4a01b48
commit fab10cae5d
3 changed files with 9 additions and 1 deletions

View File

@ -19,6 +19,13 @@ variables:
DOCKER_IMAGE_PUBLISH_REGISTRY: docker.io/nofusscomputing
DOCKER_IMAGE_PUBLISH_URL: https://hub.docker.com/r/nofusscomputing/$DOCKER_IMAGE_PUBLISH_NAME
RELEASE_ADDITIONAL_ACTIONS_BUMP: |
sed -E "/http_agent: nfc-phpipam-scan-agent/s/\/(.+)/\/$(cz version --project)/g" -i playbooks/tasks/scan_subnet.yaml;
git add playbooks/tasks/scan_subnet.yaml;
git status;
include: