apigeelint
Version:
Node module and tool to lint a bundle for an Apigee API Proxy or sharedflow.
11 lines (10 loc) • 548 B
JavaScript
// These are the error messages only for the failed policies.
module.exports = {
"HMAC-Fail-1.xml" : "Algorithm name value should not have leading/trailing whitespace",
"HMAC-Fail-2.xml" : "Missing Algorithm element",
"HMAC-Fail-3.xml" : "More than one Algorithm element",
"HMAC-Fail-4.xml" : "\"private.\" is the only supported prefix for SecretKey ref attribute.",
"HMAC-Fail-5.xml" : "empty ref= attribute on SecretKey",
"HMAC-Fail-6.xml" : "SecretKey must use a ref= attribute",
"HMAC-Fail-7.xml" : "Missing SecretKey element"
};