You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
added missing securityContext field to 2022-10-01-preview and 2023-01-01-preview swagger (#23447)
* added missing securityContext field to 2022-10-01-preview swagger
* added seccomp to custom-words
* added security context properties to api version 2023-02-01-preview
* run prettier-fix
Copy file name to clipboardExpand all lines: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2022-10-01-preview/containerInstance.json
+60Lines changed: 60 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -947,6 +947,62 @@
947
947
"readinessProbe": {
948
948
"description": "The readiness probe.",
949
949
"$ref": "#/definitions/ContainerProbe"
950
+
},
951
+
"securityContext": {
952
+
"description": "The container security properties.",
953
+
"$ref": "#/definitions/SecurityContextDefinition"
954
+
}
955
+
}
956
+
},
957
+
"SecurityContextDefinition": {
958
+
"description": "The security context for the container.",
959
+
"type": "object",
960
+
"properties": {
961
+
"privileged": {
962
+
"type": "boolean",
963
+
"description": "The flag to determine if the container permissions is elevated to Privileged."
964
+
},
965
+
"allowPrivilegeEscalation": {
966
+
"type": "boolean",
967
+
"description": "A boolean value indicating whether the init process can elevate its privileges"
968
+
},
969
+
"capabilities": {
970
+
"description": "The capabilities to add or drop from a container.",
Copy file name to clipboardExpand all lines: specification/containerinstance/resource-manager/Microsoft.ContainerInstance/preview/2023-02-01-preview/containerInstance.json
+56Lines changed: 56 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -938,6 +938,62 @@
938
938
"readinessProbe": {
939
939
"description": "The readiness probe.",
940
940
"$ref": "#/definitions/ContainerProbe"
941
+
},
942
+
"securityContext": {
943
+
"description": "The container security properties.",
944
+
"$ref": "#/definitions/SecurityContextDefinition"
945
+
}
946
+
}
947
+
},
948
+
"SecurityContextDefinition": {
949
+
"description": "The security context for the container.",
950
+
"type": "object",
951
+
"properties": {
952
+
"privileged": {
953
+
"type": "boolean",
954
+
"description": "The flag to determine if the container permissions is elevated to Privileged."
955
+
},
956
+
"allowPrivilegeEscalation": {
957
+
"type": "boolean",
958
+
"description": "A boolean value indicating whether the init process can elevate its privileges"
959
+
},
960
+
"capabilities": {
961
+
"description": "The capabilities to add or drop from a container.",
0 commit comments