You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AFAIK rules currently don't have a way to match on case-sensitivity. For example, we now have to use this workaround to check if there is an api-version header:
nlgov:missing-version-header:
severity: errorgiven: $..[responses][?(@property && @property.match(/(2|3)\d\d/))][headers]then:
function: orfunctionOptions:
properties:
- API-Version
- Api-Version
- Api-version
- api-version
- API-versionmessage: "Return the full version number in a response header."
I would like to think about a way to deal with this, so we don't need this workaround anymore.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
AFAIK rules currently don't have a way to match on case-sensitivity. For example, we now have to use this workaround to check if there is an
api-versionheader:I would like to think about a way to deal with this, so we don't need this workaround anymore.
All reactions