List Certificate Groups
Before you Begin
- The user should have the following ACF permissions:
- CERT+ > Group
- Policy > Group >View Group
Request Structure
| Endpoint: | certificategroup/list |
| Type: | POST |
| Sample URL: |
To understand the elements of the sample URL, click here. |
| Headers | |
| Content-Type: | application/json |
| Name | Description |
|---|---|
| sessionId
|
(Mandatory if username and password
are not provided) Session ID received after login Type: String Constraint: Required if username and password are not provided. |
| username
|
(Mandatory only if sessionID is not provided)
Username for logging in to AppViewX Type: String |
| password
|
(Mandatory only if sessionID is not provided)
Password for logging in to AppViewX Type: String |
| content-type
|
(Mandatory) Payload content-type with
application/json value. Type: String Constraint: The value must be application/json. |
| gwsource
|
(Mandatory) The source from which the request is
triggered, e.g., external. Type: String |
| Payload
|
Contains all the parameters to be sent in the
request body for the put request. Type: Payload |
Payload
| Name | Description |
|---|---|
| nextPageToken | (Optional; not required for fetching the first set
of results) Reference point for fetching the subsequent set of
certificate groups the user has access to The certificategroup/list API fetches only a limited set of results on each execution. The nextPageToken paramter is used as a reference point to continue fetching the next set of results. The nextPageToken value returned in the API's response can be used in the next request payload. Type: String |
| searchOptions | (Optional) Additional criteria to filter the search
results Type: searchOptions |
| Name | Description |
|---|---|
| limit | (Optional) Number of records to be fetched in the
response Type: Integer Default value: 100 Constraints: The value should be a valid integer <= 1000. If limit > 1000, the value is capped at 1000. |
Response Structure
Response returns string of type application/json with the following body parameters:
| Name | Description |
|---|---|
| response | Contains the response attributes Type: response |
| message | Success message or failure description in case of
error. Type: String |
| appStatusCode | Application specific status code for the response.
It is a non-null value for a failure response. Type: String |
| tags | Additional information in case of failure response. |
| Name | Description |
|---|---|
| data | Details of the certificate groups the user has access to |
| name
|
Name of the certificate group |
| displayName
|
User friendly name assigned to the certificate group |
| description
|
Additional details related to the certificate group |
| appID
|
Organization ID associated with the certificate group |
| policyName
|
Certificate policy associated with the group |
| appPolicyName
|
|
| permission
|
Access permissions assigned to the certificate group |
| groupBusinessInfo
|
Details of the business unit associated with the certificate group |
| contactName
|
Contact of the associated business unit's contact person |
| firstName
|
First name of the associated business unit's contact person |
| lastName
|
Last name of the associated business unit's contact person |
| phoneNumber
|
Phone number of the associated business unit's contact person |
| lobName
|
Name of the business unit associated with the certificate group |
| costCenter
|
Code/label of the cost center associated with the certificate group |
| environmentName
|
Business unit environment associated with the certificate group |
| inventoryNumber
|
Inventory tracking number for the certificate group |
| email
|
Email address of the associated business unit's contact person |
| keywordSet
|
Keywords associated with the listed certificate group |
| groupLevelCertConfig
|
Configuration details for the certificates that will be associated with the group |
| autoPushNeededAfterRenewReissue
|
Indicates if certificates associated with this group will be automatically pushed after they are renewed/reissued |
| isGroupOverrideEnabled
|
Indicates if the group level settings for auto renewal/regeneration will override the certificate level settings |
| appConnectorSyncStatusListToDelete
|
List of application connectors to be deleted |
| autoRenewConfig
|
Specifies the auto renewal-related configuration details for this certificate group |
| renewBefore
|
For the certificates associated with this group, indicates how many days prior to a certificate's expiry the renewal process will start |
| autoRenewal
|
Indicates if auto renewal is enabled for the certificates associated with this group |
| manuallyTriggered
|
Specifies if the renewal process requires manual triggering |
| approvalRequiredForAutoRenew
|
Indicates if approval is required before certificate renewal is triggered |
| autoRegenerateConfig
|
Indicates the auto regeneration-related configuration details for this certificate group |
| reportingTo
|
Indicates the business entity this certificate group reports to |
| reportingPath
|
Indicates the group hierarchy structure |
| updateChild
|
Indicates if child groups have to be updated |
| reportedBy
|
Gives information about who reported this group |
| deleteRestricted
|
Indicates if this certificate group can be deleted |
| _id
|
Unique identifier assigned to the certificate group |
| nextPageToken | A continuation token for fetching the next batch of certificate groups |
Status Codes
| HTTP Code | appStatusCode | Response Message |
|---|---|---|
| 200 OK | null | List of certificate groups fetched successfully |
| 401 Unauthorized | AVX_GW_003 | Authentication failed, reason - Invalid Credentials.
Remediation: Ensure that valid username and password or a valid sessionId is provided as header parameters. |
| 400 Bad Request | VALIDATION_ERROR_0004 | Invalid nextPageToken Remediation: Invalid nextPageToken. Please ensure the correct nextPageToken is sent. |
| 403 Forbidden | AVX_GW_005 | User does not have access to the targeted
API Remediation:
|
Sample Request/Response
{
"searchOptions" :{"limit":1000}
}{
"searchOptions" :{"limit":1000},
"nextPageToken":"5422a5c96eeec10c12e3f7be"
}{
"response": {
"data": [
{
"name": "Certificate-Gateway",
"displayName": null,
"description": "",
"appId": "",
"policyName": "Certificate-Gateway",
"appPolicyName": null,
"permission": "RW",
"groupBusinessInfo": {
"contactName": "",
"firstName": null,
"lastName": null,
"phoneNumber": "",
"lobName": "",
"costCenter": "",
"environmentName": "",
"inventoryNumber": "",
"email": ""
},
"keywordSet": [
"Certificate-Gateway"
],
"groupLevelCertConfig": {
"autoPushNeededAfterRenewReissue": true,
"isGroupOverrideEnabled": false,
"appConnectorSyncStatusListToDelete": [],
"autoRenewConfig": {
"renewBefore": 20,
"autoRenewal": true,
"manuallyTriggered": false,
"approvalRequiredForAutoRenew": false
},
"autoRegenerateConfig": null
},
"reportingTo": "Default",
"reportingPath": "Default:@:Certificate-Gateway",
"updateChild": false,
"reportedBy": null,
"deleteRestricted": false,
"_id": "5bac87e10b3e1937a4bb7abe"
}
],
"nextPageToken": "5bac87e10b3e1937a4bb7abe"
},
"message": null,
"appStatusCode": null,
"tags": {},
"headers": null
}
References
- IP/HostName/TenantName: Replace with the actual IP address, hostname,
or tenant name based on the specific configuration in AppViewX.
- IP: A unique identifier assigned to each device connected to
a computer network that uses the Internet Protocol for communication
The IP address will be included in the endpoint URL for an on-prem deployment.
- HostName: A human-readable label assigned to a device (host)
on a network
The hostname will be included in the endpoint URL for an on-prem deployment.
- TenantName: An identifier label for a tenant given to
indicate which tenant's data the API request will
access/modify
The tenant name will be included in the endpoint URL for a SaaS deployment.
- IP: A unique identifier assigned to each device connected to
a computer network that uses the Internet Protocol for communication
- GWPORT: AppViewX gateway port
A gateway port refers to a network port through which data is sent and received to communicate with a gateway in an on-prem deployment.
Example: 31443
- avxapi: Path parameter value (static) that is part of the endpoint's URL
- Endpoint: Endpoint of the API, for example: execute-hook
- gwsource: Source or origin of a gateway, for example: external.
