Skip to content

Commit

Permalink
Automated commit 'IDNWAIMEA-11385: DAS related changes in Certs API (…
Browse files Browse the repository at this point in the history
…#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
  • Loading branch information
tyler-mairose-sp committed Oct 21, 2023
1 parent bff3c4e commit 239f98d
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 0 deletions.
14 changes: 14 additions & 0 deletions idn/v3/paths/identity-certifications-access-summaries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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':
Expand Down
36 changes: 36 additions & 0 deletions idn/v3/schemas/DataAccess.yaml
Original file line number Diff line number Diff line change
@@ -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

14 changes: 14 additions & 0 deletions idn/v3/schemas/reviews/ReviewableEntitlement.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 239f98d

Please sign in to comment.