Skip to content

Commit 7ed5db4

Browse files
author
cibot
committed
Definitions Update deployments
1 parent 4a6a5de commit 7ed5db4

File tree

1 file changed

+45
-7
lines changed

1 file changed

+45
-7
lines changed

alsdkdefs/apis/deployments/deployments.v1.yaml

Lines changed: 45 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ paths:
3838
in: path
3939
required: true
4040
post:
41-
summary: ''
41+
summary: Create deployment
4242
operationId: create_deployment
4343
responses:
4444
'201':
@@ -57,7 +57,7 @@ paths:
5757
$ref: '#/components/schemas/DeploymentInfo'
5858
'/deployments/v1/{account_id}/deployments/{deployment_id}':
5959
get:
60-
summary: Your GET endpoint
60+
summary: Get deployment
6161
tags: []
6262
responses:
6363
'200':
@@ -82,7 +82,7 @@ paths:
8282
in: path
8383
required: true
8484
delete:
85-
summary: ''
85+
summary: 'Delete deployment'
8686
operationId: delete_deployment
8787
responses:
8888
'204':
@@ -142,6 +142,15 @@ components:
142142
type: boolean
143143
default: true
144144
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'
145154
scan:
146155
type: boolean
147156
default: true
@@ -253,6 +262,30 @@ components:
253262
key:
254263
type: string
255264
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
256289
AzureDeploymentPlatformInfo:
257290
title: AzureDeploymentPlatformInfo
258291
type: object
@@ -332,10 +365,15 @@ components:
332365
type: boolean
333366
discover:
334367
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'
339377
cloud_defender:
340378
type: object
341379
properties:

0 commit comments

Comments
 (0)