Skip to content

Commit 0e4534b

Browse files
authored
Add Provider Header to All Secure Requests (#280)
* Add Provider Header to All Secure Requests * Change to Sysdig-Provider, PR Comment
1 parent 0234a9e commit 0e4534b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sysdig/internal/client/secure/client.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ func (client *sysdigSecureClient) doSysdigSecureRequest(ctx context.Context, met
9595
request = request.WithContext(ctx)
9696
request.Header.Set("Authorization", "Bearer "+client.SysdigSecureAPIToken)
9797
request.Header.Set("Content-Type", "application/json")
98+
request.Header.Set("Sysdig-Provider", "Terraform")
9899
if client.extraHeaders != nil {
99100
for key, value := range client.extraHeaders {
100101
request.Header.Set(key, value)

0 commit comments

Comments
 (0)