mirror of
https://github.com/LukeHagar/api-specs.git
synced 2025-12-08 12:27:48 +00:00
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:
@@ -7,6 +7,8 @@ get:
|
|||||||
This API returns a list of access summaries for the specified identity campaign certification and type. A token with
|
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
|
ORG_ADMIN or CERT_ADMIN authority is required to call this API. Reviewers for this certification can also call this
|
||||||
API.
|
API.
|
||||||
|
security:
|
||||||
|
- oauth2: [ idn:certification:read ]
|
||||||
parameters:
|
parameters:
|
||||||
- in: path
|
- in: path
|
||||||
name: id
|
name: id
|
||||||
@@ -96,6 +98,18 @@ get:
|
|||||||
sourceName: ODS-AD-Source
|
sourceName: ODS-AD-Source
|
||||||
hasPermissions: true
|
hasPermissions: true
|
||||||
revocable: 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':
|
'400':
|
||||||
$ref: '../responses/400.yaml'
|
$ref: '../responses/400.yaml'
|
||||||
'401':
|
'401':
|
||||||
|
|||||||
36
idn/v3/schemas/DataAccess.yaml
Normal file
36
idn/v3/schemas/DataAccess.yaml
Normal 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
|
||||||
|
|
||||||
@@ -17,6 +17,7 @@ properties:
|
|||||||
privileged:
|
privileged:
|
||||||
type: boolean
|
type: boolean
|
||||||
example: false
|
example: false
|
||||||
|
default: false
|
||||||
description: Indicates if the entitlement is a privileged entitlement
|
description: Indicates if the entitlement is a privileged entitlement
|
||||||
owner:
|
owner:
|
||||||
$ref: '../IdentityReferenceWithNameAndEmail.yaml'
|
$ref: '../IdentityReferenceWithNameAndEmail.yaml'
|
||||||
@@ -43,19 +44,30 @@ properties:
|
|||||||
hasPermissions:
|
hasPermissions:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Indicates if the entitlement has permissions
|
description: Indicates if the entitlement has permissions
|
||||||
|
default: false
|
||||||
example: false
|
example: false
|
||||||
isPermission:
|
isPermission:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Indicates if the entitlement is a representation of an account permission
|
description: Indicates if the entitlement is a representation of an account permission
|
||||||
example: false
|
example: false
|
||||||
|
default: false
|
||||||
revocable:
|
revocable:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: Indicates whether the entitlement can be revoked
|
description: Indicates whether the entitlement can be revoked
|
||||||
example: true
|
example: true
|
||||||
|
default: false
|
||||||
cloudGoverned:
|
cloudGoverned:
|
||||||
type: boolean
|
type: boolean
|
||||||
description: True if the entitlement is cloud governed
|
description: True if the entitlement is cloud governed
|
||||||
example: false
|
example: false
|
||||||
|
default: false
|
||||||
|
containsDataAccess:
|
||||||
|
type: boolean
|
||||||
|
description: True if the entitlement has DAS data
|
||||||
|
default: false
|
||||||
|
example: true
|
||||||
|
dataAccess:
|
||||||
|
$ref: '../DataAccess.yaml'
|
||||||
account:
|
account:
|
||||||
type: object
|
type: object
|
||||||
nullable: true
|
nullable: true
|
||||||
@@ -69,10 +81,12 @@ properties:
|
|||||||
type: boolean
|
type: boolean
|
||||||
example: false
|
example: false
|
||||||
description: Indicates whether this account is currently disabled
|
description: Indicates whether this account is currently disabled
|
||||||
|
default: false
|
||||||
locked:
|
locked:
|
||||||
type: boolean
|
type: boolean
|
||||||
example: false
|
example: false
|
||||||
description: Indicates whether this account is currently locked
|
description: Indicates whether this account is currently locked
|
||||||
|
default: false
|
||||||
type:
|
type:
|
||||||
$ref: '../DtoType.yaml'
|
$ref: '../DtoType.yaml'
|
||||||
id:
|
id:
|
||||||
|
|||||||
Reference in New Issue
Block a user