diff --git a/signer/aws/aws.go b/signer/aws/aws.go index a812d29fc..05c3fe840 100644 --- a/signer/aws/aws.go +++ b/signer/aws/aws.go @@ -30,6 +30,7 @@ const OpenSearchService = "es" // OpenSearchServerless Amazon OpenSearch Serverless Name const OpenSearchServerless = "aoss" +//nolint:gosec // static empty Body const emptyBodySHA256 = "2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824" // Signer is an interface that will implement opensearchtransport.Signer diff --git a/signer/awsv2/sdkv2signer.go b/signer/awsv2/sdkv2signer.go index 673db6767..aeb00711c 100644 --- a/signer/awsv2/sdkv2signer.go +++ b/signer/awsv2/sdkv2signer.go @@ -29,6 +29,7 @@ import ( const ( openSearchService = "es" + //nolint:gosec // static empty Body emptyStringSHA256 = `e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855` )