|
38 | 38 | in: path |
39 | 39 | required: true |
40 | 40 | post: |
41 | | - summary: '' |
| 41 | + summary: Create deployment |
42 | 42 | operationId: create_deployment |
43 | 43 | responses: |
44 | 44 | '201': |
|
57 | 57 | $ref: '#/components/schemas/DeploymentInfo' |
58 | 58 | '/deployments/v1/{account_id}/deployments/{deployment_id}': |
59 | 59 | get: |
60 | | - summary: Your GET endpoint |
| 60 | + summary: Get deployment |
61 | 61 | tags: [] |
62 | 62 | responses: |
63 | 63 | '200': |
|
82 | 82 | in: path |
83 | 83 | required: true |
84 | 84 | delete: |
85 | | - summary: '' |
| 85 | + summary: 'Delete deployment' |
86 | 86 | operationId: delete_deployment |
87 | 87 | responses: |
88 | 88 | '204': |
@@ -142,6 +142,15 @@ components: |
142 | 142 | type: boolean |
143 | 143 | default: true |
144 | 144 | description: Whether or not the deployment is discovered. Default is true if not specified. |
| 145 | + features: |
| 146 | + type: object |
| 147 | + properties: |
| 148 | + abs: |
| 149 | + $ref: '#/components/schemas/FeatureScopeInfo' |
| 150 | + scan: |
| 151 | + $ref: '#/components/schemas/FeatureScopeInfo' |
| 152 | + fim: |
| 153 | + $ref: '#/components/schemas/FeatureScopeInfo' |
145 | 154 | scan: |
146 | 155 | type: boolean |
147 | 156 | default: true |
@@ -253,6 +262,30 @@ components: |
253 | 262 | key: |
254 | 263 | type: string |
255 | 264 | description: Asset Key |
| 265 | + FeatureScopeInfo: |
| 266 | + title: Feature Scope Info |
| 267 | + description: "Definition of customer's assets being protected by the particular feature" |
| 268 | + type: array |
| 269 | + items: |
| 270 | + type: object |
| 271 | + description: List of assets being protected by a feature |
| 272 | + properties: |
| 273 | + scope: |
| 274 | + type: array |
| 275 | + items: |
| 276 | + properties: |
| 277 | + type: |
| 278 | + type: string |
| 279 | + enum: |
| 280 | + - deployment |
| 281 | + - region |
| 282 | + - vpc |
| 283 | + - subnet |
| 284 | + - host |
| 285 | + description: 'Asset type. Allowed asset types: deployment, region, vpc.' |
| 286 | + key: |
| 287 | + type: string |
| 288 | + description: Asset Key |
256 | 289 | AzureDeploymentPlatformInfo: |
257 | 290 | title: AzureDeploymentPlatformInfo |
258 | 291 | type: object |
@@ -332,10 +365,15 @@ components: |
332 | 365 | type: boolean |
333 | 366 | discover: |
334 | 367 | type: boolean |
335 | | - scan: |
336 | | - type: boolean |
337 | | - scope: |
338 | | - $ref: '#/components/schemas/DeploymentScopeInfo' |
| 368 | + features: |
| 369 | + type: object |
| 370 | + properties: |
| 371 | + abs: |
| 372 | + $ref: '#/components/schemas/FeatureScopeInfo' |
| 373 | + scan: |
| 374 | + $ref: '#/components/schemas/FeatureScopeInfo' |
| 375 | + fim: |
| 376 | + $ref: '#/components/schemas/FeatureScopeInfo' |
339 | 377 | cloud_defender: |
340 | 378 | type: object |
341 | 379 | properties: |
|
0 commit comments