diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-11 15:11:19 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-11 15:11:19 +0000 |
commit | c79523e3952dad31a9ab8ccbb9e38466fec3aec3 (patch) | |
tree | 5435f5c30f00b6b2d6c364f4b0aa977491bfcafe /app/validators | |
parent | 30f9120ba63ea54283c34a046de691a3dbf59450 (diff) | |
download | gitlab-ce-c79523e3952dad31a9ab8ccbb9e38466fec3aec3.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/validators')
-rw-r--r-- | app/validators/json_schemas/build_metadata_id_tokens.json | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app/validators/json_schemas/build_metadata_id_tokens.json b/app/validators/json_schemas/build_metadata_id_tokens.json new file mode 100644 index 00000000000..7f39c7274f3 --- /dev/null +++ b/app/validators/json_schemas/build_metadata_id_tokens.json @@ -0,0 +1,22 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "description": "CI builds metadata ID tokens", + "type": "object", + "patternProperties": { + ".*": { + "type": "object", + "patternProperties": { + "^id_token$": { + "type": "object", + "required": ["aud"], + "properties": { + "aud": { "type": "string" }, + "field": { "type": "string" } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + } + } +} |