From 7862cab10dd62e4079dc5d85ccfbbf42993ed65e Mon Sep 17 00:00:00 2001 From: GitHub Action Bot Date: Tue, 9 Jan 2024 21:25:06 +0000 Subject: [PATCH] Automated commit 'PLTDP-4259 Updating auth scopes for search (#1522) * PLTDP-4259 Updating auth scopes for search * PLTDP-4259 Excluding redundant auth' by github action: 7467066000 --- idn/v3/paths/search-aggregate.yaml | 2 ++ idn/v3/paths/search-count.yaml | 2 ++ idn/v3/paths/search-get.yaml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/idn/v3/paths/search-aggregate.yaml b/idn/v3/paths/search-aggregate.yaml index af7b0fd7..8c3b372f 100644 --- a/idn/v3/paths/search-aggregate.yaml +++ b/idn/v3/paths/search-aggregate.yaml @@ -7,6 +7,8 @@ post: To page past 10,000 records, you can use searchAfter paging. Refer to [Paginating Search Queries](https://developer.sailpoint.com/idn/api/standard-collection-parameters#paginating-search-queries) for more information about how to implement searchAfter paging. operationId: searchAggregate + security: + - UserContextAuth: [ sp:search:read ] summary: "Perform a Search Query Aggregation" parameters: - $ref: '../parameters/offset.yaml' diff --git a/idn/v3/paths/search-count.yaml b/idn/v3/paths/search-count.yaml index 0fbd8ac1..ffc6311a 100644 --- a/idn/v3/paths/search-count.yaml +++ b/idn/v3/paths/search-count.yaml @@ -4,6 +4,8 @@ post: description: >- Performs a search with a provided query and returns the count of results in the X-Total-Count header. operationId: searchCount + security: + - UserContextAuth: [ sp:search:read ] summary: "Count Documents Satisfying a Query" requestBody: content: diff --git a/idn/v3/paths/search-get.yaml b/idn/v3/paths/search-get.yaml index ccf77bbe..d56a0ce6 100644 --- a/idn/v3/paths/search-get.yaml +++ b/idn/v3/paths/search-get.yaml @@ -4,6 +4,8 @@ get: description: >- Fetches a single document from the specified index, using the specified document ID. operationId: searchGet + security: + - UserContextAuth: [ sp:search:read ] summary: "Get a Document by ID" parameters: - $ref: '../parameters/path/search/index.yaml'