Get Current Dataset

Get Current Dataset

Gets a current dataset

Request
URI
GET
https://{api_host}//vrlic/api/v1/access-control/dataset/current
COPY
Query Parameters
string
orgId
Optional

Unique Org Id


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns DatasetDto of type(s) */*
{
    "id": "d5a4a8d-7c9d-4762-99f7-fe4be6a77908",
    "name": "test_dataset",
    "description": "test_dataset description",
    "cspOrgId": "678ea4a8d-7c9d-4762-99f7-fe4be6a77908",
    "restrictAutocomplete": false,
    "restricts": false,
    "constraints": {
        "operator": "AND",
        "constraints": [
            {
                "operator": "AND",
                "tags": [
                    "aria-logs:search-bar"
                ],
                "constraints": [
                    {
                        "fieldName": "text",
                        "operator": "CONTAINS",
                        "value": "error"
                    }
                ]
            },
            {
                "operator": "AND",
                "constraints": [
                    {
                        "fieldName": "text",
                        "operator": "CONTAINS",
                        "value": "error"
                    },
                    {
                        "fieldName": "text",
                        "operator": "CONTAINS",
                        "value": "test"
                    }
                ]
            }
        ]
    }
}
string
id
Optional

A unique dataset identifier

string
name
Required

A unique dataset name

string
description
Optional

Dataset description that is shown in the UI

string
cspOrgId
Optional

Unique ID associated with the org

constraints
Required

constraints

boolean
restricts
Optional

Determines how a data set should behave when combined with other data sets. E.g., consider if you have two data sets Data set 1 (hostname contains host, appname contains app) and Data set 2 (severity contains error). If both of these data sets are added to a role, the resulting combined data set would be: (hostname contains host AND appname contains app) OR (severity contains error). However, if the 'restrict' is true for data set 2, the combined data set would be: (hostname contains host AND appname contains app) AND (severity contains error)

boolean
restrictAutocomplete
Optional

Represents whether autocomplete is restricted in the Explore Logs feature