diff --git a/lib/package/plugins/FE001-authentication.js b/lib/package/plugins/FE001-authentication.js index 6a29c3d..3473530 100644 --- a/lib/package/plugins/FE001-authentication.js +++ b/lib/package/plugins/FE001-authentication.js @@ -157,7 +157,8 @@ const onTargetEndpoint = function (endpoint, cb) { }; checkAuthElements(authNodes, addMessage, "TargetEndpoint", [ "GoogleIDToken", - "GoogleAccessToken" + "GoogleAccessToken", + "HeaderName" ]); } } diff --git a/package-lock.json b/package-lock.json index fd4018d..b019d7b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "apigeelint", - "version": "2.55.3", + "version": "2.55.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "apigeelint", - "version": "2.55.3", + "version": "2.55.4", "license": "MIT", "dependencies": { "@xmldom/xmldom": "^0.8.4", diff --git a/package.json b/package.json index a4fdeba..0842cfc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "apigeelint", - "version": "2.55.3", + "version": "2.55.4", "description": "Node module and tool to lint a bundle for an Apigee API Proxy or sharedflow.", "main": "index.js", "bin": { diff --git a/test/fixtures/resources/FE001-Authentication/apiproxy/targets/target-1.xml b/test/fixtures/resources/FE001-Authentication/apiproxy/targets/target-1.xml index ba9e6a7..d168848 100644 --- a/test/fixtures/resources/FE001-Authentication/apiproxy/targets/target-1.xml +++ b/test/fixtures/resources/FE001-Authentication/apiproxy/targets/target-1.xml @@ -24,6 +24,7 @@ + X-Serverless-Authorization https://www.googleapis.com/auth/cloud-platform diff --git a/test/fixtures/resources/FE001-Authentication/apiproxy/targets/target-3.xml b/test/fixtures/resources/FE001-Authentication/apiproxy/targets/target-3.xml index bf8fbff..9876600 100644 --- a/test/fixtures/resources/FE001-Authentication/apiproxy/targets/target-3.xml +++ b/test/fixtures/resources/FE001-Authentication/apiproxy/targets/target-3.xml @@ -24,6 +24,7 @@ + X-Serverless-Authorization SCOPE