Skip to content

Commit

Permalink
fix linter:
Browse files Browse the repository at this point in the history
  • Loading branch information
Long Le authored and Long Le committed Sep 12, 2024
1 parent 8f8d08e commit 6c299e7
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions dev/tykapi-ruleset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ rules:
then:
field: use_keyless
function: falsy
no-empty-target-url:
description: JWT auth is not enabled
given: "$.api_definition"
severity: warning
then:
field: enable_jwt
function: falsy

# no-empty-target-url:
# description: APIs must have a target_url
Expand All @@ -19,14 +26,6 @@ rules:
# functionOptions:
# match: '^(?!\s*$).+'

check-for-jwt-auth:
description: JWT auth is not enabled
given: "$.api_definition"
severity: warning
then:
field: enable_jwt
function: falsy

# check-for-mtls-auth:
# description: MutualTLS is not enabled
# given: "$.api_definition"
Expand Down

0 comments on commit 6c299e7

Please sign in to comment.