Agent Scanner Configuration Service API

0.0.1

Overview

Statistics
15 Operations
2 Skills
Platform Category
REST API for Agent Scanner Configuration Service

Servers

  • https://anypoint.mulesoft.com/agent-scanner
  • https://{region}.anypoint.mulesoft.com/agent-scanner
  • https://{region}.platform.mulesoft.com/agent-scanner

Authentication & Security

  • bearerAuth http

    Bearer token authentication. Login endpoint https://anypoint.mulesoft.com/accounts/api/login

  • clientAuth oauth2

    OAuth2 client credentials. Token endpoint https://anypoint.mulesoft.com/accounts/api/v2/oauth2/token

Update Scan Configuration updateScanConfiguration

PUT

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Scanner Configuration
Returns an updated scanner configuration

Path Parameters

organizationId *: string(uuid)
scannerConfigurationId *: string(uuid)

Request Body *

json
name *: string
id: string(uuid)
schedule *: string
description: string
parameters: string
state: string
runPolicy *: string
lastRunAt: string(date-time)
lastSuccessfulRunAt: string(date-time)
lastRunStatus: string
nextRunAt: string(date-time)
lastSuccessfulRunSummary: string
updatedAt: string(date-time)
rootOrgId: string(uuid)
createdAt: string(date-time)
orgId: string(uuid)
lastRunStatusDetail: string
connection: object
ownerId: string(uuid)
emails: string
notificationEnabled: boolean
scannerConfigurationFromDTO: object
Represents a scanner configuration for agent scanning operations
deleted: boolean

Response

Successfully updated Scanner Configurations

Delete Scanner Configuration deleteScannerConfiguration

DELETE

Try it out

Path Parameters
Header Parameters
Custom Query Parameters
Custom Headers
Scanner Configuration
Starts an asynchronous workflow to delete the scanner configuration. Returns 200 OK when the deletion workflow is started successfully.

Path Parameters

organizationId *: string(uuid)
scannerConfigurationId *: string(uuid)

Header Parameters

X-Delete-Agents: boolean

Response

Delete workflow started successfully
Examples
*/*
{}

Update Connection updateConnection

PUT

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Connectivity
Updates a connection

Path Parameters

organizationId *: string(uuid)
connectionId *: string(uuid)

Request Body *

json
authParameters: string
id: string(uuid)
authScheme: string
targetSystemId *: string
statusMessage: string
environment: string
orgId: string
status: string
name: string
lastTestedAt: string(date-time)
type: string

Response

*/*
Connection updated
id: string(uuid)
Unique identifier of the connection
name: string
Name of the connection
orgId: string(uuid)
Organization Id
environment: string
Environment
authScheme: string
Authentication Scheme for the connection
lastTestedAt: string(date-time)
Date when the connection was tested for the last time
status: string
Status of the connection
statusMessage: string
Status message of the connection
authParameters: string
Auth connection data stored as JSON
createdAt: string(date-time)
Scanner creation date
updatedAt: string(date-time)
Scanner updated date
targetSystem: object
Represents a target system for scanning configuration
Examples
*/*
{ "id": "550e8400-e29b-41d4-a716-446655440000", "name": "My AWS Connection", "orgId": "123e4567-e89b-12d3-a456-426614174000", "environment": "production", "authScheme": "OAuth2", "status": "SUCCESSFUL", "statusMessage": "Connection established successfully" }

Delete Connection deleteConnection

DELETE

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Connectivity
Deletes a connection

Path Parameters

organizationId *: string(uuid)
connectionId *: string(uuid)

Response

Connection deleted

Get Scan Configurations getScanConfigurations

GET

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Scanner Configuration
Returns a list of scanner configuration for a specific organization

Path Parameters

organizationId *: string(uuid)

Query Parameters

page: integer(int32)
size: integer(int32)

Response

Successfully retrieved Scanner Configurations

Create Scan Configurations createScanConfigurations

POST

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Scanner Configuration
Returns the scanner configuration created

Path Parameters

organizationId *: string(uuid)

Request Body *

json
name *: string
id: string(uuid)
schedule *: string
description: string
parameters: string
state: string
runPolicy *: string
lastRunAt: string(date-time)
lastSuccessfulRunAt: string(date-time)
lastRunStatus: string
nextRunAt: string(date-time)
lastSuccessfulRunSummary: string
updatedAt: string(date-time)
rootOrgId: string(uuid)
createdAt: string(date-time)
orgId: string(uuid)
lastRunStatusDetail: string
connection: object
ownerId: string(uuid)
emails: string
notificationEnabled: boolean
scannerConfigurationFromDTO: object
Represents a scanner configuration for agent scanning operations
deleted: boolean

Response

Successfully created Scanner Configurations

Execute Workflow From Configuration executeWorkflowFromConfiguration

POST

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Scanner Configuration
Starts a scan workflow based on the specified scanner configuration ID

Path Parameters

organizationId *: string(uuid)
scannerConfigurationId *: string(uuid)

Response

Workflow started successfully

Abort Workflow From Configuration abortWorkflowFromConfiguration

POST

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Scanner Configuration
Cancels a running scan based on the specified scanner configuration ID

Path Parameters

organizationId *: string(uuid)
scannerConfigurationId *: string(uuid)

Response

Workflow aborted successfully

Test Connection testConnection

POST

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Connectivity
Tests connectivity to a target system type using provided connection parameters. Requires authentication.

Path Parameters

organizationId *: string(uuid)
targetSystemType *: string

Request Body *

json

Response

Connection successful

Get Connections getConnections

GET

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Connectivity
Returns a list of connections for a specific organization

Path Parameters

organizationId *: string(uuid)

Response

Successfully retrieved Connections

Create Connection createConnection

POST

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Connectivity
Adds a connection

Path Parameters

organizationId *: string(uuid)

Request Body *

json
authParameters: string
id: string(uuid)
authScheme: string
targetSystemId *: string
statusMessage: string
environment: string
orgId: string
status: string
name: string
lastTestedAt: string(date-time)
type: string

Response

Connection created

Get Scanner Run History getScannerRunHistory

GET

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Scanner Runs
Returns a paginated list of scanner runs for a specific scanner

Path Parameters

organizationId *: string(uuid)
scannerId *: string(uuid)

Query Parameters

page: integer(int32)
size: integer(int32)

Response

json
Successfully retrieved scanner runs
totalElements: integer(int64)
totalPages: integer(int32)
first: boolean
last: boolean
size: integer(int32)
content: array
number: integer(int32)
sort: object
numberOfElements: integer(int32)
pageable: object
empty: boolean
Examples
application/json
{ "totalElements": 1, "totalPages": 1, "first": true, "last": true, "size": 20, "number": 0, "content": [ { "id": "123e4567-e89b-12d3-a456-426614174000", "status": "COMPLETED", "summary": "{\"scanned\": 10, \"found\": 5}" } ], "numberOfElements": 1, "empty": false }

Get Staging Assets By Scan Run Id getStagingAssetsByScanRunId

GET

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Scanner Runs
Returns a paginated list of staging assets for a specific scan run. Use size=0 to get all results without pagination.

Path Parameters

organizationId *: string(uuid)
scannerId *: string(uuid)
scanRunId *: string(uuid)

Query Parameters

page: integer(int32)
size: integer(int32)

Response

json
Successfully retrieved staging assets
totalElements: integer(int64)
totalPages: integer(int32)
first: boolean
last: boolean
size: integer(int32)
content: array
number: integer(int32)
sort: object
numberOfElements: integer(int32)
pageable: object
empty: boolean
Examples
application/json
{ "totalElements": 1, "totalPages": 1, "first": true, "last": true, "size": 20, "number": 0, "content": [ { "id": "123e4567-e89b-12d3-a456-426614174000", "name": "My Agent", "status": "NEW" } ], "numberOfElements": 1, "empty": false }

Get Organization Info getOrganizationInfo

GET

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Organization
Returns organization information including total managed agents and capacity limit

Path Parameters

organizationId *: string(uuid)

Response

json
Successfully retrieved organization information
totalManagedAgents: integer(int64)
capacityAgentsLimit: integer(int64)
Examples
application/json
{ "totalManagedAgents": 150, "capacityAgentsLimit": 10000 }

Get Target Systems getTargetSystems

GET

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Connectivity
Returns a list of available target systems for connections. Requires authentication.

Path Parameters

organizationId *: string(uuid)

Response

json
Successfully retrieved target systems
id: string(uuid)
Unique identifier of the target system
name: string
Name of the target system
description: string
Description of the target system
type: string
Scanner type of the target system
provider: string
Cloud provider
platform: string
Platform within the provider
assetType: string
Type of asset scanned
authSchemeFormFields: array
Auth Scheme Form Fields
Examples
application/json
{ "id": "550e8400-e29b-41d4-a716-446655440000", "name": "AWS Bedrock", "description": "Amazon Bedrock AI service", "type": "bedrock", "provider": "aws", "platform": "bedrock_agents", "assetType": "agent" }