Data Sources
Operations for disabling, enabling, and renaming individual data sources
Each cloud provider will have one or more associated data sources. Each represents a discrete instance of a service that Veza connects to for the discovery and extraction of authorization metadata.
The provider under /providers/aws/{id}
, for example, may have an associated EC2 data source, represented as:
You can use the API to get or update data source records, or enable and disable individual data sources.
Disabling a data source will cancel all pending extractions.
List Data Sources
List Data Sources
GET
{{VezaUrl}}/api/v1/providers/datasources
Returns the properties and status for all data sources. When filtering is applied, only data sources matching the filter will be returned.
For example: ?filter=datasource_type+eq+"discoverer"&order_by=state
Veza expects spaces in URLS encoded as +
(?custom_template+eq+"idp"&order_by=state
). Note that some libraries and clients will encode spaces as %2B
by default, which will cause errors unless you override this behavior.
*
indicates a required field.
Query Parameters
filter
string
When present, only returns data sources matching the filter string. Available options:
name
,
agent_type
,
status
,
state
,
name
,
provider_id
,
data_provider_id
,
datasource_type
order_by
string
Sort results by
name
,
agent_type
,
status
,
state
,
name
,
provider_id
,
data_provider_id
, or
datasource_type
.
page_size
int
The maximum number of results to return. Fewer results may be returned even when more pages exist.
page_token
string
The token specifying the specific page of results to retrieve.
Get Data Source
Get Data Source
GET
{{VezaUrl}}/api/v1/providers/datasources/{id}
Returns status for an individual data source.
*
indicates a required field.
Path Parameters
id*
string
The data source ID
Update Data Source
Update Data Source
PUT
{{VezaUrl}}/api/v1/providers/datasources/{id}
Update the name for a given data source ID.
*
indicates a required field.
Path Parameters
id*
string
The data source ID
Request Body
name
string
New name for the data source
Enable or Disable Providers
Disable Data Source
PUT
{{VezaUrl}}/api/v1/providers/datasources/{id}:disable
Pause discovery and extraction for a data source.
*
indicates a required field.
Path Parameters
id*
string
The data source ID
Enable Data Source
PUT
{{VezaUrl}}/api/v1/providers/datasources/{id}:enable
Resume monitoring and queue the data source for extraction.
*
indicates a required field.
Path Parameters
id
string
The data source ID
providers/custom
providers/custom
See Open Authorization API and [OAA Operations](.../../oaa/rest-api/operations.md.
Last updated