Automated commit 'IDNWAIMEA-11385: DAS related changes in Certs API (#1391)

* IDNWAIMEA-11385: Initial commit for DAS related API changes

* IDNWAIMEA-11385: Added default for all boolean values

* IDNWAIMEA-11385: Fixed linter errors

* IDNWAIMEA-11385: Fixed linter errors

* IDNWAIMEA-11385: Adding nullable in object level for go SDK

* IDNWAIMEA-11385: Moving data access details to DataAccess model

* IDNWAIMEA-11385: Updated example in v3 Access Summaries API

* IDNWAIMEA-11385: Added security for Access Summaries API

* IDNWAIMEA-11385: Added security for Access Summaries API' by github action: 6597365801
This commit is contained in:
GitHub Action Bot
2023-10-21 12:35:07 +00:00
parent bff3c4ea99
commit 239f98d0d2
3 changed files with 64 additions and 0 deletions

View File

@@ -7,6 +7,8 @@ get:
This API returns a list of access summaries for the specified identity campaign certification and type. A token with
ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this
API.
security:
- oauth2: [ idn:certification:read ]
parameters:
- in: path
name: id
@@ -96,6 +98,18 @@ get:
sourceName: ODS-AD-Source
hasPermissions: true
revocable: true
containsDataAccess: true
dataAccess:
policies:
- value: GDPR-1
- value: GDPR-2
categories:
- {value: email-7, matchCount: 74}
- {value: email-9, matchCount: 30}
impactScore:
value: Medium
'400':
$ref: '../responses/400.yaml'
'401':

View File

@@ -0,0 +1,36 @@
type: object
description: DAS data for the entitlement
nullable: true
properties:
policies:
type: array
description: List of classification policies that apply to resources the entitlement \ groups has access to
items:
type: object
properties:
value:
type: string
description: Value of the policy
example: GDPR-20
categories:
type: array
description: List of classification categories that apply to resources the entitlement \ groups has access to
items:
type: object
properties:
value:
type: string
description: Value of the category
example: email-7
matchCount:
type: integer
description: Number of matched for each category
example: 10
impactScore:
type: object
properties:
value:
type: string
description: Impact Score for this data
example: Medium

View File

@@ -17,6 +17,7 @@ properties:
privileged:
type: boolean
example: false
default: false
description: Indicates if the entitlement is a privileged entitlement
owner:
$ref: '../IdentityReferenceWithNameAndEmail.yaml'
@@ -43,19 +44,30 @@ properties:
hasPermissions:
type: boolean
description: Indicates if the entitlement has permissions
default: false
example: false
isPermission:
type: boolean
description: Indicates if the entitlement is a representation of an account permission
example: false
default: false
revocable:
type: boolean
description: Indicates whether the entitlement can be revoked
example: true
default: false
cloudGoverned:
type: boolean
description: True if the entitlement is cloud governed
example: false
default: false
containsDataAccess:
type: boolean
description: True if the entitlement has DAS data
default: false
example: true
dataAccess:
$ref: '../DataAccess.yaml'
account:
type: object
nullable: true
@@ -69,10 +81,12 @@ properties:
type: boolean
example: false
description: Indicates whether this account is currently disabled
default: false
locked:
type: boolean
example: false
description: Indicates whether this account is currently locked
default: false
type:
$ref: '../DtoType.yaml'
id: