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

!11
This commit is contained in:
2024-02-24 20:01:53 +09:30
parent 8f7ed4888a
commit 15b0ddb068
4 changed files with 19 additions and 1 deletions

View File

@ -49,6 +49,8 @@
cached_file.stat.exists
# Note: Dont edit http_agent version as the build pipeline updates automagically!!
# see ci variable 'RELEASE_ADDITIONAL_ACTIONS_BUMP'
- name: >
PHPIPAM API Call - {{ api_path }}{%- if api_query_string is defined -%}
/?{{ api_query_string }}
@ -61,6 +63,7 @@
{%- endif %}
headers:
token: "{{ api_token }}"
http_agent: nfc-phpipam-scan-agent/0.2.0-a2
return_content: true
status_code:
- 200