Compare commits

...

2 Commits

Author SHA1 Message Date
Maha Benzekri b40f0b992d
S3C-7988:setting Id as string on schema
Signed-off-by: Maha Benzekri <maha.benzekri@scality.com>
2023-09-12 17:26:23 +02:00
Maha Benzekri 477e7c787c S3C-7988:setting Id as string on schema 2023-09-12 14:04:29 +02:00
2 changed files with 4 additions and 0 deletions

View File

@ -360,6 +360,9 @@
"type": "string",
"const": "2012-10-17"
},
"Id": {
"type": "string"
},
"Statement": {
"oneOf": [
{

View File

@ -16,6 +16,7 @@ const sampleUserPolicy = {
};
const sampleResourcePolicy = {
Version: '2012-10-17',
Id: 'cd3ad3d9-2776-4ef1-a904-4c229d1642ee',
Statement: [
{
Sid: 'ResourcePolicy1',