Skip to main content
POST
/
api
/
v1
/
findings
/
bulk
/
state
BulkUpdateFindingState
package main

import(
	"context"
	"github.com/conductorone/conductorone-sdk-go/pkg/models/shared"
	conductoronesdkgo "github.com/conductorone/conductorone-sdk-go"
	"log"
)

func main() {
    ctx := context.Background()

    s := conductoronesdkgo.New(
        conductoronesdkgo.WithSecurity(shared.Security{
            BearerAuth: "<YOUR_BEARER_TOKEN_HERE>",
            Oauth: "<YOUR_OAUTH_HERE>",
        }),
    )

    res, err := s.Finding.BulkUpdateFindingState(ctx, nil)
    if err != nil {
        log.Fatal(err)
    }
    if res.BulkUpdateFindingStateResponse != nil {
        // handle response
    }
}
{
  "bulkActionId": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://conductorone-groman-network-requirements-updates.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Authorization
string
header
required

This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.

Body

application/json

The BulkUpdateFindingStateRequest message.

This message contains a oneof named action. Only a single field of the following list may be set at a time:

  • snooze
  • suppress
  • acceptRisk
  • unsuppress
  • assignOwner
  • reopen
acceptRisk
Bulk Accept Risk Action · object

The BulkAcceptRiskAction message.

assignOwner
Bulk Assign Owner Action · object

The BulkAssignOwnerAction message.

refs
Finding Ref · object[] | null

By-ID mode: specify individual finding refs.

reopen
Bulk Reopen Action · object

The BulkReopenAction message.

searchRequest
Finding Search Request · object

The FindingSearchRequest message.

snooze
Bulk Snooze Action · object

The BulkSnoozeAction message.

suppress
Bulk Suppress Action · object

The BulkSuppressAction message.

unsuppress
Bulk Unsuppress Action · object
deprecated

The BulkUnsuppressAction message.

Response

200 - application/json

Successful response

The BulkUpdateFindingStateResponse message.

bulkActionId
string

The ID of the asynchronous bulk action, which can be used to track progress.