Automated commit by github action: 4725526521

This commit is contained in:
GitHub Action Bot
2023-04-17 20:28:36 +00:00
parent fa4d9a98b1
commit c36ebb31af
2 changed files with 27 additions and 15 deletions

View File

@@ -1,13 +1,13 @@
get: get:
tags: tags:
- Managed Clusters - Managed Clusters
summary: get ManagedCluster Log Configuration for a specified cluster summary: Get managed cluster's log configuration
description: Get log configuration for a managed cluster. description: Get managed cluster's log configuration.
operationId: getClientLogConfiguration operationId: getClientLogConfiguration
parameters: parameters:
- name: id - name: id
in: path in: path
description: ID of the ManagedCluster to get log configuration for description: ID of ManagedCluster to get log configuration for
required: true required: true
style: simple style: simple
explode: false explode: false
@@ -16,7 +16,7 @@ get:
example: aClusterId example: aClusterId
responses: responses:
"200": "200":
description: ManagedCluster log configuration matching the given cluster ID description: Log configuration of ManagedCluster matching given cluster ID
content: content:
application/json: application/json:
schema: schema:
@@ -25,22 +25,28 @@ get:
$ref: '../schemas/ClientLogConfiguration.yaml' $ref: '../schemas/ClientLogConfiguration.yaml'
"400": "400":
$ref: '../../v3/responses/400.yaml' $ref: '../../v3/responses/400.yaml'
"401":
$ref: '../../v3/responses/401.yaml'
"403": "403":
$ref: '../../v3/responses/403.yaml' $ref: '../../v3/responses/403.yaml'
"404": "404":
$ref: '../../v3/responses/404.yaml' $ref: '../../v3/responses/404.yaml'
"429":
$ref: '../../v3/responses/429.yaml'
"500":
$ref: '../../v3/responses/500.yaml'
security: security:
- oauth2: [idn:managed-cluster-log-config:read] - oauth2: [idn:managed-cluster-log-config:read]
put: put:
tags: tags:
- Managed Clusters - Managed Clusters
summary: Update log configuration for a specified cluster. summary: Update managed cluster's log configuration
description: Update log configuration for a managed cluster. description: Update managed cluster's log configuration
operationId: updateClientLogConfiguration operationId: updateClientLogConfiguration
parameters: parameters:
- name: id - name: id
in: path in: path
description: ID of the ManagedCluster to update log configuration for description: ID of ManagedCluster to update log configuration for
required: true required: true
style: simple style: simple
explode: false explode: false
@@ -48,7 +54,7 @@ put:
type: string type: string
example: aClusterId example: aClusterId
requestBody: requestBody:
description: ClientLogConfiguration for the given ManagedCluster description: ClientLogConfiguration for given ManagedCluster
content: content:
application/json: application/json:
schema: schema:
@@ -56,16 +62,22 @@ put:
required: true required: true
responses: responses:
"200": "200":
description: Responds with updated ClientLogConfiguration for the given ManagedCluster. description: Responds with updated ClientLogConfiguration for given ManagedCluster
content: content:
application/json: application/json:
schema: schema:
$ref: '../schemas/ClientLogConfiguration.yaml' $ref: '../schemas/ClientLogConfiguration.yaml'
"400": "400":
$ref: '../../v3/responses/400.yaml' $ref: '../../v3/responses/400.yaml'
"401":
$ref: '../../v3/responses/401.yaml'
"403": "403":
$ref: '../../v3/responses/403.yaml' $ref: '../../v3/responses/403.yaml'
"404": "404":
$ref: '../../v3/responses/404.yaml' $ref: '../../v3/responses/404.yaml'
"429":
$ref: '../../v3/responses/429.yaml'
"500":
$ref: '../../v3/responses/500.yaml'
security: security:
- oauth2: [idn:managed-cluster-log-config:write] - oauth2: [idn:managed-cluster-log-config:write]

View File

@@ -5,11 +5,11 @@ required:
- rootLevel - rootLevel
properties: properties:
clientId: clientId:
description: client ID of the Log configuration description: Log configuration's client ID
type: string type: string
example: aClientId example: aClientId
durationMinutes: durationMinutes:
description: duration in minutes for the log configuration to remain in effect before resetting to defaults description: Duration in minutes for log configuration to remain in effect before resetting to defaults
type: integer type: integer
format: int32 format: int32
example: 120 example: 120
@@ -17,17 +17,17 @@ properties:
maximum: 1440 maximum: 1440
expiration: expiration:
description: Expiration date-time of the log configuration request description: Expiration date-time of the log configuration request
example: 120 example: "2020-12-15T19:13:36.079Z"
type: string type: string
format: date-time format: date-time
rootLevel: rootLevel:
description: Root Log level to apply description: Root log level to apply, the default level for all logs. For more information about logging levels, refer to the "Logging Levels" table in [Enabling Connector Logging in IdentityNow](https://community.sailpoint.com/t5/IdentityNow-Articles/Enabling-Connector-Logging-in-IdentityNow/ta-p/188107).
default: INFO default: INFO
example: TRACE example: TRACE
$ref: './StandardLevel.yaml' $ref: './StandardLevel.yaml'
logLevels: logLevels:
description: Map of LogLevel by key description: Map of log level by key. The keys are logging classes, and the values are logging levels. To see the available connectors and their logging classes, refer to the "Logging Classes" table in [Enabling Connector Logging in IdentityNow](https://community.sailpoint.com/t5/IdentityNow-Articles/Enabling-Connector-Logging-in-IdentityNow/ta-p/188107).
example: '{ example: '{
level:WARN "sailpoint.connector.ADLDAPConnector": "TRACE"
}' }'
$ref: './LogLevelSpec.yaml' $ref: './LogLevelSpec.yaml'