From d1fe8c585bf4b63bfb703fa640a1161a9fc37310 Mon Sep 17 00:00:00 2001 From: jboursier Date: Thu, 11 May 2023 15:55:28 +0200 Subject: [PATCH] Update the user-agent Signed-off-by: jboursier --- src/ghas_cli/utils/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ghas_cli/utils/network.py b/src/ghas_cli/utils/network.py index e978e53..601ecac 100644 --- a/src/ghas_cli/utils/network.py +++ b/src/ghas_cli/utils/network.py @@ -21,7 +21,7 @@ def get_github_headers(token: str) -> Dict: return { "accept": "application/vnd.github+json", "authorization": f"Bearer {token}", - "User-Agent": "malwarebytes/bulk_enable_ghas", + "User-Agent": "malwarebytes/ghas-cli", "X-GitHub-Api-Version": "2022-11-28", # https://docs.github.com/en/rest/overview/api-versions#supported-api-versions }