File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -615,6 +615,7 @@ The following parameters can be specified to setup seccomp:
615615 Each entry has the following structure:
616616
617617 * ** ` names ` ** * (array of strings, REQUIRED)* - the names of the syscalls.
618+ ` names ` MUST contain at least one entry.
618619
619620 * ** ` action ` ** * (string, REQUIRED)* - the action for seccomp rules.
620621 A valid list of constants as of libseccomp v2.3.2 is shown below.
Original file line number Diff line number Diff line change 6969 "type" : " array" ,
7070 "items" : {
7171 "type" : " string"
72- }
72+ },
73+ "minItems" : 1
7374 },
7475 "action" : {
7576 "$ref" : " #/definitions/SeccompAction"
8081 "$ref" : " #/definitions/SyscallArg"
8182 }
8283 }
83- }
84+ },
85+ "required" : [
86+ " names"
87+ ]
8488 },
8589 "Capability" : {
8690 "description" : " Linux process capabilities" ,
You can’t perform that action at this time.
0 commit comments