Skip to content

Commit 7517090

Browse files
committed
Add permissionsToExclude to MinimalPermissionsGuidancePlugin config schema
1 parent f0698ce commit 7517090

8 files changed

+64
-0
lines changed

schemas/v0.26.0/minimalpermissionsguidanceplugin.schema.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@
88
},
99
"apiSpecsFolderPath": {
1010
"type": "string"
11+
},
12+
"permissionsToExclude": {
13+
"type": "array",
14+
"items": {
15+
"type": "string"
16+
},
17+
"description": "The scopes to ignore and not include in the report. Default: ['profile', 'openid', 'offline_access', 'email'].",
18+
"default": ["profile", "openid", "offline_access", "email"]
1119
}
1220
},
1321
"required": [

schemas/v0.27.0/minimalpermissionsguidanceplugin.schema.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@
1010
"apiSpecsFolderPath": {
1111
"type": "string",
1212
"description": "Relative or absolute path to the folder with API specs. Used to compare JWT token permissions against minimal required scopes."
13+
},
14+
"permissionsToExclude": {
15+
"type": "array",
16+
"items": {
17+
"type": "string"
18+
},
19+
"description": "The scopes to ignore and not include in the report. Default: ['profile', 'openid', 'offline_access', 'email'].",
20+
"default": ["profile", "openid", "offline_access", "email"]
1321
}
1422
},
1523
"required": [

schemas/v0.28.0/minimalpermissionsguidanceplugin.schema.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@
1010
"apiSpecsFolderPath": {
1111
"type": "string",
1212
"description": "Relative or absolute path to the folder with API specs. Used to compare JWT token permissions against minimal required scopes."
13+
},
14+
"permissionsToExclude": {
15+
"type": "array",
16+
"items": {
17+
"type": "string"
18+
},
19+
"description": "The scopes to ignore and not include in the report. Default: ['profile', 'openid', 'offline_access', 'email'].",
20+
"default": ["profile", "openid", "offline_access", "email"]
1321
}
1422
},
1523
"required": [

schemas/v0.29.0/minimalpermissionsguidanceplugin.schema.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@
1010
"apiSpecsFolderPath": {
1111
"type": "string",
1212
"description": "Relative or absolute path to the folder with API specs. Used to compare JWT token permissions against minimal required scopes."
13+
},
14+
"permissionsToExclude": {
15+
"type": "array",
16+
"items": {
17+
"type": "string"
18+
},
19+
"description": "The scopes to ignore and not include in the report. Default: ['profile', 'openid', 'offline_access', 'email'].",
20+
"default": ["profile", "openid", "offline_access", "email"]
1321
}
1422
},
1523
"required": [

schemas/v0.29.1/minimalpermissionsguidanceplugin.schema.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@
1010
"apiSpecsFolderPath": {
1111
"type": "string",
1212
"description": "Relative or absolute path to the folder with API specs. Used to compare JWT token permissions against minimal required scopes."
13+
},
14+
"permissionsToExclude": {
15+
"type": "array",
16+
"items": {
17+
"type": "string"
18+
},
19+
"description": "The scopes to ignore and not include in the report. Default: ['profile', 'openid', 'offline_access', 'email'].",
20+
"default": ["profile", "openid", "offline_access", "email"]
1321
}
1422
},
1523
"required": [

schemas/v0.29.2/minimalpermissionsguidanceplugin.schema.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@
1010
"apiSpecsFolderPath": {
1111
"type": "string",
1212
"description": "Relative or absolute path to the folder with API specs. Used to compare JWT token permissions against minimal required scopes."
13+
},
14+
"permissionsToExclude": {
15+
"type": "array",
16+
"items": {
17+
"type": "string"
18+
},
19+
"description": "The scopes to ignore and not include in the report. Default: ['profile', 'openid', 'offline_access', 'email'].",
20+
"default": ["profile", "openid", "offline_access", "email"]
1321
}
1422
},
1523
"required": [

schemas/v1.0.0/minimalpermissionsguidanceplugin.schema.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@
1010
"apiSpecsFolderPath": {
1111
"type": "string",
1212
"description": "Relative or absolute path to the folder with API specs. Used to compare JWT token permissions against minimal required scopes."
13+
},
14+
"permissionsToExclude": {
15+
"type": "array",
16+
"items": {
17+
"type": "string"
18+
},
19+
"description": "The scopes to ignore and not include in the report. Default: ['profile', 'openid', 'offline_access', 'email'].",
20+
"default": ["profile", "openid", "offline_access", "email"]
1321
}
1422
},
1523
"required": [

schemas/v1.1.0/minimalpermissionsguidanceplugin.schema.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@
1010
"apiSpecsFolderPath": {
1111
"type": "string",
1212
"description": "Relative or absolute path to the folder with API specs. Used to compare JWT token permissions against minimal required scopes."
13+
},
14+
"permissionsToExclude": {
15+
"type": "array",
16+
"items": {
17+
"type": "string"
18+
},
19+
"description": "The scopes to ignore and not include in the report. Default: ['profile', 'openid', 'offline_access', 'email'].",
20+
"default": ["profile", "openid", "offline_access", "email"]
1321
}
1422
},
1523
"required": [

0 commit comments

Comments
 (0)