PublicApiFeatureAccessRoleDto

PublicApiFeatureAccessRoleDto
PublicApiFeatureAccessRoleDto

Feature access role

JSON Example
{
    "featureAccessList": [
        {
            "name": "CONFIGURATION.WEBHOOK-CONFIGURATION",
            "description": "Webhook Configuration",
            "allowedActions": [
                "DISABLED"
            ]
        },
        {
            "name": "CONFIGURATION.API-KEYS",
            "description": "API Keys",
            "allowedActions": [
                "UPDATE"
            ]
        }
    ],
    "datasetList": [
        {
            "constraints": {
                "constraints": [
                    {
                        "constraints": [
                            {
                                "fieldName": "text",
                                "operator": "CONTAINS",
                                "value": "error"
                            }
                        ],
                        "operator": "AND",
                        "tags": [
                            "log-intelligence:search-bar"
                        ]
                    },
                    {
                        "constraints": [
                            {
                                "fieldName": "text",
                                "operator": "CONTAINS",
                                "value": "error"
                            },
                            {
                                "fieldName": "text",
                                "operator": "CONTAINS",
                                "value": "test"
                            }
                        ],
                        "operator": "AND"
                    }
                ],
                "operator": "AND"
            },
            "cspOrgId": "678ea4a8d-7c9d-4762-99f7-fe4be6a77908",
            "description": "test_dataset description",
            "id": "d5a4a8d-7c9d-4762-99f7-fe4be6a77908",
            "name": "test_dataset",
            "restrictAutocomplete": false,
            "restricts": false
        }
    ],
    "displayName": "test-feature-access-role",
    "name": "test-feature-access-role",
    "description": "test-feature-access-role description",
    "id": "effa4a8d-7c9d-4762-99f7-fe4be6a9802f",
    "cspOrgId": "678ea4a8d-7c9d-4762-99f7-fe4be6a77908"
}
string
id
Required

A unique feature access roles identifier.

string
name
Required

A unique feature access role name

string
description
Optional

Feature access roles description that is shown in the UI

string
displayName
Optional

Feature access role display name that is shown in the UI

string
cspOrgId
Optional

Unique ID associated with the org

featureAccessList
Required

List of feature accesses for the given role

array of DatasetDto
datasetList
Optional

List of datasets for the given role