Endor ReST API (1.0)
Download OpenAPI specification:
ListAPIKeys
Lists all API keys for a given namespace.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
query Parameters
list_parameters.filter | string String of conditions to filter resources by. Filters may include any attribute along with the following operators: "==", "!=", ">", ">=", "<", "<=", "Contains", "In", "Matches", and "Exists". The logical operators "And" and "Or" are also supported. Expressions may be combined and grouped with parentheses. Examples: "spec.value == 5", "spec.value in ["a", "b", "c"]", "(meta.name == "xyz" and "spec.value in ["a","b"]) or (spec.value == "c")". |
list_parameters.page_token | integer <int32> Set the page token to start from. Use page tokens to page through list results or list specific pages. |
list_parameters.page_size | integer <int32> Set the page size to limit the number of results returned. Default: 100. Max: 500. |
list_parameters.action | string Action to be executed with a request. Not supported for all endpoints. |
list_parameters.mask | string List of fields to return (all fields are returned by default). |
list_parameters.traverse | boolean Get data from any child namespaces as well. |
list_parameters.sort.path | string Field to sort objects by, for example, meta.name. |
list_parameters.sort.order | string Default: "SORT_ENTRY_ORDER_UNSPECIFIED" Enum: "SORT_ENTRY_ORDER_UNSPECIFIED" "SORT_ENTRY_ORDER_ASC" "SORT_ENTRY_ORDER_DESC" Sort order. Default: ASC. |
list_parameters.count | boolean Return the number of objects matching the given list parameters. If count is set to true, the response is a CountResponse. Can be used together with filter and traverse. |
list_parameters.group.aggregation_paths | string Group the objects based on this field. If there are multiple fields then the objects are grouped based on the uniqueness of all fields. Supports composite paths. Supports arrays and maps. |
list_parameters.group.show_aggregation_uuids | boolean Return the UUID of each object in each group as specified by aggregation_paths. |
list_parameters.group.unique_count_paths | string List of fields for which we want the unique count. Supports arrays and maps. |
list_parameters.group.unique_value_paths | string List of fields for which we want the unique values. Supports arrays and maps. |
list_parameters.ci_run_uuid | string Only return objects from PR scans that match this context id. |
list_parameters.page_id | string Page ID to retrieve. |
list_parameters.group_by_time.aggregation_paths | string Group the objects based on this time field, for example, meta.create_time. |
list_parameters.group_by_time.show_aggregation_uuids | boolean Return the UUIDs of the objects in each group. |
list_parameters.group_by_time.interval | string Default: "GROUP_BY_TIME_INTERVAL_UNSPECIFIED" Enum: "GROUP_BY_TIME_INTERVAL_UNSPECIFIED" "GROUP_BY_TIME_INTERVAL_YEAR" "GROUP_BY_TIME_INTERVAL_QUARTER" "GROUP_BY_TIME_INTERVAL_MONTH" "GROUP_BY_TIME_INTERVAL_WEEK" "GROUP_BY_TIME_INTERVAL_DAY" "GROUP_BY_TIME_INTERVAL_HOUR" "GROUP_BY_TIME_INTERVAL_MINUTE" "GROUP_BY_TIME_INTERVAL_SECOND" Interval unit by which the objects should be grouped. |
list_parameters.group_by_time.group_size | integer <int32> Size of the time interval to group the objects by, for example, to group objects by 2-week intervals, set interval to GROUP_BY_TIME_INTERVAL_WEEK and group_size to 2. |
list_parameters.group_by_time.start_time | string <date-time> Beginning of the time period to group objects. Defaults to the beginning of time. |
list_parameters.group_by_time.end_time | string <date-time> End of the time period to group objects. Defaults to the current time. |
list_parameters.group_by_time.mode | string The mode determines how the matching objects are counted in the produced time-series. Values allowed are: count (default) : is the number of items matching in every interval. sum: is the total number of items matching since the beginning of the aggregation time. |
list_parameters.group_by_time.aggregation_value_field | string The aggregation_field is a field on the matched objects that we want to perform some operation in each interval (example : min, max, avg) |
list_parameters.group_by_time.aggregation_operator | string The aggreation_operator is the operator that we should use for the aggregation. Allowed values are: min, max, sum, avg |
list_parameters.disable_pagination | boolean If true, the results will not be paginated and only the first page will be returned. The order of the results is not guaranteed. |
Responses
Response samples
- 200
- default
{- "list": {
- "objects": [
- {
- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "key": "string",
- "secret": "string",
- "permissions": {
- "rules": {
- "property1": {
- "methods": [
- "METHOD_UNSPECIFIED"
]
}, - "property2": {
- "methods": [
- "METHOD_UNSPECIFIED"
]
}
}, - "roles": [
- "SYSTEM_ROLE_UNSPECIFIED"
], - "except_resources": [
- "string"
]
}, - "expiration_time": "2019-08-24T14:15:22Z",
- "issuing_user": {
- "uuid": "string",
- "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "user_name": "string",
- "first_name": "string",
- "last_name": "string",
- "email": "string",
- "last_login_time": "2019-08-24T14:15:22Z",
- "event_tracking": {
- "property1": {
- "event": [
- null
]
}, - "property2": {
- "event": [
- null
]
}
}, - "token_hash": "string"
}
}
}, - "propagate": true
}
], - "response": {
- "next_page_token": 0,
- "next_page_id": "string"
}
}, - "count_response": {
- "count": 0
}, - "group_response": {
- "groups": {
- "property1": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0.1
}
}, - "property2": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0.1
}
}
}
}
}
CreateAPIKey
Creates an API key.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
Request Body schema: application/jsonrequired
tenant_meta | object (APIKeys are namespaced objects.) APIKeys are namespaced objects. |
required | object (v1Meta) Common fields for all Endor Labs resources. |
object (v1APIKeySpec) | |
propagate | boolean Indicates whether the API key can be used for the child namespaces. |
Responses
Request samples
- Payload
{- "tenant_meta": { },
- "meta": {
- "name": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "spec": {
- "permissions": {
- "rules": {
- "property1": {
- "methods": [
- "METHOD_UNSPECIFIED"
]
}, - "property2": {
- "methods": [
- "METHOD_UNSPECIFIED"
]
}
}, - "roles": [
- "SYSTEM_ROLE_UNSPECIFIED"
], - "except_resources": [
- "string"
]
}, - "expiration_time": "2019-08-24T14:15:22Z",
- "issuing_user": {
- "meta": {
- "name": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "spec": {
- "first_name": "string",
- "last_name": "string",
- "email": "string",
- "event_tracking": {
- "property1": {
- "event": [
- "string"
]
}, - "property2": {
- "event": [
- "string"
]
}
}, - "token_hash": "string"
}
}
}, - "propagate": true
}
Response samples
- 200
- default
{- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "key": "string",
- "secret": "string",
- "permissions": {
- "rules": {
- "property1": {
- "methods": [
- "METHOD_UNSPECIFIED"
]
}, - "property2": {
- "methods": [
- "METHOD_UNSPECIFIED"
]
}
}, - "roles": [
- "SYSTEM_ROLE_UNSPECIFIED"
], - "except_resources": [
- "string"
]
}, - "expiration_time": "2019-08-24T14:15:22Z",
- "issuing_user": {
- "uuid": "string",
- "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "user_name": "string",
- "first_name": "string",
- "last_name": "string",
- "email": "string",
- "last_login_time": "2019-08-24T14:15:22Z",
- "event_tracking": {
- "property1": {
- "event": [
- "string"
]
}, - "property2": {
- "event": [
- "string"
]
}
}, - "token_hash": "string"
}
}
}, - "propagate": true
}
GetAPIKey
Fetches the API key dentified by the UUID.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
uuid required | string The UUID of the requested resource. |
query Parameters
get_parameters.mask | string List of fields to return (all fields are returned by default). |
Responses
Response samples
- 200
- default
{- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "key": "string",
- "secret": "string",
- "permissions": {
- "rules": {
- "property1": {
- "methods": [
- "METHOD_UNSPECIFIED"
]
}, - "property2": {
- "methods": [
- "METHOD_UNSPECIFIED"
]
}
}, - "roles": [
- "SYSTEM_ROLE_UNSPECIFIED"
], - "except_resources": [
- "string"
]
}, - "expiration_time": "2019-08-24T14:15:22Z",
- "issuing_user": {
- "uuid": "string",
- "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "user_name": "string",
- "first_name": "string",
- "last_name": "string",
- "email": "string",
- "last_login_time": "2019-08-24T14:15:22Z",
- "event_tracking": {
- "property1": {
- "event": [
- "string"
]
}, - "property2": {
- "event": [
- "string"
]
}
}, - "token_hash": "string"
}
}
}, - "propagate": true
}
DeleteAPIKey
Deletes the API key specified by the UUID.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
uuid required | string The UUID of the resource to be deleted. |
query Parameters
delete_parameters.action | string Action to be executed with delete request. |
delete_parameters.force | boolean Force will force the deletion of the resource if any checks fail. |
Responses
Response samples
- 200
- default
{ }
ListAuditLogs
List all audit logs in a given namespace.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
query Parameters
list_parameters.filter | string String of conditions to filter resources by. Filters may include any attribute along with the following operators: "==", "!=", ">", ">=", "<", "<=", "Contains", "In", "Matches", and "Exists". The logical operators "And" and "Or" are also supported. Expressions may be combined and grouped with parentheses. Examples: "spec.value == 5", "spec.value in ["a", "b", "c"]", "(meta.name == "xyz" and "spec.value in ["a","b"]) or (spec.value == "c")". |
list_parameters.page_token | integer <int32> Set the page token to start from. Use page tokens to page through list results or list specific pages. |
list_parameters.page_size | integer <int32> Set the page size to limit the number of results returned. Default: 100. Max: 500. |
list_parameters.action | string Action to be executed with a request. Not supported for all endpoints. |
list_parameters.mask | string List of fields to return (all fields are returned by default). |
list_parameters.traverse | boolean Get data from any child namespaces as well. |
list_parameters.sort.path | string Field to sort objects by, for example, meta.name. |
list_parameters.sort.order | string Default: "SORT_ENTRY_ORDER_UNSPECIFIED" Enum: "SORT_ENTRY_ORDER_UNSPECIFIED" "SORT_ENTRY_ORDER_ASC" "SORT_ENTRY_ORDER_DESC" Sort order. Default: ASC. |
list_parameters.count | boolean Return the number of objects matching the given list parameters. If count is set to true, the response is a CountResponse. Can be used together with filter and traverse. |
list_parameters.group.aggregation_paths | string Group the objects based on this field. If there are multiple fields then the objects are grouped based on the uniqueness of all fields. Supports composite paths. Supports arrays and maps. |
list_parameters.group.show_aggregation_uuids | boolean Return the UUID of each object in each group as specified by aggregation_paths. |
list_parameters.group.unique_count_paths | string List of fields for which we want the unique count. Supports arrays and maps. |
list_parameters.group.unique_value_paths | string List of fields for which we want the unique values. Supports arrays and maps. |
list_parameters.ci_run_uuid | string Only return objects from PR scans that match this context id. |
list_parameters.page_id | string Page ID to retrieve. |
list_parameters.group_by_time.aggregation_paths | string Group the objects based on this time field, for example, meta.create_time. |
list_parameters.group_by_time.show_aggregation_uuids | boolean Return the UUIDs of the objects in each group. |
list_parameters.group_by_time.interval | string Default: "GROUP_BY_TIME_INTERVAL_UNSPECIFIED" Enum: "GROUP_BY_TIME_INTERVAL_UNSPECIFIED" "GROUP_BY_TIME_INTERVAL_YEAR" "GROUP_BY_TIME_INTERVAL_QUARTER" "GROUP_BY_TIME_INTERVAL_MONTH" "GROUP_BY_TIME_INTERVAL_WEEK" "GROUP_BY_TIME_INTERVAL_DAY" "GROUP_BY_TIME_INTERVAL_HOUR" "GROUP_BY_TIME_INTERVAL_MINUTE" "GROUP_BY_TIME_INTERVAL_SECOND" Interval unit by which the objects should be grouped. |
list_parameters.group_by_time.group_size | integer <int32> Size of the time interval to group the objects by, for example, to group objects by 2-week intervals, set interval to GROUP_BY_TIME_INTERVAL_WEEK and group_size to 2. |
list_parameters.group_by_time.start_time | string <date-time> Beginning of the time period to group objects. Defaults to the beginning of time. |
list_parameters.group_by_time.end_time | string <date-time> End of the time period to group objects. Defaults to the current time. |
list_parameters.group_by_time.mode | string The mode determines how the matching objects are counted in the produced time-series. Values allowed are: count (default) : is the number of items matching in every interval. sum: is the total number of items matching since the beginning of the aggregation time. |
list_parameters.group_by_time.aggregation_value_field | string The aggregation_field is a field on the matched objects that we want to perform some operation in each interval (example : min, max, avg) |
list_parameters.group_by_time.aggregation_operator | string The aggreation_operator is the operator that we should use for the aggregation. Allowed values are: min, max, sum, avg |
list_parameters.disable_pagination | boolean If true, the results will not be paginated and only the first page will be returned. The order of the results is not guaranteed. |
Responses
Response samples
- 200
- default
{- "list": {
- "objects": [
- {
- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "message_uuid": "string",
- "message_kind": "string",
- "operation": "OPERATION_UNSPECIFIED",
- "payload": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "error": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}, - "claims": [
- "string"
], - "remote_address": "string"
}
}
], - "response": {
- "next_page_token": 0,
- "next_page_id": "string"
}
}, - "count_response": {
- "count": 0
}, - "group_response": {
- "groups": {
- "property1": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0.1
}
}, - "property2": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0.1
}
}
}
}
}
GetAuditLog
Fetches an audit log identified by the UUID.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
uuid required | string The UUID of the requested resource. |
query Parameters
get_parameters.mask | string List of fields to return (all fields are returned by default). |
Responses
Response samples
- 200
- default
{- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "message_uuid": "string",
- "message_kind": "string",
- "operation": "OPERATION_UNSPECIFIED",
- "payload": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "error": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}, - "claims": [
- "string"
], - "remote_address": "string"
}
}
ListAuthenticationLogs
Lists all authentication logs in a given namespace.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
query Parameters
list_parameters.filter | string String of conditions to filter resources by. Filters may include any attribute along with the following operators: "==", "!=", ">", ">=", "<", "<=", "Contains", "In", "Matches", and "Exists". The logical operators "And" and "Or" are also supported. Expressions may be combined and grouped with parentheses. Examples: "spec.value == 5", "spec.value in ["a", "b", "c"]", "(meta.name == "xyz" and "spec.value in ["a","b"]) or (spec.value == "c")". |
list_parameters.page_token | integer <int32> Set the page token to start from. Use page tokens to page through list results or list specific pages. |
list_parameters.page_size | integer <int32> Set the page size to limit the number of results returned. Default: 100. Max: 500. |
list_parameters.action | string Action to be executed with a request. Not supported for all endpoints. |
list_parameters.mask | string List of fields to return (all fields are returned by default). |
list_parameters.traverse | boolean Get data from any child namespaces as well. |
list_parameters.sort.path | string Field to sort objects by, for example, meta.name. |
list_parameters.sort.order | string Default: "SORT_ENTRY_ORDER_UNSPECIFIED" Enum: "SORT_ENTRY_ORDER_UNSPECIFIED" "SORT_ENTRY_ORDER_ASC" "SORT_ENTRY_ORDER_DESC" Sort order. Default: ASC. |
list_parameters.count | boolean Return the number of objects matching the given list parameters. If count is set to true, the response is a CountResponse. Can be used together with filter and traverse. |
list_parameters.group.aggregation_paths | string Group the objects based on this field. If there are multiple fields then the objects are grouped based on the uniqueness of all fields. Supports composite paths. Supports arrays and maps. |
list_parameters.group.show_aggregation_uuids | boolean Return the UUID of each object in each group as specified by aggregation_paths. |
list_parameters.group.unique_count_paths | string List of fields for which we want the unique count. Supports arrays and maps. |
list_parameters.group.unique_value_paths | string List of fields for which we want the unique values. Supports arrays and maps. |
list_parameters.ci_run_uuid | string Only return objects from PR scans that match this context id. |
list_parameters.page_id | string Page ID to retrieve. |
list_parameters.group_by_time.aggregation_paths | string Group the objects based on this time field, for example, meta.create_time. |
list_parameters.group_by_time.show_aggregation_uuids | boolean Return the UUIDs of the objects in each group. |
list_parameters.group_by_time.interval | string Default: "GROUP_BY_TIME_INTERVAL_UNSPECIFIED" Enum: "GROUP_BY_TIME_INTERVAL_UNSPECIFIED" "GROUP_BY_TIME_INTERVAL_YEAR" "GROUP_BY_TIME_INTERVAL_QUARTER" "GROUP_BY_TIME_INTERVAL_MONTH" "GROUP_BY_TIME_INTERVAL_WEEK" "GROUP_BY_TIME_INTERVAL_DAY" "GROUP_BY_TIME_INTERVAL_HOUR" "GROUP_BY_TIME_INTERVAL_MINUTE" "GROUP_BY_TIME_INTERVAL_SECOND" Interval unit by which the objects should be grouped. |
list_parameters.group_by_time.group_size | integer <int32> Size of the time interval to group the objects by, for example, to group objects by 2-week intervals, set interval to GROUP_BY_TIME_INTERVAL_WEEK and group_size to 2. |
list_parameters.group_by_time.start_time | string <date-time> Beginning of the time period to group objects. Defaults to the beginning of time. |
list_parameters.group_by_time.end_time | string <date-time> End of the time period to group objects. Defaults to the current time. |
list_parameters.group_by_time.mode | string The mode determines how the matching objects are counted in the produced time-series. Values allowed are: count (default) : is the number of items matching in every interval. sum: is the total number of items matching since the beginning of the aggregation time. |
list_parameters.group_by_time.aggregation_value_field | string The aggregation_field is a field on the matched objects that we want to perform some operation in each interval (example : min, max, avg) |
list_parameters.group_by_time.aggregation_operator | string The aggreation_operator is the operator that we should use for the aggregation. Allowed values are: min, max, sum, avg |
list_parameters.disable_pagination | boolean If true, the results will not be paginated and only the first page will be returned. The order of the results is not guaranteed. |
Responses
Response samples
- 200
- default
{- "list": {
- "objects": [
- {
- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "success": true,
- "authorized_tenants": [
- "string"
], - "error_message": "string",
- "status": 0,
- "claims": [
- "string"
], - "remote_address": "string",
- "uri": "string"
}
}
], - "response": {
- "next_page_token": 0,
- "next_page_id": "string"
}
}, - "count_response": {
- "count": 0
}, - "group_response": {
- "groups": {
- "property1": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0.1
}
}, - "property2": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0.1
}
}
}
}
}
GetAuthenticationLog
Fetches the authentication log identified by the UUID.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
uuid required | string The UUID of the requested resource. |
query Parameters
get_parameters.mask | string List of fields to return (all fields are returned by default). |
Responses
Response samples
- 200
- default
{- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "success": true,
- "authorized_tenants": [
- "string"
], - "error_message": "string",
- "status": 0,
- "claims": [
- "string"
], - "remote_address": "string",
- "uri": "string"
}
}
ListFindings
List findings based on the specified list parameters.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
query Parameters
list_parameters.filter | string String of conditions to filter resources by. Filters may include any attribute along with the following operators: "==", "!=", ">", ">=", "<", "<=", "Contains", "In", "Matches", and "Exists". The logical operators "And" and "Or" are also supported. Expressions may be combined and grouped with parentheses. Examples: "spec.value == 5", "spec.value in ["a", "b", "c"]", "(meta.name == "xyz" and "spec.value in ["a","b"]) or (spec.value == "c")". |
list_parameters.page_token | integer <int32> Set the page token to start from. Use page tokens to page through list results or list specific pages. |
list_parameters.page_size | integer <int32> Set the page size to limit the number of results returned. Default: 100. Max: 500. |
list_parameters.action | string Action to be executed with a request. Not supported for all endpoints. |
list_parameters.mask | string List of fields to return (all fields are returned by default). |
list_parameters.traverse | boolean Get data from any child namespaces as well. |
list_parameters.sort.path | string Field to sort objects by, for example, meta.name. |
list_parameters.sort.order | string Default: "SORT_ENTRY_ORDER_UNSPECIFIED" Enum: "SORT_ENTRY_ORDER_UNSPECIFIED" "SORT_ENTRY_ORDER_ASC" "SORT_ENTRY_ORDER_DESC" Sort order. Default: ASC. |
list_parameters.count | boolean Return the number of objects matching the given list parameters. If count is set to true, the response is a CountResponse. Can be used together with filter and traverse. |
list_parameters.group.aggregation_paths | string Group the objects based on this field. If there are multiple fields then the objects are grouped based on the uniqueness of all fields. Supports composite paths. Supports arrays and maps. |
list_parameters.group.show_aggregation_uuids | boolean Return the UUID of each object in each group as specified by aggregation_paths. |
list_parameters.group.unique_count_paths | string List of fields for which we want the unique count. Supports arrays and maps. |
list_parameters.group.unique_value_paths | string List of fields for which we want the unique values. Supports arrays and maps. |
list_parameters.ci_run_uuid | string Only return objects from PR scans that match this context id. |
list_parameters.page_id | string Page ID to retrieve. |
list_parameters.group_by_time.aggregation_paths | string Group the objects based on this time field, for example, meta.create_time. |
list_parameters.group_by_time.show_aggregation_uuids | boolean Return the UUIDs of the objects in each group. |
list_parameters.group_by_time.interval | string Default: "GROUP_BY_TIME_INTERVAL_UNSPECIFIED" Enum: "GROUP_BY_TIME_INTERVAL_UNSPECIFIED" "GROUP_BY_TIME_INTERVAL_YEAR" "GROUP_BY_TIME_INTERVAL_QUARTER" "GROUP_BY_TIME_INTERVAL_MONTH" "GROUP_BY_TIME_INTERVAL_WEEK" "GROUP_BY_TIME_INTERVAL_DAY" "GROUP_BY_TIME_INTERVAL_HOUR" "GROUP_BY_TIME_INTERVAL_MINUTE" "GROUP_BY_TIME_INTERVAL_SECOND" Interval unit by which the objects should be grouped. |
list_parameters.group_by_time.group_size | integer <int32> Size of the time interval to group the objects by, for example, to group objects by 2-week intervals, set interval to GROUP_BY_TIME_INTERVAL_WEEK and group_size to 2. |
list_parameters.group_by_time.start_time | string <date-time> Beginning of the time period to group objects. Defaults to the beginning of time. |
list_parameters.group_by_time.end_time | string <date-time> End of the time period to group objects. Defaults to the current time. |
list_parameters.group_by_time.mode | string The mode determines how the matching objects are counted in the produced time-series. Values allowed are: count (default) : is the number of items matching in every interval. sum: is the total number of items matching since the beginning of the aggregation time. |
list_parameters.group_by_time.aggregation_value_field | string The aggregation_field is a field on the matched objects that we want to perform some operation in each interval (example : min, max, avg) |
list_parameters.group_by_time.aggregation_operator | string The aggreation_operator is the operator that we should use for the aggregation. Allowed values are: min, max, sum, avg |
list_parameters.disable_pagination | boolean If true, the results will not be paginated and only the first page will be returned. The order of the results is not guaranteed. |
Responses
Response samples
- 200
- default
{- "list": {
- "objects": [
- {
- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "project_uuid": "string",
- "last_processed": "2019-08-24T14:15:22Z",
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "dismiss": true,
- "remediation": "string",
- "finding_metadata": {
- "root_package_score_card": {
- "overall_score": 0.1,
- "category_scores": [
- {
- "category": "SCORE_CATEGORY_UNSPECIFIED",
- "score": 0,
- "description": "string",
- "centered_score": 0.1,
- "raw_score": 0.1
}
], - "analysis_scope_description": "string"
}, - "dependency_score_card": {
- "overall_score": 0.1,
- "category_scores": [
- {
- "category": "SCORE_CATEGORY_UNSPECIFIED",
- "score": 0,
- "description": "string",
- "centered_score": 0.1,
- "raw_score": 0.1
}
], - "analysis_scope_description": "string"
}, - "root_package_score_factor_list": {
- "score_factors": [
- {
- "category": "SCORE_CATEGORY_UNSPECIFIED",
- "score": 0,
- "description": "string",
- "name": "string",
- "evidence": "string",
- "id": "string",
- "score_float": 0.1
}
]
}, - "dependency_score_factor_list": {
- "score_factors": [
- {
- "category": "SCORE_CATEGORY_UNSPECIFIED",
- "score": 0,
- "description": "string",
- "name": "string",
- "evidence": "string",
- "id": "string",
- "score_float": 0.1
}
]
}, - "vulnerability": {
- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": null,
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": null,
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "deepdive": true,
- "disputed": true,
- "additional_notes": [
- "string"
], - "published": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "withdrawn": "2019-08-24T14:15:22Z",
- "aliases": [
- "string"
], - "related": [
- "string"
], - "cvss_v3_severity": {
- "score": 0.1,
- "vector": "string",
- "level": "LEVEL_UNSPECIFIED",
- "temporal_score": 0.1,
- "temporal_vector": "string",
- "temporal_level": "LEVEL_UNSPECIFIED"
}, - "cvss_v4_severity": {
- "base_score": 0.1,
- "vector": "string",
- "base_level": "V4_LEVEL_UNSPECIFIED",
- "threat_score": 0.1,
- "threat_level": "V4_LEVEL_UNSPECIFIED",
- "environmental_score": 0.1,
- "environmental_level": "V4_LEVEL_UNSPECIFIED"
}, - "credits": [
- {
- "name": null,
- "contact": [ ]
}
], - "database_specific": { },
- "summary": "string",
- "affected": [
- {
- "package": null,
- "ranges": [ ],
- "versions": [ ],
- "database_specific": { },
- "ecosystem_specific": { },
- "affected_filepaths": [ ],
- "affected_callpath_uris": [ ],
- "fix_commits": [ ],
- "has_been_fixed": null,
- "source": null,
- "maintainer_severity": null,
- "maintainer_cvss_level": null
}
], - "references": [
- {
- "type": null,
- "url": null
}
], - "epss_score": {
- "probability_score": 0.1,
- "percentile_score": 0.1
}, - "raw": {
- "osv_vulnerability": {
- "schema_version": null,
- "id": null,
- "published": null,
- "modified": null,
- "withdrawn": null,
- "aliases": [ ],
- "related": [ ],
- "package": null,
- "summary": null,
- "details": null,
- "affected": [ ],
- "references": [ ],
- "database_specific": { },
- "severity": [ ],
- "credits": [ ]
}, - "endor_vulnerability": {
- "cve_id": null,
- "cve_description": null,
- "cvss_score": null,
- "cvss_vector": null,
- "cwe": null,
- "cve_references": [ ],
- "package_name": null,
- "ecosystem": null,
- "fix_commit": [ ],
- "additional_notes": null,
- "component": [ ],
- "deepdive": null,
- "disputed": null,
- "nofix": null,
- "schema_version": null,
- "malicious": null,
- "withdrawn": null,
- "last_updated": null
}, - "epss_record": {
- "cve_id": null,
- "probability": null,
- "percentile": null,
- "ingestion_time": null
}, - "nvd_vulnerability": {
- "cve": null
}, - "kev_record": {
- "cve_id": null,
- "vendor_project": null,
- "product": null,
- "vulnerability_name": null,
- "date_added": null,
- "short_description": null,
- "required_action": null,
- "due_date": null,
- "known_ransomware_campaign_use": null,
- "notes": null
}
}, - "malicious": true,
- "additional_endor_notes": [
- "string"
]
}
}, - "root_package_resolved_dependencies": {
- "resolution_timestamp": "2019-08-24T14:15:22Z",
- "dependency_graph": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "dependencies": [
- {
- "name": "string",
- "public": true,
- "source_repository_http_clone_url": "string",
- "source_repository_ref": "string",
- "release_date": "2019-08-24T14:15:22Z",
- "platform_source": "PLATFORM_SOURCE_UNSPECIFIED",
- "maven_dependency_scope": "SCOPE_UNSPECIFIED",
- "rust_dependency_kind": "DEPENDENCY_KIND_UNSPECIFIED",
- "golang_dependency_scope": "SCOPE_UNSPECIFIED",
- "js_dependency_scope": "SCOPE_UNSPECIFIED",
- "pypi_dependency_scope": "SCOPE_UNSPECIFIED",
- "gem_dependency_scope": "SCOPE_UNSPECIFIED",
- "nuget_dependency_scope": "DEPENDENCY_SCOPE_UNSPECIFIED",
- "packagist_dependency_scope": "SCOPE_UNSPECIFIED",
- "github_action_kind": "SCOPE_UNSPECIFIED",
- "cocoapod_dependency_scope": "DEPENDENCY_SCOPE_UNSPECIFIED",
- "hugging_face_dependency_scope": "DEPENDENCY_SCOPE_UNSPECIFIED",
- "dependency_scope": "DEPENDENCY_SCOPE_UNSPECIFIED",
- "swift_dependency_scope": "DEPENDENCY_SCOPE_UNSPECIFIED",
- "pinned": true,
- "abstract": true,
- "targets": [
- null
], - "vendored": true,
- "imported_type": "IMPORTED_TYPE_UNSPECIFIED",
- "file_locations": [
- null
], - "container_layers": [
- null
], - "patched": true,
- "purl": "string",
- "eol_timestamp": "2019-08-24T14:15:22Z"
}
], - "dependency_files": [
- {
- "path": "string"
}
]
}, - "source_policy_info": {
- "name": "string",
- "uuid": "string",
- "description": "string",
- "finding_name": "string",
- "results": [
- {
- "fields": {
- "property1": null,
- "property2": null
}
}
], - "tags": [
- "string"
]
}, - "ci_blocking_policy_info": {
- "name": "string",
- "uuid": "string",
- "description": "string",
- "finding_name": "string",
- "results": [
- {
- "fields": {
- "property1": null,
- "property2": null
}
}
], - "tags": [
- "string"
]
}, - "root_package_version_metadata": {
- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": null,
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": null,
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "versions": [
- {
- "version": null,
- "release_time": null,
- "license": [ ],
- "checksums": [ ],
- "source_code_url": null,
- "platform_source": null,
- "source_code_ref": null,
- "last_updated": null,
- "license_info": [ ],
- "consumed": null,
- "eol_timestamp": null,
- "lts": null
}
], - "ecosystem": "ECOSYSTEM_UNSPECIFIED",
- "last_updated": "2019-08-24T14:15:22Z"
}
}, - "dependency_package_version_metadata": {
- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": null,
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": null,
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "versions": [
- {
- "version": null,
- "release_time": null,
- "license": [ ],
- "checksums": [ ],
- "source_code_url": null,
- "platform_source": null,
- "source_code_ref": null,
- "last_updated": null,
- "license_info": [ ],
- "consumed": null,
- "eol_timestamp": null,
- "lts": null
}
], - "ecosystem": "ECOSYSTEM_UNSPECIFIED",
- "last_updated": "2019-08-24T14:15:22Z"
}
}, - "typosquatted_dependency_version_metadata": {
- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": null,
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": null,
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "versions": [
- {
- "version": null,
- "release_time": null,
- "license": [ ],
- "checksums": [ ],
- "source_code_url": null,
- "platform_source": null,
- "source_code_ref": null,
- "last_updated": null,
- "license_info": [ ],
- "consumed": null,
- "eol_timestamp": null,
- "lts": null
}
], - "ecosystem": "ECOSYSTEM_UNSPECIFIED",
- "last_updated": "2019-08-24T14:15:22Z"
}
}, - "container_data": {
- "layer_digests": [
- "string"
], - "has_base_layer": true,
- "base_image": "string"
}, - "custom": null,
- "security_review_data": {
- "ai_meta": {
- "llm_context": {
- "structured_content": {
- "data": null,
- "schema": { }
}, - "unstructured_content": "string"
}, - "confidence_justification": "string",
- "confidence_level": "CONFIDENCE_LEVEL_UNSPECIFIED"
}, - "category": "SECURITY_REVIEW_CATEGORY_UNSPECIFIED",
- "justification": "string",
- "code_snippet": {
- "file": "string",
- "line": 0,
- "line_end": 0,
- "snippet": "string",
- "description": "string",
- "impact": "string",
- "change_kind": "CHANGE_KIND_UNSPECIFIED",
- "language": "string"
}, - "security_impact_type": "SECURITY_IMPACT_TYPE_UNSPECIFIED"
}, - "malware": {
- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": null,
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": null,
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "ecosystem": "ECOSYSTEM_UNSPECIFIED",
- "package_name": "string",
- "ranges": {
- "ranges": [
- null
]
}, - "version": {
- "version": "string",
- "osv_id": "string"
}, - "status": "string",
- "pkg_release_date": "2019-08-24T14:15:22Z",
- "malware_detected_on": "2019-08-24T14:15:22Z",
- "advisory_published": "2019-08-24T14:15:22Z",
- "advisory_last_updated": "2019-08-24T14:15:22Z",
- "reasons": [
- "string"
], - "purl": "string",
- "summary": "string",
- "contested": true,
- "contested_reason": "string",
- "contested_date": "2019-08-24T14:15:22Z",
- "source": "MALWARE_SOURCE_UNSPECIFIED",
- "aliases": [
- "string"
], - "references": [
- {
- "type": null,
- "url": null
}
], - "package_version": {
- "uuid": "string",
- "tenant_meta": {
- "namespace": null
}, - "meta": {
- "create_time": null,
- "update_time": null,
- "upsert_time": null,
- "name": null,
- "kind": null,
- "version": null,
- "description": null,
- "parent_uuid": null,
- "parent_kind": null,
- "tags": [ ],
- "annotations": { },
- "created_by": null,
- "updated_by": null,
- "references": { }
}, - "spec": {
- "project_uuid": null,
- "source_code_reference": null,
- "release_timestamp": null,
- "unresolved_dependencies": [ ],
- "resolved_dependencies": null,
- "resolution_errors": null,
- "ecosystem": null,
- "package_name": null,
- "language": null,
- "relative_path": null,
- "container_metadata": null,
- "bazel_metadata": null,
- "code_owners": null,
- "call_graph_available": null
}, - "processing_status": {
- "scan_state": null,
- "scan_time": null,
- "analytic_time": null,
- "queue_time": null,
- "disable_automated_scan": null,
- "metadata": null
}, - "context": {
- "type": null,
- "will_be_deleted_at": null,
- "id": null,
- "tags": [ ]
}
}, - "additional_notes": [
- "string"
]
}
}, - "cvss_version": "CVSS_VERSION_UNSPECIFIED"
}, - "summary": "string",
- "finding_tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "target_uuid": "string",
- "extra_key": "string",
- "method": "SYSTEM_EVALUATION_METHOD_DEFINITION_UNSPECIFIED",
- "target_dependency_package_name": "string",
- "target_dependency_name": "string",
- "target_dependency_version": "string",
- "explanation": "string",
- "remediation_action": "FINDING_REMEDIATION_UNSPECIFIED",
- "source_code_version": {
- "sha": "string",
- "ref": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}, - "reachable_paths": [
- {
- "nodes": [
- {
- "function_ref": {
- "language": null,
- "registry": null,
- "product": null,
- "version": null,
- "namespace": null,
- "language_specific": null,
- "classname": null,
- "function_or_attribute_name": null,
- "args": [ ],
- "return_type": null,
- "declared_type": null,
- "signature": null
}, - "package_version": "string",
- "internal": true
}
]
}
], - "ecosystem": "ECOSYSTEM_UNSPECIFIED",
- "finding_categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "relationship": "string",
- "latest_version": "string",
- "dependency_file_paths": [
- "string"
], - "approximation": true,
- "proposed_version": "string",
- "exceptions": {
- "policy_uuids": [
- "string"
], - "tags": [
- "string"
]
}, - "actions": {
- "policy_uuids": [
- "string"
]
}, - "fixing_upgrades": {
- "upgrade_list": [
- {
- "package_name": "string",
- "direct_dependency_name": "string",
- "from_version": "string",
- "to_version": "string",
- "upgrade_risk": "string"
}
]
}, - "fixing_patch": {
- "endor_patch_available": true
}, - "code_owners": {
- "owners": [
- "string"
], - "labels": [
- "string"
]
}, - "location_urls": {
- "property1": "string",
- "property2": "string"
}
}, - "context": {
- "type": "CONTEXT_TYPE_UNSPECIFIED",
- "will_be_deleted_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "tags": [
- "string"
]
}
}
], - "response": {
- "next_page_token": 0,
- "next_page_id": "string"
}
}, - "count_response": {
- "count": 0
}, - "group_response": {
- "groups": {
- "property1": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0.1
}
}, - "property2": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0.1
}
}
}
}
}
GetFinding
Fetch the finding identified by the UUID.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
uuid required | string The UUID of the requested resource. |
query Parameters
get_parameters.mask | string List of fields to return (all fields are returned by default). |
Responses
Response samples
- 200
- default
{- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "project_uuid": "string",
- "last_processed": "2019-08-24T14:15:22Z",
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "dismiss": true,
- "remediation": "string",
- "finding_metadata": {
- "root_package_score_card": {
- "overall_score": 0.1,
- "category_scores": [
- {
- "category": "SCORE_CATEGORY_UNSPECIFIED",
- "score": 0,
- "description": "string",
- "centered_score": 0.1,
- "raw_score": 0.1
}
], - "analysis_scope_description": "string"
}, - "dependency_score_card": {
- "overall_score": 0.1,
- "category_scores": [
- {
- "category": "SCORE_CATEGORY_UNSPECIFIED",
- "score": 0,
- "description": "string",
- "centered_score": 0.1,
- "raw_score": 0.1
}
], - "analysis_scope_description": "string"
}, - "root_package_score_factor_list": {
- "score_factors": [
- {
- "category": "SCORE_CATEGORY_UNSPECIFIED",
- "score": 0,
- "description": "string",
- "name": "string",
- "evidence": "string",
- "id": "string",
- "score_float": 0.1
}
]
}, - "dependency_score_factor_list": {
- "score_factors": [
- {
- "category": "SCORE_CATEGORY_UNSPECIFIED",
- "score": 0,
- "description": "string",
- "name": "string",
- "evidence": "string",
- "id": "string",
- "score_float": 0.1
}
]
}, - "vulnerability": {
- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "deepdive": true,
- "disputed": true,
- "additional_notes": [
- "string"
], - "published": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "withdrawn": "2019-08-24T14:15:22Z",
- "aliases": [
- "string"
], - "related": [
- "string"
], - "cvss_v3_severity": {
- "score": 0.1,
- "vector": "string",
- "level": "LEVEL_UNSPECIFIED",
- "temporal_score": 0.1,
- "temporal_vector": "string",
- "temporal_level": "LEVEL_UNSPECIFIED"
}, - "cvss_v4_severity": {
- "base_score": 0.1,
- "vector": "string",
- "base_level": "V4_LEVEL_UNSPECIFIED",
- "threat_score": 0.1,
- "threat_level": "V4_LEVEL_UNSPECIFIED",
- "environmental_score": 0.1,
- "environmental_level": "V4_LEVEL_UNSPECIFIED"
}, - "credits": [
- {
- "name": "string",
- "contact": [
- "string"
]
}
], - "database_specific": { },
- "summary": "string",
- "affected": [
- {
- "package": {
- "name": "string",
- "ecosystem": "ECOSYSTEM_UNSPECIFIED",
- "purl": "string",
- "cpe": "string",
- "cpes": [
- "string"
]
}, - "ranges": [
- {
- "type": "RANGE_TYPE_UNSPECIFIED",
- "introduced": "string",
- "fixed": "string",
- "repo": "string"
}
], - "versions": [
- "string"
], - "database_specific": { },
- "ecosystem_specific": { },
- "affected_filepaths": [
- "string"
], - "affected_callpath_uris": [
- "string"
], - "fix_commits": [
- "string"
], - "has_been_fixed": true,
- "source": "SOURCE_UNSPECIFIED",
- "maintainer_severity": "LEVEL_UNSPECIFIED",
- "maintainer_cvss_level": "CVSS_SEVERITY_LEVEL_UNSPECIFIED"
}
], - "references": [
- {
- "type": "REFERENCE_TYPE_UNSPECIFIED",
- "url": "string"
}
], - "epss_score": {
- "probability_score": 0.1,
- "percentile_score": 0.1
}, - "raw": {
- "osv_vulnerability": {
- "schema_version": "string",
- "id": "string",
- "published": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "withdrawn": "2019-08-24T14:15:22Z",
- "aliases": [
- "string"
], - "related": [
- "string"
], - "package": {
- "name": "string",
- "ecosystem": "string",
- "purl": "string"
}, - "summary": "string",
- "details": "string",
- "affected": [
- {
- "package": {
- "name": null,
- "ecosystem": null,
- "purl": null
}, - "ranges": [
- null
], - "versions": [
- null
], - "ecosystem_specific": { },
- "database_specific": { }
}
], - "references": [
- {
- "type": "NONE",
- "url": "string"
}
], - "database_specific": { },
- "severity": [
- {
- "type": "UNSPECIFIED",
- "score": "string"
}
], - "credits": [
- {
- "name": "string",
- "contact": [
- null
]
}
]
}, - "endor_vulnerability": {
- "cve_id": "string",
- "cve_description": "string",
- "cvss_score": 0.1,
- "cvss_vector": "string",
- "cwe": "string",
- "cve_references": [
- "string"
], - "package_name": "string",
- "ecosystem": "string",
- "fix_commit": [
- "string"
], - "additional_notes": "string",
- "component": [
- {
- "group_id": "string",
- "artifact_id": "string",
- "vulnerable_versions": [
- null
], - "fixed_versions": [
- null
], - "vulnerable_filepath": [
- null
], - "versions_range": [
- null
], - "endor_uri": [
- null
]
}
], - "deepdive": true,
- "disputed": true,
- "nofix": true,
- "schema_version": "string",
- "malicious": true,
- "withdrawn": "2019-08-24T14:15:22Z",
- "last_updated": "2019-08-24T14:15:22Z"
}, - "epss_record": {
- "cve_id": "string",
- "probability": 0.1,
- "percentile": 0.1,
- "ingestion_time": "2019-08-24T14:15:22Z"
}, - "nvd_vulnerability": {
- "cve": {
- "id": "string",
- "source_identifier": "string",
- "vuln_status": "string",
- "vuln_typed_status": "NVD_STATUS_UNSPECIFIED",
- "published": "2019-08-24T14:15:22Z",
- "last_modified": "2019-08-24T14:15:22Z",
- "evaluator_comment": "string",
- "evaluator_solution": "string",
- "evaluator_impact": "string",
- "cisa_exploit_add": "string",
- "cisa_action_due": "string",
- "cisa_required_action": "string",
- "cisa_vulnerability_name": "string",
- "descriptions": [
- {
- "lang": null,
- "value": null
}
], - "references": [
- {
- "url": null,
- "source": null,
- "tags": [ ]
}
], - "metrics": {
- "cvss_metric_v2": [
- null
], - "cvss_metric_v30": [
- null
], - "cvss_metric_v31": [
- null
], - "cvss_metric_v40": [
- null
]
}, - "weaknesses": [
- {
- "source": null,
- "type": null,
- "description": [ ]
}
], - "configurations": [
- {
- "operator": null,
- "negate": null,
- "nodes": [ ]
}
], - "vendor_comments": [
- {
- "organization": null,
- "comment": null,
- "last_modified": null
}
]
}
}, - "kev_record": {
- "cve_id": "string",
- "vendor_project": "string",
- "product": "string",
- "vulnerability_name": "string",
- "date_added": "2019-08-24T14:15:22Z",
- "short_description": "string",
- "required_action": "string",
- "due_date": "2019-08-24T14:15:22Z",
- "known_ransomware_campaign_use": "string",
- "notes": "string"
}
}, - "malicious": true,
- "additional_endor_notes": [
- "string"
]
}
}, - "root_package_resolved_dependencies": {
- "resolution_timestamp": "2019-08-24T14:15:22Z",
- "dependency_graph": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "dependencies": [
- {
- "name": "string",
- "public": true,
- "source_repository_http_clone_url": "string",
- "source_repository_ref": "string",
- "release_date": "2019-08-24T14:15:22Z",
- "platform_source": "PLATFORM_SOURCE_UNSPECIFIED",
- "maven_dependency_scope": "SCOPE_UNSPECIFIED",
- "rust_dependency_kind": "DEPENDENCY_KIND_UNSPECIFIED",
- "golang_dependency_scope": "SCOPE_UNSPECIFIED",
- "js_dependency_scope": "SCOPE_UNSPECIFIED",
- "pypi_dependency_scope": "SCOPE_UNSPECIFIED",
- "gem_dependency_scope": "SCOPE_UNSPECIFIED",
- "nuget_dependency_scope": "DEPENDENCY_SCOPE_UNSPECIFIED",
- "packagist_dependency_scope": "SCOPE_UNSPECIFIED",
- "github_action_kind": "SCOPE_UNSPECIFIED",
- "cocoapod_dependency_scope": "DEPENDENCY_SCOPE_UNSPECIFIED",
- "hugging_face_dependency_scope": "DEPENDENCY_SCOPE_UNSPECIFIED",
- "dependency_scope": "DEPENDENCY_SCOPE_UNSPECIFIED",
- "swift_dependency_scope": "DEPENDENCY_SCOPE_UNSPECIFIED",
- "pinned": true,
- "abstract": true,
- "targets": [
- {
- "type": "TARGET_TYPE_UNSPECIFIED",
- "name": "string",
- "version": "string",
- "exclude": true
}
], - "vendored": true,
- "imported_type": "IMPORTED_TYPE_UNSPECIFIED",
- "file_locations": [
- "string"
], - "container_layers": [
- {
- "digest": "string",
- "file_locations": [
- "string"
]
}
], - "patched": true,
- "purl": "string",
- "eol_timestamp": "2019-08-24T14:15:22Z"
}
], - "dependency_files": [
- {
- "path": "string"
}
]
}, - "source_policy_info": {
- "name": "string",
- "uuid": "string",
- "description": "string",
- "finding_name": "string",
- "results": [
- {
- "fields": {
- "property1": "string",
- "property2": "string"
}
}
], - "tags": [
- "string"
]
}, - "ci_blocking_policy_info": {
- "name": "string",
- "uuid": "string",
- "description": "string",
- "finding_name": "string",
- "results": [
- {
- "fields": {
- "property1": "string",
- "property2": "string"
}
}
], - "tags": [
- "string"
]
}, - "root_package_version_metadata": {
- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "versions": [
- {
- "version": "string",
- "release_time": "2019-08-24T14:15:22Z",
- "license": [
- "string"
], - "checksums": [
- {
- "value": "string",
- "algorithm": "HASH_ALGORITHM_UNSPECIFIED"
}
], - "source_code_url": "string",
- "platform_source": "PLATFORM_SOURCE_UNSPECIFIED",
- "source_code_ref": "string",
- "last_updated": "2019-08-24T14:15:22Z",
- "license_info": [
- {
- "name": "string",
- "spdxid": "string",
- "mapping_info": "LICENSE_MAPPING_INFO_UNSPECIFIED",
- "type": "string",
- "url": "string",
- "file": "string",
- "file_location": 0,
- "matched_text": "string"
}
], - "consumed": true,
- "eol_timestamp": "2019-08-24T14:15:22Z",
- "lts": true
}
], - "ecosystem": "ECOSYSTEM_UNSPECIFIED",
- "last_updated": "2019-08-24T14:15:22Z"
}
}, - "dependency_package_version_metadata": {
- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "versions": [
- {
- "version": "string",
- "release_time": "2019-08-24T14:15:22Z",
- "license": [
- "string"
], - "checksums": [
- {
- "value": "string",
- "algorithm": "HASH_ALGORITHM_UNSPECIFIED"
}
], - "source_code_url": "string",
- "platform_source": "PLATFORM_SOURCE_UNSPECIFIED",
- "source_code_ref": "string",
- "last_updated": "2019-08-24T14:15:22Z",
- "license_info": [
- {
- "name": "string",
- "spdxid": "string",
- "mapping_info": "LICENSE_MAPPING_INFO_UNSPECIFIED",
- "type": "string",
- "url": "string",
- "file": "string",
- "file_location": 0,
- "matched_text": "string"
}
], - "consumed": true,
- "eol_timestamp": "2019-08-24T14:15:22Z",
- "lts": true
}
], - "ecosystem": "ECOSYSTEM_UNSPECIFIED",
- "last_updated": "2019-08-24T14:15:22Z"
}
}, - "typosquatted_dependency_version_metadata": {
- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "versions": [
- {
- "version": "string",
- "release_time": "2019-08-24T14:15:22Z",
- "license": [
- "string"
], - "checksums": [
- {
- "value": "string",
- "algorithm": "HASH_ALGORITHM_UNSPECIFIED"
}
], - "source_code_url": "string",
- "platform_source": "PLATFORM_SOURCE_UNSPECIFIED",
- "source_code_ref": "string",
- "last_updated": "2019-08-24T14:15:22Z",
- "license_info": [
- {
- "name": "string",
- "spdxid": "string",
- "mapping_info": "LICENSE_MAPPING_INFO_UNSPECIFIED",
- "type": "string",
- "url": "string",
- "file": "string",
- "file_location": 0,
- "matched_text": "string"
}
], - "consumed": true,
- "eol_timestamp": "2019-08-24T14:15:22Z",
- "lts": true
}
], - "ecosystem": "ECOSYSTEM_UNSPECIFIED",
- "last_updated": "2019-08-24T14:15:22Z"
}
}, - "container_data": {
- "layer_digests": [
- "string"
], - "has_base_layer": true,
- "base_image": "string"
}, - "custom": null,
- "security_review_data": {
- "ai_meta": {
- "llm_context": {
- "structured_content": {
- "data": "string",
- "schema": { }
}, - "unstructured_content": "string"
}, - "confidence_justification": "string",
- "confidence_level": "CONFIDENCE_LEVEL_UNSPECIFIED"
}, - "category": "SECURITY_REVIEW_CATEGORY_UNSPECIFIED",
- "justification": "string",
- "code_snippet": {
- "file": "string",
- "line": 0,
- "line_end": 0,
- "snippet": "string",
- "description": "string",
- "impact": "string",
- "change_kind": "CHANGE_KIND_UNSPECIFIED",
- "language": "string"
}, - "security_impact_type": "SECURITY_IMPACT_TYPE_UNSPECIFIED"
}, - "malware": {
- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "ecosystem": "ECOSYSTEM_UNSPECIFIED",
- "package_name": "string",
- "ranges": {
- "ranges": [
- {
- "type": "MALWARE_RANGE_TYPE_UNSPECIFIED",
- "introduced": "string",
- "fixed": "string",
- "repo": "string",
- "osv_id": "string"
}
]
}, - "version": {
- "version": "string",
- "osv_id": "string"
}, - "status": "string",
- "pkg_release_date": "2019-08-24T14:15:22Z",
- "malware_detected_on": "2019-08-24T14:15:22Z",
- "advisory_published": "2019-08-24T14:15:22Z",
- "advisory_last_updated": "2019-08-24T14:15:22Z",
- "reasons": [
- "string"
], - "purl": "string",
- "summary": "string",
- "contested": true,
- "contested_reason": "string",
- "contested_date": "2019-08-24T14:15:22Z",
- "source": "MALWARE_SOURCE_UNSPECIFIED",
- "aliases": [
- "string"
], - "references": [
- {
- "type": "REFERENCE_TYPE_UNSPECIFIED",
- "url": "string"
}
], - "package_version": {
- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "project_uuid": "string",
- "source_code_reference": {
- "version": {
- "sha": "string",
- "ref": "string",
- "metadata": {
- "property1": null,
- "property2": null
}
}, - "http_clone_url": "string",
- "platform_source": "PLATFORM_SOURCE_UNSPECIFIED"
}, - "release_timestamp": "2019-08-24T14:15:22Z",
- "unresolved_dependencies": [
- {
- "maven": {
- "group_id": null,
- "artifact_id": null,
- "version_constraints": null,
- "exclusions": null,
- "scope": null,
- "scope_type": null,
- "optional": null,
- "type": null,
- "classifier": null,
- "targets": [ ]
}, - "go": {
- "package": null,
- "ref": null,
- "scope_type": null,
- "targets": [ ]
}, - "cargo": {
- "name": null,
- "source": null,
- "req": [ ],
- "kind": null,
- "optional": null,
- "uses_default_features": null,
- "features": [ ],
- "named": null,
- "cfg": null,
- "rename": null,
- "registry": null,
- "path": null,
- "targets": [ ],
- "version_constraints": null
}, - "pypi": {
- "name": null,
- "version_constraints": null,
- "scope_type": null,
- "package_manager_type": null,
- "targets": [ ]
}, - "npm": {
- "name": null,
- "version": null,
- "version_constraint": null,
- "scope": null,
- "targets": [ ]
}, - "gem": {
- "name": null,
- "version_constraints": null,
- "scope_type": null,
- "targets": [ ]
}, - "nuget": {
- "name": null,
- "version_constraints": null,
- "scope": null,
- "targets": [ ]
}, - "packagist": {
- "name": null,
- "version_constraints": null,
- "scope_type": null,
- "targets": [ ]
}, - "githubaction": {
- "name": null,
- "version": null,
- "scope": null,
- "action_type": null
}, - "cocoapod": {
- "name": null,
- "version_constraints": null,
- "scope": null,
- "targets": [ ]
}, - "hugging_face": {
- "name": null,
- "version": null
}, - "c": {
- "name": null,
- "version_constraints": null,
- "scope": null,
- "targets": [ ]
}, - "swift": {
- "name": null,
- "exact": null,
- "revision": null,
- "branch": null,
- "range": null,
- "scope": null,
- "targets": [ ]
}
}
], - "resolved_dependencies": {
- "resolution_timestamp": "2019-08-24T14:15:22Z",
- "dependency_graph": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "dependencies": [
- {
- "name": null,
- "public": null,
- "source_repository_http_clone_url": null,
- "source_repository_ref": null,
- "release_date": null,
- "platform_source": null,
- "maven_dependency_scope": null,
- "rust_dependency_kind": null,
- "golang_dependency_scope": null,
- "js_dependency_scope": null,
- "pypi_dependency_scope": null,
- "gem_dependency_scope": null,
- "nuget_dependency_scope": null,
- "packagist_dependency_scope": null,
- "github_action_kind": null,
- "cocoapod_dependency_scope": null,
- "hugging_face_dependency_scope": null,
- "dependency_scope": null,
- "swift_dependency_scope": null,
- "pinned": null,
- "abstract": null,
- "targets": [ ],
- "vendored": null,
- "imported_type": null,
- "file_locations": [ ],
- "container_layers": [ ],
- "patched": null,
- "purl": null,
- "eol_timestamp": null
}
], - "dependency_files": [
- {
- "path": null
}
]
}, - "resolution_errors": {
- "unresolved": {
- "status_error": "STATUS_ERROR_UNSPECIFIED",
- "target": "string",
- "description": "string",
- "operation": "string",
- "error_analysis": [
- null
], - "target_files": {
- "property1": null,
- "property2": null
}
}, - "resolved": {
- "status_error": "STATUS_ERROR_UNSPECIFIED",
- "target": "string",
- "description": "string",
- "operation": "string",
- "error_analysis": [
- null
], - "target_files": {
- "property1": null,
- "property2": null
}
}, - "call_graph": {
- "status_error": "STATUS_ERROR_UNSPECIFIED",
- "target": "string",
- "description": "string",
- "operation": "string",
- "error_analysis": [
- null
], - "target_files": {
- "property1": null,
- "property2": null
}
}
}, - "ecosystem": "ECOSYSTEM_UNSPECIFIED",
- "package_name": "string",
- "language": "LANGUAGE_UNSPECIFIED",
- "relative_path": "string",
- "container_metadata": {
- "digest": "string",
- "layers": [
- {
- "digest": null,
- "command": null,
- "base_layer": null
}
], - "base_image": {
- "name": "string"
}, - "distribution": "string",
- "version": "string"
}, - "bazel_metadata": {
- "build_path": "string"
}, - "code_owners": {
- "owners": [
- "string"
], - "labels": [
- "string"
]
}, - "call_graph_available": true
}, - "processing_status": {
- "scan_state": "SCAN_STATE_UNSPECIFIED",
- "scan_time": "2019-08-24T14:15:22Z",
- "analytic_time": "2019-08-24T14:15:22Z",
- "queue_time": "2019-08-24T14:15:22Z",
- "disable_automated_scan": true,
- "metadata": {
- "full_history_scan_time": "2019-08-24T14:15:22Z"
}
}, - "context": {
- "type": "CONTEXT_TYPE_UNSPECIFIED",
- "will_be_deleted_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "tags": [
- "string"
]
}
}, - "additional_notes": [
- "string"
]
}
}, - "cvss_version": "CVSS_VERSION_UNSPECIFIED"
}, - "summary": "string",
- "finding_tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "target_uuid": "string",
- "extra_key": "string",
- "method": "SYSTEM_EVALUATION_METHOD_DEFINITION_UNSPECIFIED",
- "target_dependency_package_name": "string",
- "target_dependency_name": "string",
- "target_dependency_version": "string",
- "explanation": "string",
- "remediation_action": "FINDING_REMEDIATION_UNSPECIFIED",
- "source_code_version": {
- "sha": "string",
- "ref": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}, - "reachable_paths": [
- {
- "nodes": [
- {
- "function_ref": {
- "language": "string",
- "registry": "string",
- "product": "string",
- "version": "string",
- "namespace": "string",
- "language_specific": "string",
- "classname": "string",
- "function_or_attribute_name": "string",
- "args": [
- "string"
], - "return_type": "string",
- "declared_type": "string",
- "signature": "string"
}, - "package_version": "string",
- "internal": true
}
]
}
], - "ecosystem": "ECOSYSTEM_UNSPECIFIED",
- "finding_categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "relationship": "string",
- "latest_version": "string",
- "dependency_file_paths": [
- "string"
], - "approximation": true,
- "proposed_version": "string",
- "exceptions": {
- "policy_uuids": [
- "string"
], - "tags": [
- "string"
]
}, - "actions": {
- "policy_uuids": [
- "string"
]
}, - "fixing_upgrades": {
- "upgrade_list": [
- {
- "package_name": "string",
- "direct_dependency_name": "string",
- "from_version": "string",
- "to_version": "string",
- "upgrade_risk": "string"
}
]
}, - "fixing_patch": {
- "endor_patch_available": true
}, - "code_owners": {
- "owners": [
- "string"
], - "labels": [
- "string"
]
}, - "location_urls": {
- "property1": "string",
- "property2": "string"
}
}, - "context": {
- "type": "CONTEXT_TYPE_UNSPECIFIED",
- "will_be_deleted_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "tags": [
- "string"
]
}
}
UpdateNamespace
Updates a provided namespace based on its UUID.
path Parameters
object.tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
Request Body schema: application/jsonrequired
object (v1UpdateRequest) Message used for all update requests. | |
object Namespace provides a mechanism for isolating groups of resources. Namespaces may be defined in a parent child hierarchy. |
Responses
Request samples
- Payload
{- "request": {
- "update_mask": "string",
- "force": true
}, - "object": {
- "tenant_meta": { },
- "meta": {
- "name": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "spec": {
- "managed": true
}
}
}
Response samples
- 200
- default
{- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "full_name": "string",
- "managed": true
}
}
UpdateNamespace
Updates a provided namespace based on its UUID.
path Parameters
object.tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
object.uuid required | string The UUID of a namespace. |
Request Body schema: application/jsonrequired
object (v1UpdateRequest) Message used for all update requests. | |
object Namespace provides a mechanism for isolating groups of resources. Namespaces may be defined in a parent child hierarchy. |
Responses
Request samples
- Payload
{- "request": {
- "update_mask": "string",
- "force": true
}, - "object": {
- "tenant_meta": { },
- "meta": {
- "name": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "spec": {
- "managed": true
}
}
}
Response samples
- 200
- default
{- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "full_name": "string",
- "managed": true
}
}
ListNamespaces
Lists all namespaces in a tenant.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
query Parameters
list_parameters.filter | string String of conditions to filter resources by. Filters may include any attribute along with the following operators: "==", "!=", ">", ">=", "<", "<=", "Contains", "In", "Matches", and "Exists". The logical operators "And" and "Or" are also supported. Expressions may be combined and grouped with parentheses. Examples: "spec.value == 5", "spec.value in ["a", "b", "c"]", "(meta.name == "xyz" and "spec.value in ["a","b"]) or (spec.value == "c")". |
list_parameters.page_token | integer <int32> Set the page token to start from. Use page tokens to page through list results or list specific pages. |
list_parameters.page_size | integer <int32> Set the page size to limit the number of results returned. Default: 100. Max: 500. |
list_parameters.action | string Action to be executed with a request. Not supported for all endpoints. |
list_parameters.mask | string List of fields to return (all fields are returned by default). |
list_parameters.traverse | boolean Get data from any child namespaces as well. |
list_parameters.sort.path | string Field to sort objects by, for example, meta.name. |
list_parameters.sort.order | string Default: "SORT_ENTRY_ORDER_UNSPECIFIED" Enum: "SORT_ENTRY_ORDER_UNSPECIFIED" "SORT_ENTRY_ORDER_ASC" "SORT_ENTRY_ORDER_DESC" Sort order. Default: ASC. |
list_parameters.count | boolean Return the number of objects matching the given list parameters. If count is set to true, the response is a CountResponse. Can be used together with filter and traverse. |
list_parameters.group.aggregation_paths | string Group the objects based on this field. If there are multiple fields then the objects are grouped based on the uniqueness of all fields. Supports composite paths. Supports arrays and maps. |
list_parameters.group.show_aggregation_uuids | boolean Return the UUID of each object in each group as specified by aggregation_paths. |
list_parameters.group.unique_count_paths | string List of fields for which we want the unique count. Supports arrays and maps. |
list_parameters.group.unique_value_paths | string List of fields for which we want the unique values. Supports arrays and maps. |
list_parameters.ci_run_uuid | string Only return objects from PR scans that match this context id. |
list_parameters.page_id | string Page ID to retrieve. |
list_parameters.group_by_time.aggregation_paths | string Group the objects based on this time field, for example, meta.create_time. |
list_parameters.group_by_time.show_aggregation_uuids | boolean Return the UUIDs of the objects in each group. |
list_parameters.group_by_time.interval | string Default: "GROUP_BY_TIME_INTERVAL_UNSPECIFIED" Enum: "GROUP_BY_TIME_INTERVAL_UNSPECIFIED" "GROUP_BY_TIME_INTERVAL_YEAR" "GROUP_BY_TIME_INTERVAL_QUARTER" "GROUP_BY_TIME_INTERVAL_MONTH" "GROUP_BY_TIME_INTERVAL_WEEK" "GROUP_BY_TIME_INTERVAL_DAY" "GROUP_BY_TIME_INTERVAL_HOUR" "GROUP_BY_TIME_INTERVAL_MINUTE" "GROUP_BY_TIME_INTERVAL_SECOND" Interval unit by which the objects should be grouped. |
list_parameters.group_by_time.group_size | integer <int32> Size of the time interval to group the objects by, for example, to group objects by 2-week intervals, set interval to GROUP_BY_TIME_INTERVAL_WEEK and group_size to 2. |
list_parameters.group_by_time.start_time | string <date-time> Beginning of the time period to group objects. Defaults to the beginning of time. |
list_parameters.group_by_time.end_time | string <date-time> End of the time period to group objects. Defaults to the current time. |
list_parameters.group_by_time.mode | string The mode determines how the matching objects are counted in the produced time-series. Values allowed are: count (default) : is the number of items matching in every interval. sum: is the total number of items matching since the beginning of the aggregation time. |
list_parameters.group_by_time.aggregation_value_field | string The aggregation_field is a field on the matched objects that we want to perform some operation in each interval (example : min, max, avg) |
list_parameters.group_by_time.aggregation_operator | string The aggreation_operator is the operator that we should use for the aggregation. Allowed values are: min, max, sum, avg |
list_parameters.disable_pagination | boolean If true, the results will not be paginated and only the first page will be returned. The order of the results is not guaranteed. |
Responses
Response samples
- 200
- default
{- "list": {
- "objects": [
- {
- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "full_name": "string",
- "managed": true
}
}
], - "response": {
- "next_page_token": 0,
- "next_page_id": "string"
}
}, - "count_response": {
- "count": 0
}, - "group_response": {
- "groups": {
- "property1": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0.1
}
}, - "property2": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0.1
}
}
}
}
}
CreateNamespace
Creates a namespace.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
Request Body schema: application/jsonrequired
tenant_meta | object (Namespaces are associated with a tenant.) Namespaces are associated with a tenant. |
required | object (v1Meta) Common fields for all Endor Labs resources. |
object (v1NamespaceSpec) |
Responses
Request samples
- Payload
{- "tenant_meta": { },
- "meta": {
- "name": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "spec": {
- "managed": true
}
}
Response samples
- 200
- default
{- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "full_name": "string",
- "managed": true
}
}
GetNamespace
Fetches a namespace identified by its UUID.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
uuid required | string The UUID of the requested resource. |
query Parameters
get_parameters.mask | string List of fields to return (all fields are returned by default). |
Responses
Response samples
- 200
- default
{- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "full_name": "string",
- "managed": true
}
}
DeleteNamespace
Deletes a namespace based on its UUID.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
uuid required | string The UUID of the resource to be deleted. |
query Parameters
delete_parameters.action | string Action to be executed with delete request. |
delete_parameters.force | boolean Force will force the deletion of the resource if any checks fail. |
Responses
Response samples
- 200
- default
{ }
ListPackageManagers
Lists all package managers in a given namespace
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
query Parameters
list_parameters.filter | string String of conditions to filter resources by. Filters may include any attribute along with the following operators: "==", "!=", ">", ">=", "<", "<=", "Contains", "In", "Matches", and "Exists". The logical operators "And" and "Or" are also supported. Expressions may be combined and grouped with parentheses. Examples: "spec.value == 5", "spec.value in ["a", "b", "c"]", "(meta.name == "xyz" and "spec.value in ["a","b"]) or (spec.value == "c")". |
list_parameters.page_token | integer <int32> Set the page token to start from. Use page tokens to page through list results or list specific pages. |
list_parameters.page_size | integer <int32> Set the page size to limit the number of results returned. Default: 100. Max: 500. |
list_parameters.action | string Action to be executed with a request. Not supported for all endpoints. |
list_parameters.mask | string List of fields to return (all fields are returned by default). |
list_parameters.traverse | boolean Get data from any child namespaces as well. |
list_parameters.sort.path | string Field to sort objects by, for example, meta.name. |
list_parameters.sort.order | string Default: "SORT_ENTRY_ORDER_UNSPECIFIED" Enum: "SORT_ENTRY_ORDER_UNSPECIFIED" "SORT_ENTRY_ORDER_ASC" "SORT_ENTRY_ORDER_DESC" Sort order. Default: ASC. |
list_parameters.count | boolean Return the number of objects matching the given list parameters. If count is set to true, the response is a CountResponse. Can be used together with filter and traverse. |
list_parameters.group.aggregation_paths | string Group the objects based on this field. If there are multiple fields then the objects are grouped based on the uniqueness of all fields. Supports composite paths. Supports arrays and maps. |
list_parameters.group.show_aggregation_uuids | boolean Return the UUID of each object in each group as specified by aggregation_paths. |
list_parameters.group.unique_count_paths | string List of fields for which we want the unique count. Supports arrays and maps. |
list_parameters.group.unique_value_paths | string List of fields for which we want the unique values. Supports arrays and maps. |
list_parameters.ci_run_uuid | string Only return objects from PR scans that match this context id. |
list_parameters.page_id | string Page ID to retrieve. |
list_parameters.group_by_time.aggregation_paths | string Group the objects based on this time field, for example, meta.create_time. |
list_parameters.group_by_time.show_aggregation_uuids | boolean Return the UUIDs of the objects in each group. |
list_parameters.group_by_time.interval | string Default: "GROUP_BY_TIME_INTERVAL_UNSPECIFIED" Enum: "GROUP_BY_TIME_INTERVAL_UNSPECIFIED" "GROUP_BY_TIME_INTERVAL_YEAR" "GROUP_BY_TIME_INTERVAL_QUARTER" "GROUP_BY_TIME_INTERVAL_MONTH" "GROUP_BY_TIME_INTERVAL_WEEK" "GROUP_BY_TIME_INTERVAL_DAY" "GROUP_BY_TIME_INTERVAL_HOUR" "GROUP_BY_TIME_INTERVAL_MINUTE" "GROUP_BY_TIME_INTERVAL_SECOND" Interval unit by which the objects should be grouped. |
list_parameters.group_by_time.group_size | integer <int32> Size of the time interval to group the objects by, for example, to group objects by 2-week intervals, set interval to GROUP_BY_TIME_INTERVAL_WEEK and group_size to 2. |
list_parameters.group_by_time.start_time | string <date-time> Beginning of the time period to group objects. Defaults to the beginning of time. |
list_parameters.group_by_time.end_time | string <date-time> End of the time period to group objects. Defaults to the current time. |
list_parameters.group_by_time.mode | string The mode determines how the matching objects are counted in the produced time-series. Values allowed are: count (default) : is the number of items matching in every interval. sum: is the total number of items matching since the beginning of the aggregation time. |
list_parameters.group_by_time.aggregation_value_field | string The aggregation_field is a field on the matched objects that we want to perform some operation in each interval (example : min, max, avg) |
list_parameters.group_by_time.aggregation_operator | string The aggreation_operator is the operator that we should use for the aggregation. Allowed values are: min, max, sum, avg |
list_parameters.disable_pagination | boolean If true, the results will not be paginated and only the first page will be returned. The order of the results is not guaranteed. |
Responses
Response samples
- 200
- default
{- "list": {
- "objects": [
- {
- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "auth_provider": {
- "package_manager_type": "PACKAGE_MANAGER_TYPE_UNSPECIFIED",
- "aws": {
- "domain": "string",
- "domain_owner": "string",
- "repository": "string",
- "target_role_arn": "string",
- "allowed_audience": "string",
- "region": "string"
}
}, - "npm": {
- "priority": 0,
- "url": "string",
- "token": "string",
- "scope": "string",
- "auth_token": "string",
- "mtls": {
- "client_cert": "string",
- "client_key": "string",
- "server_cert": "string",
- "ca_cert": "string"
}
}, - "mvn": {
- "priority": 0,
- "url": "string",
- "user": "string",
- "password": "string",
- "id": "string",
- "name": "string",
- "snapshots": true,
- "is_plugin_repository": true,
- "region": "string",
- "public_repository": true,
- "mtls": {
- "client_cert": "string",
- "client_key": "string",
- "server_cert": "string",
- "ca_cert": "string"
}
}, - "cargo": {
- "priority": 0,
- "url": "string",
- "token": "string"
}, - "pypi": {
- "priority": 0,
- "url": "string",
- "user": "string",
- "password": "string",
- "mtls": {
- "client_cert": "string",
- "client_key": "string",
- "server_cert": "string",
- "ca_cert": "string"
}
}, - "gem": {
- "priority": 0,
- "url": "string",
- "user": "string",
- "password": "string"
}, - "nuget": {
- "priority": 0,
- "url": "string",
- "user": "string",
- "password": "string"
}, - "packagist": {
- "auth_kind": "AUTH_KIND_UNSPECIFIED",
- "host": "string",
- "user": "string",
- "password": "string"
}, - "gradle": {
- "property_key_name": "string",
- "property_key_value": "string",
- "mtls": {
- "client_cert": "string",
- "client_key": "string",
- "server_cert": "string",
- "ca_cert": "string"
}
}, - "cocoapod": {
- "priority": 0,
- "url": "string"
}, - "swift": {
- "priority": 0,
- "url": "string",
- "scope": "string",
- "token": "string",
- "basic_auth": {
- "username": "string",
- "password": "string"
}
}, - "package_manager_status": {
- "state": "STATE_UNSPECIFIED",
- "error_message": "string",
- "last_tested_at": "2019-08-24T14:15:22Z"
}
}, - "propagate": true
}
], - "response": {
- "next_page_token": 0,
- "next_page_id": "string"
}
}, - "count_response": {
- "count": 0
}, - "group_response": {
- "groups": {
- "property1": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0.1
}
}, - "property2": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0.1
}
}
}
}
}
GetPackageManager
Fetches the package manager identified by the UUID.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
uuid required | string The UUID of the requested resource. |
query Parameters
get_parameters.mask | string List of fields to return (all fields are returned by default). |
Responses
Response samples
- 200
- default
{- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "auth_provider": {
- "package_manager_type": "PACKAGE_MANAGER_TYPE_UNSPECIFIED",
- "aws": {
- "domain": "string",
- "domain_owner": "string",
- "repository": "string",
- "target_role_arn": "string",
- "allowed_audience": "string",
- "region": "string"
}
}, - "npm": {
- "priority": 0,
- "url": "string",
- "token": "string",
- "scope": "string",
- "auth_token": "string",
- "mtls": {
- "client_cert": "string",
- "client_key": "string",
- "server_cert": "string",
- "ca_cert": "string"
}
}, - "mvn": {
- "priority": 0,
- "url": "string",
- "user": "string",
- "password": "string",
- "id": "string",
- "name": "string",
- "snapshots": true,
- "is_plugin_repository": true,
- "region": "string",
- "public_repository": true,
- "mtls": {
- "client_cert": "string",
- "client_key": "string",
- "server_cert": "string",
- "ca_cert": "string"
}
}, - "cargo": {
- "priority": 0,
- "url": "string",
- "token": "string"
}, - "pypi": {
- "priority": 0,
- "url": "string",
- "user": "string",
- "password": "string",
- "mtls": {
- "client_cert": "string",
- "client_key": "string",
- "server_cert": "string",
- "ca_cert": "string"
}
}, - "gem": {
- "priority": 0,
- "url": "string",
- "user": "string",
- "password": "string"
}, - "nuget": {
- "priority": 0,
- "url": "string",
- "user": "string",
- "password": "string"
}, - "packagist": {
- "auth_kind": "AUTH_KIND_UNSPECIFIED",
- "host": "string",
- "user": "string",
- "password": "string"
}, - "gradle": {
- "property_key_name": "string",
- "property_key_value": "string",
- "mtls": {
- "client_cert": "string",
- "client_key": "string",
- "server_cert": "string",
- "ca_cert": "string"
}
}, - "cocoapod": {
- "priority": 0,
- "url": "string"
}, - "swift": {
- "priority": 0,
- "url": "string",
- "scope": "string",
- "token": "string",
- "basic_auth": {
- "username": "string",
- "password": "string"
}
}, - "package_manager_status": {
- "state": "STATE_UNSPECIFIED",
- "error_message": "string",
- "last_tested_at": "2019-08-24T14:15:22Z"
}
}, - "propagate": true
}
ListPackageVersions
Lists all the package versions in a given namespace.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
query Parameters
list_parameters.filter | string String of conditions to filter resources by. Filters may include any attribute along with the following operators: "==", "!=", ">", ">=", "<", "<=", "Contains", "In", "Matches", and "Exists". The logical operators "And" and "Or" are also supported. Expressions may be combined and grouped with parentheses. Examples: "spec.value == 5", "spec.value in ["a", "b", "c"]", "(meta.name == "xyz" and "spec.value in ["a","b"]) or (spec.value == "c")". |
list_parameters.page_token | integer <int32> Set the page token to start from. Use page tokens to page through list results or list specific pages. |
list_parameters.page_size | integer <int32> Set the page size to limit the number of results returned. Default: 100. Max: 500. |
list_parameters.action | string Action to be executed with a request. Not supported for all endpoints. |
list_parameters.mask | string List of fields to return (all fields are returned by default). |
list_parameters.traverse | boolean Get data from any child namespaces as well. |
list_parameters.sort.path | string Field to sort objects by, for example, meta.name. |
list_parameters.sort.order | string Default: "SORT_ENTRY_ORDER_UNSPECIFIED" Enum: "SORT_ENTRY_ORDER_UNSPECIFIED" "SORT_ENTRY_ORDER_ASC" "SORT_ENTRY_ORDER_DESC" Sort order. Default: ASC. |
list_parameters.count | boolean Return the number of objects matching the given list parameters. If count is set to true, the response is a CountResponse. Can be used together with filter and traverse. |
list_parameters.group.aggregation_paths | string Group the objects based on this field. If there are multiple fields then the objects are grouped based on the uniqueness of all fields. Supports composite paths. Supports arrays and maps. |
list_parameters.group.show_aggregation_uuids | boolean Return the UUID of each object in each group as specified by aggregation_paths. |
list_parameters.group.unique_count_paths | string List of fields for which we want the unique count. Supports arrays and maps. |
list_parameters.group.unique_value_paths | string List of fields for which we want the unique values. Supports arrays and maps. |
list_parameters.ci_run_uuid | string Only return objects from PR scans that match this context id. |
list_parameters.page_id | string Page ID to retrieve. |
list_parameters.group_by_time.aggregation_paths | string Group the objects based on this time field, for example, meta.create_time. |
list_parameters.group_by_time.show_aggregation_uuids | boolean Return the UUIDs of the objects in each group. |
list_parameters.group_by_time.interval | string Default: "GROUP_BY_TIME_INTERVAL_UNSPECIFIED" Enum: "GROUP_BY_TIME_INTERVAL_UNSPECIFIED" "GROUP_BY_TIME_INTERVAL_YEAR" "GROUP_BY_TIME_INTERVAL_QUARTER" "GROUP_BY_TIME_INTERVAL_MONTH" "GROUP_BY_TIME_INTERVAL_WEEK" "GROUP_BY_TIME_INTERVAL_DAY" "GROUP_BY_TIME_INTERVAL_HOUR" "GROUP_BY_TIME_INTERVAL_MINUTE" "GROUP_BY_TIME_INTERVAL_SECOND" Interval unit by which the objects should be grouped. |
list_parameters.group_by_time.group_size | integer <int32> Size of the time interval to group the objects by, for example, to group objects by 2-week intervals, set interval to GROUP_BY_TIME_INTERVAL_WEEK and group_size to 2. |
list_parameters.group_by_time.start_time | string <date-time> Beginning of the time period to group objects. Defaults to the beginning of time. |
list_parameters.group_by_time.end_time | string <date-time> End of the time period to group objects. Defaults to the current time. |
list_parameters.group_by_time.mode | string The mode determines how the matching objects are counted in the produced time-series. Values allowed are: count (default) : is the number of items matching in every interval. sum: is the total number of items matching since the beginning of the aggregation time. |
list_parameters.group_by_time.aggregation_value_field | string The aggregation_field is a field on the matched objects that we want to perform some operation in each interval (example : min, max, avg) |
list_parameters.group_by_time.aggregation_operator | string The aggreation_operator is the operator that we should use for the aggregation. Allowed values are: min, max, sum, avg |
list_parameters.disable_pagination | boolean If true, the results will not be paginated and only the first page will be returned. The order of the results is not guaranteed. |
Responses
Response samples
- 200
- default
{- "list": {
- "objects": [
- {
- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "project_uuid": "string",
- "source_code_reference": {
- "version": {
- "sha": "string",
- "ref": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}, - "http_clone_url": "string",
- "platform_source": "PLATFORM_SOURCE_UNSPECIFIED"
}, - "release_timestamp": "2019-08-24T14:15:22Z",
- "unresolved_dependencies": [
- {
- "maven": {
- "group_id": "string",
- "artifact_id": "string",
- "version_constraints": "string",
- "exclusions": "string",
- "scope": "string",
- "scope_type": "SCOPE_UNSPECIFIED",
- "optional": true,
- "type": "string",
- "classifier": "string",
- "targets": [
- {
- "type": null,
- "name": null,
- "version": null,
- "exclude": null
}
]
}, - "go": {
- "package": "string",
- "ref": "string",
- "scope_type": "SCOPE_UNSPECIFIED",
- "targets": [
- {
- "type": null,
- "name": null,
- "version": null,
- "exclude": null
}
]
}, - "cargo": {
- "name": "string",
- "source": "string",
- "req": [
- {
- "op": null,
- "major": null,
- "minor": null,
- "patch": null,
- "pre": null
}
], - "kind": "DEPENDENCY_KIND_UNSPECIFIED",
- "optional": true,
- "uses_default_features": true,
- "features": [
- "string"
], - "named": {
- "name": "string"
}, - "cfg": {
- "expr": {
- "not": null,
- "all": null,
- "any": null,
- "value": null
}
}, - "rename": "string",
- "registry": "string",
- "path": "string",
- "targets": [
- {
- "type": null,
- "name": null,
- "version": null,
- "exclude": null
}
], - "version_constraints": "string"
}, - "pypi": {
- "name": "string",
- "version_constraints": "string",
- "scope_type": "SCOPE_UNSPECIFIED",
- "package_manager_type": "PACKAGE_MANAGER_TYPE_UNSPECIFIED",
- "targets": [
- {
- "type": null,
- "name": null,
- "version": null,
- "exclude": null
}
]
}, - "npm": {
- "name": "string",
- "version": "string",
- "version_constraint": "string",
- "scope": "SCOPE_UNSPECIFIED",
- "targets": [
- {
- "type": null,
- "name": null,
- "version": null,
- "exclude": null
}
]
}, - "gem": {
- "name": "string",
- "version_constraints": "string",
- "scope_type": "SCOPE_UNSPECIFIED",
- "targets": [
- {
- "type": null,
- "name": null,
- "version": null,
- "exclude": null
}
]
}, - "nuget": {
- "name": "string",
- "version_constraints": "string",
- "scope": "DEPENDENCY_SCOPE_UNSPECIFIED",
- "targets": [
- {
- "type": null,
- "name": null,
- "version": null,
- "exclude": null
}
]
}, - "packagist": {
- "name": "string",
- "version_constraints": "string",
- "scope_type": "SCOPE_UNSPECIFIED",
- "targets": [
- {
- "type": null,
- "name": null,
- "version": null,
- "exclude": null
}
]
}, - "githubaction": {
- "name": "string",
- "version": "string",
- "scope": "SCOPE_UNSPECIFIED",
- "action_type": "GH_ACTION_TYPE_UNSPECIFIED"
}, - "cocoapod": {
- "name": "string",
- "version_constraints": "string",
- "scope": "DEPENDENCY_SCOPE_UNSPECIFIED",
- "targets": [
- {
- "type": null,
- "name": null,
- "version": null,
- "exclude": null
}
]
}, - "hugging_face": {
- "name": "string",
- "version": "string"
}, - "c": {
- "name": "string",
- "version_constraints": "string",
- "scope": "DEPENDENCY_SCOPE_UNSPECIFIED",
- "targets": [
- {
- "type": null,
- "name": null,
- "version": null,
- "exclude": null
}
]
}, - "swift": {
- "name": "string",
- "exact": "string",
- "revision": "string",
- "branch": "string",
- "range": {
- "lower_bound": "string",
- "upper_bound": "string"
}, - "scope": "DEPENDENCY_SCOPE_UNSPECIFIED",
- "targets": [
- {
- "type": null,
- "name": null,
- "version": null,
- "exclude": null
}
]
}
}
], - "resolved_dependencies": {
- "resolution_timestamp": "2019-08-24T14:15:22Z",
- "dependency_graph": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "dependencies": [
- {
- "name": "string",
- "public": true,
- "source_repository_http_clone_url": "string",
- "source_repository_ref": "string",
- "release_date": "2019-08-24T14:15:22Z",
- "platform_source": "PLATFORM_SOURCE_UNSPECIFIED",
- "maven_dependency_scope": "SCOPE_UNSPECIFIED",
- "rust_dependency_kind": "DEPENDENCY_KIND_UNSPECIFIED",
- "golang_dependency_scope": "SCOPE_UNSPECIFIED",
- "js_dependency_scope": "SCOPE_UNSPECIFIED",
- "pypi_dependency_scope": "SCOPE_UNSPECIFIED",
- "gem_dependency_scope": "SCOPE_UNSPECIFIED",
- "nuget_dependency_scope": "DEPENDENCY_SCOPE_UNSPECIFIED",
- "packagist_dependency_scope": "SCOPE_UNSPECIFIED",
- "github_action_kind": "SCOPE_UNSPECIFIED",
- "cocoapod_dependency_scope": "DEPENDENCY_SCOPE_UNSPECIFIED",
- "hugging_face_dependency_scope": "DEPENDENCY_SCOPE_UNSPECIFIED",
- "dependency_scope": "DEPENDENCY_SCOPE_UNSPECIFIED",
- "swift_dependency_scope": "DEPENDENCY_SCOPE_UNSPECIFIED",
- "pinned": true,
- "abstract": true,
- "targets": [
- {
- "type": null,
- "name": null,
- "version": null,
- "exclude": null
}
], - "vendored": true,
- "imported_type": "IMPORTED_TYPE_UNSPECIFIED",
- "file_locations": [
- "string"
], - "container_layers": [
- {
- "digest": null,
- "file_locations": [ ]
}
], - "patched": true,
- "purl": "string",
- "eol_timestamp": "2019-08-24T14:15:22Z"
}
], - "dependency_files": [
- {
- "path": "string"
}
]
}, - "resolution_errors": {
- "unresolved": {
- "status_error": "STATUS_ERROR_UNSPECIFIED",
- "target": "string",
- "description": "string",
- "operation": "string",
- "error_analysis": [
- {
- "explanation": "string",
- "error_category": "ERROR_CATEGORY_UNSPECIFIED",
- "matching_snippet": "string",
- "matching_rule": "string",
- "fixable": true,
- "fixable_notes": "string"
}
], - "target_files": {
- "property1": "string",
- "property2": "string"
}
}, - "resolved": {
- "status_error": "STATUS_ERROR_UNSPECIFIED",
- "target": "string",
- "description": "string",
- "operation": "string",
- "error_analysis": [
- {
- "explanation": "string",
- "error_category": "ERROR_CATEGORY_UNSPECIFIED",
- "matching_snippet": "string",
- "matching_rule": "string",
- "fixable": true,
- "fixable_notes": "string"
}
], - "target_files": {
- "property1": "string",
- "property2": "string"
}
}, - "call_graph": {
- "status_error": "STATUS_ERROR_UNSPECIFIED",
- "target": "string",
- "description": "string",
- "operation": "string",
- "error_analysis": [
- {
- "explanation": "string",
- "error_category": "ERROR_CATEGORY_UNSPECIFIED",
- "matching_snippet": "string",
- "matching_rule": "string",
- "fixable": true,
- "fixable_notes": "string"
}
], - "target_files": {
- "property1": "string",
- "property2": "string"
}
}
}, - "ecosystem": "ECOSYSTEM_UNSPECIFIED",
- "package_name": "string",
- "language": "LANGUAGE_UNSPECIFIED",
- "relative_path": "string",
- "container_metadata": {
- "digest": "string",
- "layers": [
- {
- "digest": "string",
- "command": "string",
- "base_layer": true
}
], - "base_image": {
- "name": "string"
}, - "distribution": "string",
- "version": "string"
}, - "bazel_metadata": {
- "build_path": "string"
}, - "code_owners": {
- "owners": [
- "string"
], - "labels": [
- "string"
]
}, - "call_graph_available": true
}, - "processing_status": {
- "scan_state": "SCAN_STATE_UNSPECIFIED",
- "scan_time": "2019-08-24T14:15:22Z",
- "analytic_time": "2019-08-24T14:15:22Z",
- "queue_time": "2019-08-24T14:15:22Z",
- "disable_automated_scan": true,
- "metadata": {
- "full_history_scan_time": "2019-08-24T14:15:22Z"
}
}, - "context": {
- "type": "CONTEXT_TYPE_UNSPECIFIED",
- "will_be_deleted_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "tags": [
- "string"
]
}
}
], - "response": {
- "next_page_token": 0,
- "next_page_id": "string"
}
}, - "count_response": {
- "count": 0
}, - "group_response": {
- "groups": {
- "property1": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0.1
}
}, - "property2": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0.1
}
}
}
}
}
GetPackageVersion
Fetches a package version specified by the UUID.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
uuid required | string The UUID of the requested resource. |
query Parameters
get_parameters.mask | string List of fields to return (all fields are returned by default). |
Responses
Response samples
- 200
- default
{- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "project_uuid": "string",
- "source_code_reference": {
- "version": {
- "sha": "string",
- "ref": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}, - "http_clone_url": "string",
- "platform_source": "PLATFORM_SOURCE_UNSPECIFIED"
}, - "release_timestamp": "2019-08-24T14:15:22Z",
- "unresolved_dependencies": [
- {
- "maven": {
- "group_id": "string",
- "artifact_id": "string",
- "version_constraints": "string",
- "exclusions": "string",
- "scope": "string",
- "scope_type": "SCOPE_UNSPECIFIED",
- "optional": true,
- "type": "string",
- "classifier": "string",
- "targets": [
- {
- "type": "TARGET_TYPE_UNSPECIFIED",
- "name": "string",
- "version": "string",
- "exclude": true
}
]
}, - "go": {
- "package": "string",
- "ref": "string",
- "scope_type": "SCOPE_UNSPECIFIED",
- "targets": [
- {
- "type": "TARGET_TYPE_UNSPECIFIED",
- "name": "string",
- "version": "string",
- "exclude": true
}
]
}, - "cargo": {
- "name": "string",
- "source": "string",
- "req": [
- {
- "op": "OP_UNSPECIFIED",
- "major": "string",
- "minor": "string",
- "patch": "string",
- "pre": "string"
}
], - "kind": "DEPENDENCY_KIND_UNSPECIFIED",
- "optional": true,
- "uses_default_features": true,
- "features": [
- "string"
], - "named": {
- "name": "string"
}, - "cfg": {
- "expr": {
- "not": {
- "expr": { }
}, - "all": {
- "expr": [
- { }
]
}, - "any": {
- "expr": [
- { }
]
}, - "value": {
- "name": "string",
- "pair": {
- "key": "string",
- "value": "string"
}
}
}
}, - "rename": "string",
- "registry": "string",
- "path": "string",
- "targets": [
- {
- "type": "TARGET_TYPE_UNSPECIFIED",
- "name": "string",
- "version": "string",
- "exclude": true
}
], - "version_constraints": "string"
}, - "pypi": {
- "name": "string",
- "version_constraints": "string",
- "scope_type": "SCOPE_UNSPECIFIED",
- "package_manager_type": "PACKAGE_MANAGER_TYPE_UNSPECIFIED",
- "targets": [
- {
- "type": "TARGET_TYPE_UNSPECIFIED",
- "name": "string",
- "version": "string",
- "exclude": true
}
]
}, - "npm": {
- "name": "string",
- "version": "string",
- "version_constraint": "string",
- "scope": "SCOPE_UNSPECIFIED",
- "targets": [
- {
- "type": "TARGET_TYPE_UNSPECIFIED",
- "name": "string",
- "version": "string",
- "exclude": true
}
]
}, - "gem": {
- "name": "string",
- "version_constraints": "string",
- "scope_type": "SCOPE_UNSPECIFIED",
- "targets": [
- {
- "type": "TARGET_TYPE_UNSPECIFIED",
- "name": "string",
- "version": "string",
- "exclude": true
}
]
}, - "nuget": {
- "name": "string",
- "version_constraints": "string",
- "scope": "DEPENDENCY_SCOPE_UNSPECIFIED",
- "targets": [
- {
- "type": "TARGET_TYPE_UNSPECIFIED",
- "name": "string",
- "version": "string",
- "exclude": true
}
]
}, - "packagist": {
- "name": "string",
- "version_constraints": "string",
- "scope_type": "SCOPE_UNSPECIFIED",
- "targets": [
- {
- "type": "TARGET_TYPE_UNSPECIFIED",
- "name": "string",
- "version": "string",
- "exclude": true
}
]
}, - "githubaction": {
- "name": "string",
- "version": "string",
- "scope": "SCOPE_UNSPECIFIED",
- "action_type": "GH_ACTION_TYPE_UNSPECIFIED"
}, - "cocoapod": {
- "name": "string",
- "version_constraints": "string",
- "scope": "DEPENDENCY_SCOPE_UNSPECIFIED",
- "targets": [
- {
- "type": "TARGET_TYPE_UNSPECIFIED",
- "name": "string",
- "version": "string",
- "exclude": true
}
]
}, - "hugging_face": {
- "name": "string",
- "version": "string"
}, - "c": {
- "name": "string",
- "version_constraints": "string",
- "scope": "DEPENDENCY_SCOPE_UNSPECIFIED",
- "targets": [
- {
- "type": "TARGET_TYPE_UNSPECIFIED",
- "name": "string",
- "version": "string",
- "exclude": true
}
]
}, - "swift": {
- "name": "string",
- "exact": "string",
- "revision": "string",
- "branch": "string",
- "range": {
- "lower_bound": "string",
- "upper_bound": "string"
}, - "scope": "DEPENDENCY_SCOPE_UNSPECIFIED",
- "targets": [
- {
- "type": "TARGET_TYPE_UNSPECIFIED",
- "name": "string",
- "version": "string",
- "exclude": true
}
]
}
}
], - "resolved_dependencies": {
- "resolution_timestamp": "2019-08-24T14:15:22Z",
- "dependency_graph": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "dependencies": [
- {
- "name": "string",
- "public": true,
- "source_repository_http_clone_url": "string",
- "source_repository_ref": "string",
- "release_date": "2019-08-24T14:15:22Z",
- "platform_source": "PLATFORM_SOURCE_UNSPECIFIED",
- "maven_dependency_scope": "SCOPE_UNSPECIFIED",
- "rust_dependency_kind": "DEPENDENCY_KIND_UNSPECIFIED",
- "golang_dependency_scope": "SCOPE_UNSPECIFIED",
- "js_dependency_scope": "SCOPE_UNSPECIFIED",
- "pypi_dependency_scope": "SCOPE_UNSPECIFIED",
- "gem_dependency_scope": "SCOPE_UNSPECIFIED",
- "nuget_dependency_scope": "DEPENDENCY_SCOPE_UNSPECIFIED",
- "packagist_dependency_scope": "SCOPE_UNSPECIFIED",
- "github_action_kind": "SCOPE_UNSPECIFIED",
- "cocoapod_dependency_scope": "DEPENDENCY_SCOPE_UNSPECIFIED",
- "hugging_face_dependency_scope": "DEPENDENCY_SCOPE_UNSPECIFIED",
- "dependency_scope": "DEPENDENCY_SCOPE_UNSPECIFIED",
- "swift_dependency_scope": "DEPENDENCY_SCOPE_UNSPECIFIED",
- "pinned": true,
- "abstract": true,
- "targets": [
- {
- "type": "TARGET_TYPE_UNSPECIFIED",
- "name": "string",
- "version": "string",
- "exclude": true
}
], - "vendored": true,
- "imported_type": "IMPORTED_TYPE_UNSPECIFIED",
- "file_locations": [
- "string"
], - "container_layers": [
- {
- "digest": "string",
- "file_locations": [
- "string"
]
}
], - "patched": true,
- "purl": "string",
- "eol_timestamp": "2019-08-24T14:15:22Z"
}
], - "dependency_files": [
- {
- "path": "string"
}
]
}, - "resolution_errors": {
- "unresolved": {
- "status_error": "STATUS_ERROR_UNSPECIFIED",
- "target": "string",
- "description": "string",
- "operation": "string",
- "error_analysis": [
- {
- "explanation": "string",
- "error_category": "ERROR_CATEGORY_UNSPECIFIED",
- "matching_snippet": "string",
- "matching_rule": "string",
- "fixable": true,
- "fixable_notes": "string"
}
], - "target_files": {
- "property1": "string",
- "property2": "string"
}
}, - "resolved": {
- "status_error": "STATUS_ERROR_UNSPECIFIED",
- "target": "string",
- "description": "string",
- "operation": "string",
- "error_analysis": [
- {
- "explanation": "string",
- "error_category": "ERROR_CATEGORY_UNSPECIFIED",
- "matching_snippet": "string",
- "matching_rule": "string",
- "fixable": true,
- "fixable_notes": "string"
}
], - "target_files": {
- "property1": "string",
- "property2": "string"
}
}, - "call_graph": {
- "status_error": "STATUS_ERROR_UNSPECIFIED",
- "target": "string",
- "description": "string",
- "operation": "string",
- "error_analysis": [
- {
- "explanation": "string",
- "error_category": "ERROR_CATEGORY_UNSPECIFIED",
- "matching_snippet": "string",
- "matching_rule": "string",
- "fixable": true,
- "fixable_notes": "string"
}
], - "target_files": {
- "property1": "string",
- "property2": "string"
}
}
}, - "ecosystem": "ECOSYSTEM_UNSPECIFIED",
- "package_name": "string",
- "language": "LANGUAGE_UNSPECIFIED",
- "relative_path": "string",
- "container_metadata": {
- "digest": "string",
- "layers": [
- {
- "digest": "string",
- "command": "string",
- "base_layer": true
}
], - "base_image": {
- "name": "string"
}, - "distribution": "string",
- "version": "string"
}, - "bazel_metadata": {
- "build_path": "string"
}, - "code_owners": {
- "owners": [
- "string"
], - "labels": [
- "string"
]
}, - "call_graph_available": true
}, - "processing_status": {
- "scan_state": "SCAN_STATE_UNSPECIFIED",
- "scan_time": "2019-08-24T14:15:22Z",
- "analytic_time": "2019-08-24T14:15:22Z",
- "queue_time": "2019-08-24T14:15:22Z",
- "disable_automated_scan": true,
- "metadata": {
- "full_history_scan_time": "2019-08-24T14:15:22Z"
}
}, - "context": {
- "type": "CONTEXT_TYPE_UNSPECIFIED",
- "will_be_deleted_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "tags": [
- "string"
]
}
}
UpdatePolicy
Updates the policy.
path Parameters
object.tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
Request Body schema: application/jsonrequired
object (v1UpdateRequest) Message used for all update requests. | |
object Policy represents a policy in the system. |
Responses
Request samples
- Payload
{- "request": {
- "update_mask": "string",
- "force": true
}, - "object": {
- "tenant_meta": { },
- "meta": {
- "name": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "spec": {
- "policy_type": "POLICY_TYPE_UNSPECIFIED",
- "rule": "string",
- "project_selector": [
- "string"
], - "project_exceptions": [
- "string"
], - "resource_kinds": [
- "string"
], - "disable": true,
- "query_statements": [
- "string"
], - "template_uuid": "string",
- "template_values": {
- "property1": {
- "values": [
- "string"
]
}, - "property2": {
- "values": [
- "string"
]
}
}, - "template_version": "string",
- "template_parameters": [
- {
- "value": "string",
- "description": "string",
- "possible_values": [
- "string"
], - "name": "string",
- "multiple_ok": true,
- "possible_values_from_db": {
- "resource_kind": "string",
- "input_field": "string",
- "filter": "string",
- "namespace": "string"
}, - "default_values": [
- "string"
], - "required": true
}
], - "finding_level": "FINDING_LEVEL_UNSPECIFIED",
- "group_by_fields": [
- "string"
], - "admission": {
- "disable_enforcement": true,
- "bypass_exceptions": true
}, - "finding": {
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "summary": "string",
- "explanation": "string",
- "remediation": "string",
- "external_name": "string",
- "meta_tags": [
- "string"
], - "target_kind": "string"
}, - "notification": {
- "notification_target_uuids": [
- "string"
], - "aggregation_type": "AGGREGATION_TYPE_UNSPECIFIED",
- "bypass_exceptions": true
}, - "exception": {
- "reason": "EXCEPTION_REASON_UNSPECIFIED",
- "expiration_time": "2019-08-24T14:15:22Z",
- "tags": [
- "string"
]
}
}, - "propagate": true
}
}
Response samples
- 200
- default
{- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "policy_type": "POLICY_TYPE_UNSPECIFIED",
- "rule": "string",
- "project_selector": [
- "string"
], - "project_exceptions": [
- "string"
], - "resource_kinds": [
- "string"
], - "disable": true,
- "query_statements": [
- "string"
], - "template_uuid": "string",
- "template_values": {
- "property1": {
- "values": [
- "string"
]
}, - "property2": {
- "values": [
- "string"
]
}
}, - "template_version": "string",
- "template_parameters": [
- {
- "value": "string",
- "description": "string",
- "possible_values": [
- "string"
], - "name": "string",
- "multiple_ok": true,
- "possible_values_from_db": {
- "resource_kind": "string",
- "input_field": "string",
- "filter": "string",
- "namespace": "string"
}, - "default_values": [
- "string"
], - "required": true
}
], - "finding_level": "FINDING_LEVEL_UNSPECIFIED",
- "group_by_fields": [
- "string"
], - "admission": {
- "disable_enforcement": true,
- "bypass_exceptions": true
}, - "finding": {
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "summary": "string",
- "explanation": "string",
- "remediation": "string",
- "external_name": "string",
- "meta_tags": [
- "string"
], - "target_kind": "string"
}, - "notification": {
- "notification_target_uuids": [
- "string"
], - "aggregation_type": "AGGREGATION_TYPE_UNSPECIFIED",
- "bypass_exceptions": true
}, - "exception": {
- "reason": "EXCEPTION_REASON_UNSPECIFIED",
- "expiration_time": "2019-08-24T14:15:22Z",
- "tags": [
- "string"
]
}
}, - "propagate": true
}
ListPolicies
Lists all policies in a namespace.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
query Parameters
list_parameters.filter | string String of conditions to filter resources by. Filters may include any attribute along with the following operators: "==", "!=", ">", ">=", "<", "<=", "Contains", "In", "Matches", and "Exists". The logical operators "And" and "Or" are also supported. Expressions may be combined and grouped with parentheses. Examples: "spec.value == 5", "spec.value in ["a", "b", "c"]", "(meta.name == "xyz" and "spec.value in ["a","b"]) or (spec.value == "c")". |
list_parameters.page_token | integer <int32> Set the page token to start from. Use page tokens to page through list results or list specific pages. |
list_parameters.page_size | integer <int32> Set the page size to limit the number of results returned. Default: 100. Max: 500. |
list_parameters.action | string Action to be executed with a request. Not supported for all endpoints. |
list_parameters.mask | string List of fields to return (all fields are returned by default). |
list_parameters.traverse | boolean Get data from any child namespaces as well. |
list_parameters.sort.path | string Field to sort objects by, for example, meta.name. |
list_parameters.sort.order | string Default: "SORT_ENTRY_ORDER_UNSPECIFIED" Enum: "SORT_ENTRY_ORDER_UNSPECIFIED" "SORT_ENTRY_ORDER_ASC" "SORT_ENTRY_ORDER_DESC" Sort order. Default: ASC. |
list_parameters.count | boolean Return the number of objects matching the given list parameters. If count is set to true, the response is a CountResponse. Can be used together with filter and traverse. |
list_parameters.group.aggregation_paths | string Group the objects based on this field. If there are multiple fields then the objects are grouped based on the uniqueness of all fields. Supports composite paths. Supports arrays and maps. |
list_parameters.group.show_aggregation_uuids | boolean Return the UUID of each object in each group as specified by aggregation_paths. |
list_parameters.group.unique_count_paths | string List of fields for which we want the unique count. Supports arrays and maps. |
list_parameters.group.unique_value_paths | string List of fields for which we want the unique values. Supports arrays and maps. |
list_parameters.ci_run_uuid | string Only return objects from PR scans that match this context id. |
list_parameters.page_id | string Page ID to retrieve. |
list_parameters.group_by_time.aggregation_paths | string Group the objects based on this time field, for example, meta.create_time. |
list_parameters.group_by_time.show_aggregation_uuids | boolean Return the UUIDs of the objects in each group. |
list_parameters.group_by_time.interval | string Default: "GROUP_BY_TIME_INTERVAL_UNSPECIFIED" Enum: "GROUP_BY_TIME_INTERVAL_UNSPECIFIED" "GROUP_BY_TIME_INTERVAL_YEAR" "GROUP_BY_TIME_INTERVAL_QUARTER" "GROUP_BY_TIME_INTERVAL_MONTH" "GROUP_BY_TIME_INTERVAL_WEEK" "GROUP_BY_TIME_INTERVAL_DAY" "GROUP_BY_TIME_INTERVAL_HOUR" "GROUP_BY_TIME_INTERVAL_MINUTE" "GROUP_BY_TIME_INTERVAL_SECOND" Interval unit by which the objects should be grouped. |
list_parameters.group_by_time.group_size | integer <int32> Size of the time interval to group the objects by, for example, to group objects by 2-week intervals, set interval to GROUP_BY_TIME_INTERVAL_WEEK and group_size to 2. |
list_parameters.group_by_time.start_time | string <date-time> Beginning of the time period to group objects. Defaults to the beginning of time. |
list_parameters.group_by_time.end_time | string <date-time> End of the time period to group objects. Defaults to the current time. |
list_parameters.group_by_time.mode | string The mode determines how the matching objects are counted in the produced time-series. Values allowed are: count (default) : is the number of items matching in every interval. sum: is the total number of items matching since the beginning of the aggregation time. |
list_parameters.group_by_time.aggregation_value_field | string The aggregation_field is a field on the matched objects that we want to perform some operation in each interval (example : min, max, avg) |
list_parameters.group_by_time.aggregation_operator | string The aggreation_operator is the operator that we should use for the aggregation. Allowed values are: min, max, sum, avg |
list_parameters.disable_pagination | boolean If true, the results will not be paginated and only the first page will be returned. The order of the results is not guaranteed. |
Responses
Response samples
- 200
- default
{- "list": {
- "objects": [
- {
- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "policy_type": "POLICY_TYPE_UNSPECIFIED",
- "rule": "string",
- "project_selector": [
- "string"
], - "project_exceptions": [
- "string"
], - "resource_kinds": [
- "string"
], - "disable": true,
- "query_statements": [
- "string"
], - "template_uuid": "string",
- "template_values": {
- "property1": {
- "values": [
- "string"
]
}, - "property2": {
- "values": [
- "string"
]
}
}, - "template_version": "string",
- "template_parameters": [
- {
- "value": "string",
- "description": "string",
- "possible_values": [
- "string"
], - "name": "string",
- "multiple_ok": true,
- "possible_values_from_db": {
- "resource_kind": "string",
- "input_field": "string",
- "filter": "string",
- "namespace": "string"
}, - "default_values": [
- "string"
], - "required": true
}
], - "finding_level": "FINDING_LEVEL_UNSPECIFIED",
- "group_by_fields": [
- "string"
], - "admission": {
- "disable_enforcement": true,
- "bypass_exceptions": true
}, - "finding": {
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "summary": "string",
- "explanation": "string",
- "remediation": "string",
- "external_name": "string",
- "meta_tags": [
- "string"
], - "target_kind": "string"
}, - "notification": {
- "notification_target_uuids": [
- "string"
], - "aggregation_type": "AGGREGATION_TYPE_UNSPECIFIED",
- "bypass_exceptions": true
}, - "exception": {
- "reason": "EXCEPTION_REASON_UNSPECIFIED",
- "expiration_time": "2019-08-24T14:15:22Z",
- "tags": [
- "string"
]
}
}, - "propagate": true
}
], - "response": {
- "next_page_token": 0,
- "next_page_id": "string"
}
}, - "count_response": {
- "count": 0
}, - "group_response": {
- "groups": {
- "property1": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0.1
}
}, - "property2": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0.1
}
}
}
}
}
CreatePolicy
Creates a policy.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
Request Body schema: application/jsonrequired
tenant_meta | object (Policies can be issued per namespace.) Policies can be issued per namespace. |
required | object (v1Meta) Common fields for all Endor Labs resources. |
required | object (v1PolicySpec) |
propagate | boolean Whether the object should be visible in child namespaces or not. |
Responses
Request samples
- Payload
{- "tenant_meta": { },
- "meta": {
- "name": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "spec": {
- "policy_type": "POLICY_TYPE_UNSPECIFIED",
- "rule": "string",
- "project_selector": [
- "string"
], - "project_exceptions": [
- "string"
], - "resource_kinds": [
- "string"
], - "disable": true,
- "query_statements": [
- "string"
], - "template_uuid": "string",
- "template_values": {
- "property1": {
- "values": [
- "string"
]
}, - "property2": {
- "values": [
- "string"
]
}
}, - "template_version": "string",
- "template_parameters": [
- {
- "value": "string",
- "description": "string",
- "possible_values": [
- "string"
], - "name": "string",
- "multiple_ok": true,
- "possible_values_from_db": {
- "resource_kind": "string",
- "input_field": "string",
- "filter": "string",
- "namespace": "string"
}, - "default_values": [
- "string"
], - "required": true
}
], - "finding_level": "FINDING_LEVEL_UNSPECIFIED",
- "group_by_fields": [
- "string"
], - "admission": {
- "disable_enforcement": true,
- "bypass_exceptions": true
}, - "finding": {
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "summary": "string",
- "explanation": "string",
- "remediation": "string",
- "external_name": "string",
- "meta_tags": [
- "string"
], - "target_kind": "string"
}, - "notification": {
- "notification_target_uuids": [
- "string"
], - "aggregation_type": "AGGREGATION_TYPE_UNSPECIFIED",
- "bypass_exceptions": true
}, - "exception": {
- "reason": "EXCEPTION_REASON_UNSPECIFIED",
- "expiration_time": "2019-08-24T14:15:22Z",
- "tags": [
- "string"
]
}
}, - "propagate": true
}
Response samples
- 200
- default
{- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "policy_type": "POLICY_TYPE_UNSPECIFIED",
- "rule": "string",
- "project_selector": [
- "string"
], - "project_exceptions": [
- "string"
], - "resource_kinds": [
- "string"
], - "disable": true,
- "query_statements": [
- "string"
], - "template_uuid": "string",
- "template_values": {
- "property1": {
- "values": [
- "string"
]
}, - "property2": {
- "values": [
- "string"
]
}
}, - "template_version": "string",
- "template_parameters": [
- {
- "value": "string",
- "description": "string",
- "possible_values": [
- "string"
], - "name": "string",
- "multiple_ok": true,
- "possible_values_from_db": {
- "resource_kind": "string",
- "input_field": "string",
- "filter": "string",
- "namespace": "string"
}, - "default_values": [
- "string"
], - "required": true
}
], - "finding_level": "FINDING_LEVEL_UNSPECIFIED",
- "group_by_fields": [
- "string"
], - "admission": {
- "disable_enforcement": true,
- "bypass_exceptions": true
}, - "finding": {
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "summary": "string",
- "explanation": "string",
- "remediation": "string",
- "external_name": "string",
- "meta_tags": [
- "string"
], - "target_kind": "string"
}, - "notification": {
- "notification_target_uuids": [
- "string"
], - "aggregation_type": "AGGREGATION_TYPE_UNSPECIFIED",
- "bypass_exceptions": true
}, - "exception": {
- "reason": "EXCEPTION_REASON_UNSPECIFIED",
- "expiration_time": "2019-08-24T14:15:22Z",
- "tags": [
- "string"
]
}
}, - "propagate": true
}
GetPolicy
Fetches the policy identified by the UUID.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
uuid required | string The UUID of the requested resource. |
query Parameters
get_parameters.mask | string List of fields to return (all fields are returned by default). |
Responses
Response samples
- 200
- default
{- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "policy_type": "POLICY_TYPE_UNSPECIFIED",
- "rule": "string",
- "project_selector": [
- "string"
], - "project_exceptions": [
- "string"
], - "resource_kinds": [
- "string"
], - "disable": true,
- "query_statements": [
- "string"
], - "template_uuid": "string",
- "template_values": {
- "property1": {
- "values": [
- "string"
]
}, - "property2": {
- "values": [
- "string"
]
}
}, - "template_version": "string",
- "template_parameters": [
- {
- "value": "string",
- "description": "string",
- "possible_values": [
- "string"
], - "name": "string",
- "multiple_ok": true,
- "possible_values_from_db": {
- "resource_kind": "string",
- "input_field": "string",
- "filter": "string",
- "namespace": "string"
}, - "default_values": [
- "string"
], - "required": true
}
], - "finding_level": "FINDING_LEVEL_UNSPECIFIED",
- "group_by_fields": [
- "string"
], - "admission": {
- "disable_enforcement": true,
- "bypass_exceptions": true
}, - "finding": {
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "summary": "string",
- "explanation": "string",
- "remediation": "string",
- "external_name": "string",
- "meta_tags": [
- "string"
], - "target_kind": "string"
}, - "notification": {
- "notification_target_uuids": [
- "string"
], - "aggregation_type": "AGGREGATION_TYPE_UNSPECIFIED",
- "bypass_exceptions": true
}, - "exception": {
- "reason": "EXCEPTION_REASON_UNSPECIFIED",
- "expiration_time": "2019-08-24T14:15:22Z",
- "tags": [
- "string"
]
}
}, - "propagate": true
}
DeletePolicy
Deletes the policy specified by the UUID.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
uuid required | string The UUID of the resource to be deleted. |
query Parameters
delete_parameters.action | string Action to be executed with delete request. |
delete_parameters.force | boolean Force will force the deletion of the resource if any checks fail. |
Responses
Response samples
- 200
- default
{ }
ListProjects
Lists all projects in a given namespace.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
query Parameters
list_parameters.filter | string String of conditions to filter resources by. Filters may include any attribute along with the following operators: "==", "!=", ">", ">=", "<", "<=", "Contains", "In", "Matches", and "Exists". The logical operators "And" and "Or" are also supported. Expressions may be combined and grouped with parentheses. Examples: "spec.value == 5", "spec.value in ["a", "b", "c"]", "(meta.name == "xyz" and "spec.value in ["a","b"]) or (spec.value == "c")". |
list_parameters.page_token | integer <int32> Set the page token to start from. Use page tokens to page through list results or list specific pages. |
list_parameters.page_size | integer <int32> Set the page size to limit the number of results returned. Default: 100. Max: 500. |
list_parameters.action | string Action to be executed with a request. Not supported for all endpoints. |
list_parameters.mask | string List of fields to return (all fields are returned by default). |
list_parameters.traverse | boolean Get data from any child namespaces as well. |
list_parameters.sort.path | string Field to sort objects by, for example, meta.name. |
list_parameters.sort.order | string Default: "SORT_ENTRY_ORDER_UNSPECIFIED" Enum: "SORT_ENTRY_ORDER_UNSPECIFIED" "SORT_ENTRY_ORDER_ASC" "SORT_ENTRY_ORDER_DESC" Sort order. Default: ASC. |
list_parameters.count | boolean Return the number of objects matching the given list parameters. If count is set to true, the response is a CountResponse. Can be used together with filter and traverse. |
list_parameters.group.aggregation_paths | string Group the objects based on this field. If there are multiple fields then the objects are grouped based on the uniqueness of all fields. Supports composite paths. Supports arrays and maps. |
list_parameters.group.show_aggregation_uuids | boolean Return the UUID of each object in each group as specified by aggregation_paths. |
list_parameters.group.unique_count_paths | string List of fields for which we want the unique count. Supports arrays and maps. |
list_parameters.group.unique_value_paths | string List of fields for which we want the unique values. Supports arrays and maps. |
list_parameters.ci_run_uuid | string Only return objects from PR scans that match this context id. |
list_parameters.page_id | string Page ID to retrieve. |
list_parameters.group_by_time.aggregation_paths | string Group the objects based on this time field, for example, meta.create_time. |
list_parameters.group_by_time.show_aggregation_uuids | boolean Return the UUIDs of the objects in each group. |
list_parameters.group_by_time.interval | string Default: "GROUP_BY_TIME_INTERVAL_UNSPECIFIED" Enum: "GROUP_BY_TIME_INTERVAL_UNSPECIFIED" "GROUP_BY_TIME_INTERVAL_YEAR" "GROUP_BY_TIME_INTERVAL_QUARTER" "GROUP_BY_TIME_INTERVAL_MONTH" "GROUP_BY_TIME_INTERVAL_WEEK" "GROUP_BY_TIME_INTERVAL_DAY" "GROUP_BY_TIME_INTERVAL_HOUR" "GROUP_BY_TIME_INTERVAL_MINUTE" "GROUP_BY_TIME_INTERVAL_SECOND" Interval unit by which the objects should be grouped. |
list_parameters.group_by_time.group_size | integer <int32> Size of the time interval to group the objects by, for example, to group objects by 2-week intervals, set interval to GROUP_BY_TIME_INTERVAL_WEEK and group_size to 2. |
list_parameters.group_by_time.start_time | string <date-time> Beginning of the time period to group objects. Defaults to the beginning of time. |
list_parameters.group_by_time.end_time | string <date-time> End of the time period to group objects. Defaults to the current time. |
list_parameters.group_by_time.mode | string The mode determines how the matching objects are counted in the produced time-series. Values allowed are: count (default) : is the number of items matching in every interval. sum: is the total number of items matching since the beginning of the aggregation time. |
list_parameters.group_by_time.aggregation_value_field | string The aggregation_field is a field on the matched objects that we want to perform some operation in each interval (example : min, max, avg) |
list_parameters.group_by_time.aggregation_operator | string The aggreation_operator is the operator that we should use for the aggregation. Allowed values are: min, max, sum, avg |
list_parameters.disable_pagination | boolean If true, the results will not be paginated and only the first page will be returned. The order of the results is not guaranteed. |
Responses
Response samples
- 200
- default
{- "list": {
- "objects": [
- {
- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "platform_source": "PLATFORM_SOURCE_UNSPECIFIED",
- "internal_reference_key": "string",
- "git": {
- "http_clone_url": "string",
- "git_clone_url": "string",
- "organization": "string",
- "path": "string",
- "full_name": "string",
- "web_url": "string",
- "external_installation_id": "string",
- "invalid_installation": true
}, - "unsupported": {
- "name": "string"
}, - "sbom": {
- "main_component_purl": "string",
- "kind": "SBOM_KIND_UNSPECIFIED"
}, - "model": {
- "full_name": "string",
- "http_clone_url": "string",
- "provider": "AI_MODEL_PROVIDER_UNSPECIFIED"
}, - "ingestion_token": "string",
- "toolchain_profile_uuid": "string",
- "scan_profile_uuid": "string"
}, - "processing_status": {
- "scan_state": "SCAN_STATE_UNSPECIFIED",
- "scan_time": "2019-08-24T14:15:22Z",
- "analytic_time": "2019-08-24T14:15:22Z",
- "queue_time": "2019-08-24T14:15:22Z",
- "disable_automated_scan": true,
- "metadata": {
- "full_history_scan_time": "2019-08-24T14:15:22Z"
}
}
}
], - "response": {
- "next_page_token": 0,
- "next_page_id": "string"
}
}, - "count_response": {
- "count": 0
}, - "group_response": {
- "groups": {
- "property1": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0.1
}
}, - "property2": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0.1
}
}
}
}
}
GetProject
Fetches comprehensive information about a project identified by a given UUID.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
uuid required | string The UUID of the requested resource. |
query Parameters
get_parameters.mask | string List of fields to return (all fields are returned by default). |
Responses
Response samples
- 200
- default
{- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "platform_source": "PLATFORM_SOURCE_UNSPECIFIED",
- "internal_reference_key": "string",
- "git": {
- "http_clone_url": "string",
- "git_clone_url": "string",
- "organization": "string",
- "path": "string",
- "full_name": "string",
- "web_url": "string",
- "external_installation_id": "string",
- "invalid_installation": true
}, - "unsupported": {
- "name": "string"
}, - "sbom": {
- "main_component_purl": "string",
- "kind": "SBOM_KIND_UNSPECIFIED"
}, - "model": {
- "full_name": "string",
- "http_clone_url": "string",
- "provider": "AI_MODEL_PROVIDER_UNSPECIFIED"
}, - "ingestion_token": "string",
- "toolchain_profile_uuid": "string",
- "scan_profile_uuid": "string"
}, - "processing_status": {
- "scan_state": "SCAN_STATE_UNSPECIFIED",
- "scan_time": "2019-08-24T14:15:22Z",
- "analytic_time": "2019-08-24T14:15:22Z",
- "queue_time": "2019-08-24T14:15:22Z",
- "disable_automated_scan": true,
- "metadata": {
- "full_history_scan_time": "2019-08-24T14:15:22Z"
}
}
}
DeleteProject
Deletes a project specified by its UUID.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
uuid required | string The UUID of the resource to be deleted. |
query Parameters
delete_parameters.action | string Action to be executed with delete request. |
delete_parameters.force | boolean Force will force the deletion of the resource if any checks fail. |
Responses
Response samples
- 200
- default
{ }
CreateSBOMExport
Creates an SBOM export.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
Request Body schema: application/jsonrequired
required | object (v1Meta) Common fields for all Endor Labs resources. |
tenant_meta | object (SBOM are associated with a tenant and tenant information must be provided.) SBOM are associated with a tenant and tenant information must be provided. |
object (v1ExportedSBOMSpec) The internal specification of the object. |
Responses
Request samples
- Payload
{- "meta": {
- "name": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "tenant_meta": { },
- "spec": {
- "kind": "SBOM_KIND_UNSPECIFIED",
- "format": "FORMAT_UNSPECIFIED",
- "component_type": "COMPONENT_TYPE_UNSPECIFIED",
- "hide_private_components": true,
- "export_parameters": {
- "project_uuid": "string",
- "project_name": "string",
- "package_version_uuids": [
- { }
], - "repository_version": "string"
}
}
}
Response samples
- 200
- default
{- "uuid": "string",
- "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "tenant_meta": {
- "namespace": "string"
}, - "spec": {
- "data": "string",
- "kind": "SBOM_KIND_UNSPECIFIED",
- "format": "FORMAT_UNSPECIFIED",
- "component_type": "COMPONENT_TYPE_UNSPECIFIED",
- "hide_private_components": true,
- "export_parameters": {
- "project_uuid": "string",
- "project_name": "string",
- "package_version_uuids": [
- { }
], - "repository_version": "string"
}
}
}
UpdateSBOMImport
Updates an imported SBOM.
path Parameters
object.tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
Request Body schema: application/jsonrequired
object (v1UpdateRequest) Message used for all update requests. | |
object ImportedSBOM represents an SBOM that has been imported. |
Responses
Request samples
- Payload
{- "request": {
- "update_mask": "string",
- "force": true
}, - "object": {
- "meta": {
- "name": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "tenant_meta": { },
- "spec": {
- "kind": "SBOM_KIND_UNSPECIFIED",
- "cyclone_dx": "string",
- "spdx": "string",
- "cyclone_dx_bytes": "string",
- "spdx_bytes": "string"
}, - "processing_status": {
- "scan_state": "SCAN_STATE_UNSPECIFIED",
- "scan_time": "2019-08-24T14:15:22Z",
- "analytic_time": "2019-08-24T14:15:22Z",
- "queue_time": "2019-08-24T14:15:22Z",
- "disable_automated_scan": true,
- "metadata": {
- "full_history_scan_time": "2019-08-24T14:15:22Z"
}
}, - "context": {
- "type": "CONTEXT_TYPE_UNSPECIFIED",
- "id": "string",
- "tags": [
- "string"
]
}
}
}
Response samples
- 200
- default
{- "uuid": "string",
- "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "tenant_meta": {
- "namespace": "string"
}, - "spec": {
- "identifier": "string",
- "kind": "SBOM_KIND_UNSPECIFIED",
- "version": 0,
- "main_component_purl": "string",
- "supplier_name": "string",
- "cyclone_dx": "string",
- "spdx": "string",
- "cyclone_dx_bytes": "string",
- "spdx_bytes": "string"
}, - "processing_status": {
- "scan_state": "SCAN_STATE_UNSPECIFIED",
- "scan_time": "2019-08-24T14:15:22Z",
- "analytic_time": "2019-08-24T14:15:22Z",
- "queue_time": "2019-08-24T14:15:22Z",
- "disable_automated_scan": true,
- "metadata": {
- "full_history_scan_time": "2019-08-24T14:15:22Z"
}
}, - "context": {
- "type": "CONTEXT_TYPE_UNSPECIFIED",
- "will_be_deleted_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "tags": [
- "string"
]
}
}
ListSBOMImports
Lists all imported SBOMS in a namespace.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
query Parameters
list_parameters.filter | string String of conditions to filter resources by. Filters may include any attribute along with the following operators: "==", "!=", ">", ">=", "<", "<=", "Contains", "In", "Matches", and "Exists". The logical operators "And" and "Or" are also supported. Expressions may be combined and grouped with parentheses. Examples: "spec.value == 5", "spec.value in ["a", "b", "c"]", "(meta.name == "xyz" and "spec.value in ["a","b"]) or (spec.value == "c")". |
list_parameters.page_token | integer <int32> Set the page token to start from. Use page tokens to page through list results or list specific pages. |
list_parameters.page_size | integer <int32> Set the page size to limit the number of results returned. Default: 100. Max: 500. |
list_parameters.action | string Action to be executed with a request. Not supported for all endpoints. |
list_parameters.mask | string List of fields to return (all fields are returned by default). |
list_parameters.traverse | boolean Get data from any child namespaces as well. |
list_parameters.sort.path | string Field to sort objects by, for example, meta.name. |
list_parameters.sort.order | string Default: "SORT_ENTRY_ORDER_UNSPECIFIED" Enum: "SORT_ENTRY_ORDER_UNSPECIFIED" "SORT_ENTRY_ORDER_ASC" "SORT_ENTRY_ORDER_DESC" Sort order. Default: ASC. |
list_parameters.count | boolean Return the number of objects matching the given list parameters. If count is set to true, the response is a CountResponse. Can be used together with filter and traverse. |
list_parameters.group.aggregation_paths | string Group the objects based on this field. If there are multiple fields then the objects are grouped based on the uniqueness of all fields. Supports composite paths. Supports arrays and maps. |
list_parameters.group.show_aggregation_uuids | boolean Return the UUID of each object in each group as specified by aggregation_paths. |
list_parameters.group.unique_count_paths | string List of fields for which we want the unique count. Supports arrays and maps. |
list_parameters.group.unique_value_paths | string List of fields for which we want the unique values. Supports arrays and maps. |
list_parameters.ci_run_uuid | string Only return objects from PR scans that match this context id. |
list_parameters.page_id | string Page ID to retrieve. |
list_parameters.group_by_time.aggregation_paths | string Group the objects based on this time field, for example, meta.create_time. |
list_parameters.group_by_time.show_aggregation_uuids | boolean Return the UUIDs of the objects in each group. |
list_parameters.group_by_time.interval | string Default: "GROUP_BY_TIME_INTERVAL_UNSPECIFIED" Enum: "GROUP_BY_TIME_INTERVAL_UNSPECIFIED" "GROUP_BY_TIME_INTERVAL_YEAR" "GROUP_BY_TIME_INTERVAL_QUARTER" "GROUP_BY_TIME_INTERVAL_MONTH" "GROUP_BY_TIME_INTERVAL_WEEK" "GROUP_BY_TIME_INTERVAL_DAY" "GROUP_BY_TIME_INTERVAL_HOUR" "GROUP_BY_TIME_INTERVAL_MINUTE" "GROUP_BY_TIME_INTERVAL_SECOND" Interval unit by which the objects should be grouped. |
list_parameters.group_by_time.group_size | integer <int32> Size of the time interval to group the objects by, for example, to group objects by 2-week intervals, set interval to GROUP_BY_TIME_INTERVAL_WEEK and group_size to 2. |
list_parameters.group_by_time.start_time | string <date-time> Beginning of the time period to group objects. Defaults to the beginning of time. |
list_parameters.group_by_time.end_time | string <date-time> End of the time period to group objects. Defaults to the current time. |
list_parameters.group_by_time.mode | string The mode determines how the matching objects are counted in the produced time-series. Values allowed are: count (default) : is the number of items matching in every interval. sum: is the total number of items matching since the beginning of the aggregation time. |
list_parameters.group_by_time.aggregation_value_field | string The aggregation_field is a field on the matched objects that we want to perform some operation in each interval (example : min, max, avg) |
list_parameters.group_by_time.aggregation_operator | string The aggreation_operator is the operator that we should use for the aggregation. Allowed values are: min, max, sum, avg |
list_parameters.disable_pagination | boolean If true, the results will not be paginated and only the first page will be returned. The order of the results is not guaranteed. |
Responses
Response samples
- 200
- default
{- "list": {
- "objects": [
- {
- "uuid": "string",
- "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "tenant_meta": {
- "namespace": "string"
}, - "spec": {
- "identifier": "string",
- "kind": "SBOM_KIND_UNSPECIFIED",
- "version": 0,
- "main_component_purl": "string",
- "supplier_name": "string",
- "cyclone_dx": "string",
- "spdx": "string",
- "cyclone_dx_bytes": "string",
- "spdx_bytes": "string"
}, - "processing_status": {
- "scan_state": "SCAN_STATE_UNSPECIFIED",
- "scan_time": "2019-08-24T14:15:22Z",
- "analytic_time": "2019-08-24T14:15:22Z",
- "queue_time": "2019-08-24T14:15:22Z",
- "disable_automated_scan": true,
- "metadata": {
- "full_history_scan_time": "2019-08-24T14:15:22Z"
}
}, - "context": {
- "type": "CONTEXT_TYPE_UNSPECIFIED",
- "will_be_deleted_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "tags": [
- "string"
]
}
}
], - "response": {
- "next_page_token": 0,
- "next_page_id": "string"
}
}, - "count_response": {
- "count": 0
}, - "group_response": {
- "groups": {
- "property1": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0.1
}
}, - "property2": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0.1
}
}
}
}
}
CreateSBOMImport
Imports the given SBOM.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
Request Body schema: application/jsonrequired
required | object (v1Meta) Common fields for all Endor Labs resources. |
tenant_meta | object (SBOM are associated with a tenant and tenant information must be provided.) SBOM are associated with a tenant and tenant information must be provided. |
object (v1ImportedSBOMSpec) The internal specification of the object. | |
object (v1ProcessingStatus) | |
required | object (v1Context) Contexts keep objects from different scans separated. |
Responses
Request samples
- Payload
{- "meta": {
- "name": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "tenant_meta": { },
- "spec": {
- "kind": "SBOM_KIND_UNSPECIFIED",
- "cyclone_dx": "string",
- "spdx": "string",
- "cyclone_dx_bytes": "string",
- "spdx_bytes": "string"
}, - "processing_status": {
- "scan_state": "SCAN_STATE_UNSPECIFIED",
- "scan_time": "2019-08-24T14:15:22Z",
- "analytic_time": "2019-08-24T14:15:22Z",
- "queue_time": "2019-08-24T14:15:22Z",
- "disable_automated_scan": true,
- "metadata": {
- "full_history_scan_time": "2019-08-24T14:15:22Z"
}
}, - "context": {
- "type": "CONTEXT_TYPE_UNSPECIFIED",
- "id": "string",
- "tags": [
- "string"
]
}
}
Response samples
- 200
- default
{- "uuid": "string",
- "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "tenant_meta": {
- "namespace": "string"
}, - "spec": {
- "identifier": "string",
- "kind": "SBOM_KIND_UNSPECIFIED",
- "version": 0,
- "main_component_purl": "string",
- "supplier_name": "string",
- "cyclone_dx": "string",
- "spdx": "string",
- "cyclone_dx_bytes": "string",
- "spdx_bytes": "string"
}, - "processing_status": {
- "scan_state": "SCAN_STATE_UNSPECIFIED",
- "scan_time": "2019-08-24T14:15:22Z",
- "analytic_time": "2019-08-24T14:15:22Z",
- "queue_time": "2019-08-24T14:15:22Z",
- "disable_automated_scan": true,
- "metadata": {
- "full_history_scan_time": "2019-08-24T14:15:22Z"
}
}, - "context": {
- "type": "CONTEXT_TYPE_UNSPECIFIED",
- "will_be_deleted_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "tags": [
- "string"
]
}
}
GetSBOMImport
Fetches an imported SBOM specified by its UUID.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
uuid required | string The UUID of the requested resource. |
query Parameters
get_parameters.mask | string List of fields to return (all fields are returned by default). |
Responses
Response samples
- 200
- default
{- "uuid": "string",
- "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "tenant_meta": {
- "namespace": "string"
}, - "spec": {
- "identifier": "string",
- "kind": "SBOM_KIND_UNSPECIFIED",
- "version": 0,
- "main_component_purl": "string",
- "supplier_name": "string",
- "cyclone_dx": "string",
- "spdx": "string",
- "cyclone_dx_bytes": "string",
- "spdx_bytes": "string"
}, - "processing_status": {
- "scan_state": "SCAN_STATE_UNSPECIFIED",
- "scan_time": "2019-08-24T14:15:22Z",
- "analytic_time": "2019-08-24T14:15:22Z",
- "queue_time": "2019-08-24T14:15:22Z",
- "disable_automated_scan": true,
- "metadata": {
- "full_history_scan_time": "2019-08-24T14:15:22Z"
}
}, - "context": {
- "type": "CONTEXT_TYPE_UNSPECIFIED",
- "will_be_deleted_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "tags": [
- "string"
]
}
}
DeleteSBOMImport
Deletes an imported SBOM specified by its UUID.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
uuid required | string The UUID of the resource to be deleted. |
query Parameters
delete_parameters.action | string Action to be executed with delete request. |
delete_parameters.force | boolean Force will force the deletion of the resource if any checks fail. |
Responses
Response samples
- 200
- default
{ }
UpdateScanProfile updates a specified Toolchain profile.
path Parameters
object.tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
Request Body schema: application/jsonrequired
object (v1UpdateRequest) Message used for all update requests. | |
object ScanProfile represents the scan configuration to use across different projects. |
Responses
Request samples
- Payload
{- "request": {
- "update_mask": "string",
- "force": true
}, - "object": {
- "tenant_meta": { },
- "meta": {
- "name": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "spec": {
- "toolchain_profile": {
- "os": {
- "property1": {
- "arch": {
- "property1": {
- "java_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "maven_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "gradle_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}, - "python_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "poetry_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "pip_packages": {
- "property1": null,
- "property2": null
}
}, - "javascript_tool_chain": {
- "nodejs_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "yarn_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "pnpm_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "npm_packages": {
- "property1": null,
- "property2": null
}
}, - "dotnet_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "dotnet_installer_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "additional_dotnet_versions": [
- null
]
}, - "scala_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "java_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}, - "golang_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}, - "rust_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "rustup_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "mirai_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}, - "android_tool_chain": {
- "command_line_tools_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "packages": [
- null
]
}, - "php_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "composer_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}, - "ruby_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "dependabot_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "ruby_gems": {
- "property1": null,
- "property2": null
}
}
}, - "property2": {
- "java_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "maven_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "gradle_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}, - "python_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "poetry_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "pip_packages": {
- "property1": null,
- "property2": null
}
}, - "javascript_tool_chain": {
- "nodejs_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "yarn_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "pnpm_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "npm_packages": {
- "property1": null,
- "property2": null
}
}, - "dotnet_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "dotnet_installer_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "additional_dotnet_versions": [
- null
]
}, - "scala_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "java_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}, - "golang_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}, - "rust_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "rustup_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "mirai_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}, - "android_tool_chain": {
- "command_line_tools_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "packages": [
- null
]
}, - "php_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "composer_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}, - "ruby_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "dependabot_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "ruby_gems": {
- "property1": null,
- "property2": null
}
}
}
}
}, - "property2": {
- "arch": {
- "property1": {
- "java_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "maven_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "gradle_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}, - "python_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "poetry_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "pip_packages": {
- "property1": null,
- "property2": null
}
}, - "javascript_tool_chain": {
- "nodejs_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "yarn_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "pnpm_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "npm_packages": {
- "property1": null,
- "property2": null
}
}, - "dotnet_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "dotnet_installer_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "additional_dotnet_versions": [
- null
]
}, - "scala_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "java_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}, - "golang_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}, - "rust_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "rustup_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "mirai_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}, - "android_tool_chain": {
- "command_line_tools_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "packages": [
- null
]
}, - "php_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "composer_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}, - "ruby_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "dependabot_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "ruby_gems": {
- "property1": null,
- "property2": null
}
}
}, - "property2": {
- "java_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "maven_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "gradle_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}, - "python_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "poetry_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "pip_packages": {
- "property1": null,
- "property2": null
}
}, - "javascript_tool_chain": {
- "nodejs_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "yarn_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "pnpm_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "npm_packages": {
- "property1": null,
- "property2": null
}
}, - "dotnet_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "dotnet_installer_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "additional_dotnet_versions": [
- null
]
}, - "scala_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "java_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}, - "golang_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}, - "rust_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "rustup_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "mirai_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}, - "android_tool_chain": {
- "command_line_tools_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "packages": [
- null
]
}, - "php_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "composer_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}, - "ruby_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "dependabot_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "ruby_gems": {
- "property1": null,
- "property2": null
}
}
}
}
}
}
}, - "automated_scan_parameters": {
- "full_pr_scan": true,
- "full_push_scan": true,
- "included_paths": [
- "string"
], - "excluded_paths": [
- "string"
], - "languages": [
- "string"
], - "call_graph_languages": [
- "string"
], - "bazel_configuration": {
- "bazel_exclude_targets": [
- "string"
], - "bazel_include_targets": [
- "string"
], - "bazel_show_internal_targets": true,
- "bazel_targets_query": "string",
- "bazel_workspace_path": "string"
}, - "additional_environment_variables": [
- "string"
], - "enable_pr_comments": true,
- "enable_remediation_action": true,
- "enable_automated_pr_scans": true,
- "enable_sast_scan": true,
- "enable_secret_scan": true,
- "enable_full_git_log_secret_scan": true,
- "disable_code_storage": true,
- "disable_code_snippet_storage": true,
- "enable_pr_security_review_scan": true
}, - "remediation_parameters": {
- "automated_pr_parameters": {
- "max_open_prs": 0,
- "language_parameters": {
- "property1": {
- "reviewers": [
- "string"
], - "assignees": [
- "string"
], - "labels": [
- "string"
]
}, - "property2": {
- "reviewers": [
- "string"
], - "assignees": [
- "string"
], - "labels": [
- "string"
]
}
}
}
}, - "is_default": true,
- "security_review_scanner_parameters": {
- "user_prompt": "string",
- "disable_code_summary": true
}, - "exporter_parameters": {
- "exporter_uuids": [
- "string"
]
}
}, - "propagate": true
}
}
Response samples
- 200
- default
{- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "toolchain_profile": {
- "os": {
- "property1": {
- "arch": {
- "property1": {
- "java_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "maven_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "gradle_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "python_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "poetry_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pip_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "javascript_tool_chain": {
- "nodejs_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "yarn_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pnpm_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "npm_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "dotnet_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dotnet_installer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "additional_dotnet_versions": [
- "string"
]
}, - "scala_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "java_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "golang_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "rust_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "rustup_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "mirai_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "android_tool_chain": {
- "command_line_tools_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "packages": [
- "string"
]
}, - "php_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "composer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "ruby_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dependabot_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "ruby_gems": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}
}, - "property2": {
- "java_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "maven_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "gradle_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "python_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "poetry_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pip_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "javascript_tool_chain": {
- "nodejs_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "yarn_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pnpm_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "npm_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "dotnet_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dotnet_installer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "additional_dotnet_versions": [
- "string"
]
}, - "scala_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "java_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "golang_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "rust_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "rustup_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "mirai_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "android_tool_chain": {
- "command_line_tools_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "packages": [
- "string"
]
}, - "php_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "composer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "ruby_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dependabot_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "ruby_gems": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}
}
}
}, - "property2": {
- "arch": {
- "property1": {
- "java_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "maven_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "gradle_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "python_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "poetry_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pip_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "javascript_tool_chain": {
- "nodejs_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "yarn_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pnpm_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "npm_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "dotnet_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dotnet_installer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "additional_dotnet_versions": [
- "string"
]
}, - "scala_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "java_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "golang_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "rust_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "rustup_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "mirai_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "android_tool_chain": {
- "command_line_tools_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "packages": [
- "string"
]
}, - "php_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "composer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "ruby_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dependabot_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "ruby_gems": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}
}, - "property2": {
- "java_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "maven_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "gradle_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "python_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "poetry_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pip_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "javascript_tool_chain": {
- "nodejs_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "yarn_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pnpm_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "npm_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "dotnet_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dotnet_installer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "additional_dotnet_versions": [
- "string"
]
}, - "scala_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "java_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "golang_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "rust_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "rustup_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "mirai_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "android_tool_chain": {
- "command_line_tools_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "packages": [
- "string"
]
}, - "php_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "composer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "ruby_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dependabot_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "ruby_gems": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}
}
}
}
}
}, - "automated_scan_parameters": {
- "full_pr_scan": true,
- "full_push_scan": true,
- "included_paths": [
- "string"
], - "excluded_paths": [
- "string"
], - "languages": [
- "string"
], - "call_graph_languages": [
- "string"
], - "bazel_configuration": {
- "bazel_exclude_targets": [
- "string"
], - "bazel_include_targets": [
- "string"
], - "bazel_show_internal_targets": true,
- "bazel_targets_query": "string",
- "bazel_workspace_path": "string"
}, - "additional_environment_variables": [
- "string"
], - "enable_pr_comments": true,
- "enable_remediation_action": true,
- "enable_automated_pr_scans": true,
- "enable_sast_scan": true,
- "enable_secret_scan": true,
- "enable_full_git_log_secret_scan": true,
- "disable_code_storage": true,
- "disable_code_snippet_storage": true,
- "enable_pr_security_review_scan": true
}, - "remediation_parameters": {
- "automated_pr_parameters": {
- "max_open_prs": 0,
- "language_parameters": {
- "property1": {
- "reviewers": [
- "string"
], - "assignees": [
- "string"
], - "labels": [
- "string"
]
}, - "property2": {
- "reviewers": [
- "string"
], - "assignees": [
- "string"
], - "labels": [
- "string"
]
}
}
}
}, - "is_default": true,
- "security_review_scanner_parameters": {
- "user_prompt": "string",
- "disable_code_summary": true
}, - "exporter_parameters": {
- "exporter_uuids": [
- "string"
]
}
}, - "propagate": true
}
ListScanProfiles returns a list of toolchain profiles in a specified namespace.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
query Parameters
list_parameters.filter | string String of conditions to filter resources by. Filters may include any attribute along with the following operators: "==", "!=", ">", ">=", "<", "<=", "Contains", "In", "Matches", and "Exists". The logical operators "And" and "Or" are also supported. Expressions may be combined and grouped with parentheses. Examples: "spec.value == 5", "spec.value in ["a", "b", "c"]", "(meta.name == "xyz" and "spec.value in ["a","b"]) or (spec.value == "c")". |
list_parameters.page_token | integer <int32> Set the page token to start from. Use page tokens to page through list results or list specific pages. |
list_parameters.page_size | integer <int32> Set the page size to limit the number of results returned. Default: 100. Max: 500. |
list_parameters.action | string Action to be executed with a request. Not supported for all endpoints. |
list_parameters.mask | string List of fields to return (all fields are returned by default). |
list_parameters.traverse | boolean Get data from any child namespaces as well. |
list_parameters.sort.path | string Field to sort objects by, for example, meta.name. |
list_parameters.sort.order | string Default: "SORT_ENTRY_ORDER_UNSPECIFIED" Enum: "SORT_ENTRY_ORDER_UNSPECIFIED" "SORT_ENTRY_ORDER_ASC" "SORT_ENTRY_ORDER_DESC" Sort order. Default: ASC. |
list_parameters.count | boolean Return the number of objects matching the given list parameters. If count is set to true, the response is a CountResponse. Can be used together with filter and traverse. |
list_parameters.group.aggregation_paths | string Group the objects based on this field. If there are multiple fields then the objects are grouped based on the uniqueness of all fields. Supports composite paths. Supports arrays and maps. |
list_parameters.group.show_aggregation_uuids | boolean Return the UUID of each object in each group as specified by aggregation_paths. |
list_parameters.group.unique_count_paths | string List of fields for which we want the unique count. Supports arrays and maps. |
list_parameters.group.unique_value_paths | string List of fields for which we want the unique values. Supports arrays and maps. |
list_parameters.ci_run_uuid | string Only return objects from PR scans that match this context id. |
list_parameters.page_id | string Page ID to retrieve. |
list_parameters.group_by_time.aggregation_paths | string Group the objects based on this time field, for example, meta.create_time. |
list_parameters.group_by_time.show_aggregation_uuids | boolean Return the UUIDs of the objects in each group. |
list_parameters.group_by_time.interval | string Default: "GROUP_BY_TIME_INTERVAL_UNSPECIFIED" Enum: "GROUP_BY_TIME_INTERVAL_UNSPECIFIED" "GROUP_BY_TIME_INTERVAL_YEAR" "GROUP_BY_TIME_INTERVAL_QUARTER" "GROUP_BY_TIME_INTERVAL_MONTH" "GROUP_BY_TIME_INTERVAL_WEEK" "GROUP_BY_TIME_INTERVAL_DAY" "GROUP_BY_TIME_INTERVAL_HOUR" "GROUP_BY_TIME_INTERVAL_MINUTE" "GROUP_BY_TIME_INTERVAL_SECOND" Interval unit by which the objects should be grouped. |
list_parameters.group_by_time.group_size | integer <int32> Size of the time interval to group the objects by, for example, to group objects by 2-week intervals, set interval to GROUP_BY_TIME_INTERVAL_WEEK and group_size to 2. |
list_parameters.group_by_time.start_time | string <date-time> Beginning of the time period to group objects. Defaults to the beginning of time. |
list_parameters.group_by_time.end_time | string <date-time> End of the time period to group objects. Defaults to the current time. |
list_parameters.group_by_time.mode | string The mode determines how the matching objects are counted in the produced time-series. Values allowed are: count (default) : is the number of items matching in every interval. sum: is the total number of items matching since the beginning of the aggregation time. |
list_parameters.group_by_time.aggregation_value_field | string The aggregation_field is a field on the matched objects that we want to perform some operation in each interval (example : min, max, avg) |
list_parameters.group_by_time.aggregation_operator | string The aggreation_operator is the operator that we should use for the aggregation. Allowed values are: min, max, sum, avg |
list_parameters.disable_pagination | boolean If true, the results will not be paginated and only the first page will be returned. The order of the results is not guaranteed. |
Responses
Response samples
- 200
- default
{- "list": {
- "objects": [
- {
- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "toolchain_profile": {
- "os": {
- "property1": {
- "arch": {
- "property1": {
- "java_tool_chain": null,
- "python_tool_chain": null,
- "javascript_tool_chain": null,
- "dotnet_tool_chain": null,
- "scala_tool_chain": null,
- "golang_tool_chain": null,
- "rust_tool_chain": null,
- "android_tool_chain": null,
- "php_tool_chain": null,
- "ruby_tool_chain": null
}, - "property2": {
- "java_tool_chain": null,
- "python_tool_chain": null,
- "javascript_tool_chain": null,
- "dotnet_tool_chain": null,
- "scala_tool_chain": null,
- "golang_tool_chain": null,
- "rust_tool_chain": null,
- "android_tool_chain": null,
- "php_tool_chain": null,
- "ruby_tool_chain": null
}
}
}, - "property2": {
- "arch": {
- "property1": {
- "java_tool_chain": null,
- "python_tool_chain": null,
- "javascript_tool_chain": null,
- "dotnet_tool_chain": null,
- "scala_tool_chain": null,
- "golang_tool_chain": null,
- "rust_tool_chain": null,
- "android_tool_chain": null,
- "php_tool_chain": null,
- "ruby_tool_chain": null
}, - "property2": {
- "java_tool_chain": null,
- "python_tool_chain": null,
- "javascript_tool_chain": null,
- "dotnet_tool_chain": null,
- "scala_tool_chain": null,
- "golang_tool_chain": null,
- "rust_tool_chain": null,
- "android_tool_chain": null,
- "php_tool_chain": null,
- "ruby_tool_chain": null
}
}
}
}
}, - "automated_scan_parameters": {
- "full_pr_scan": true,
- "full_push_scan": true,
- "included_paths": [
- "string"
], - "excluded_paths": [
- "string"
], - "languages": [
- "string"
], - "call_graph_languages": [
- "string"
], - "bazel_configuration": {
- "bazel_exclude_targets": [
- "string"
], - "bazel_include_targets": [
- "string"
], - "bazel_show_internal_targets": true,
- "bazel_targets_query": "string",
- "bazel_workspace_path": "string"
}, - "additional_environment_variables": [
- "string"
], - "enable_pr_comments": true,
- "enable_remediation_action": true,
- "enable_automated_pr_scans": true,
- "enable_sast_scan": true,
- "enable_secret_scan": true,
- "enable_full_git_log_secret_scan": true,
- "disable_code_storage": true,
- "disable_code_snippet_storage": true,
- "enable_pr_security_review_scan": true
}, - "remediation_parameters": {
- "automated_pr_parameters": {
- "max_open_prs": 0,
- "language_parameters": {
- "property1": {
- "reviewers": [
- null
], - "assignees": [
- null
], - "labels": [
- null
]
}, - "property2": {
- "reviewers": [
- null
], - "assignees": [
- null
], - "labels": [
- null
]
}
}
}
}, - "is_default": true,
- "security_review_scanner_parameters": {
- "user_prompt": "string",
- "disable_code_summary": true
}, - "exporter_parameters": {
- "exporter_uuids": [
- "string"
]
}
}, - "propagate": true
}
], - "response": {
- "next_page_token": 0,
- "next_page_id": "string"
}
}, - "count_response": {
- "count": 0
}, - "group_response": {
- "groups": {
- "property1": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0.1
}
}, - "property2": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0.1
}
}
}
}
}
CreateScanProfile creates a toolchain profile.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
Request Body schema: application/jsonrequired
tenant_meta | object Tenant related data for the tenant containing the resource. |
required | object (v1Meta) Common fields for all Endor Labs resources. |
required | object (v1ScanProfileSpec) Spec is the internal specification of the object. |
propagate | boolean Indicates that the object should be visible in the child namespaces. |
Responses
Request samples
- Payload
{- "tenant_meta": { },
- "meta": {
- "name": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "spec": {
- "toolchain_profile": {
- "os": {
- "property1": {
- "arch": {
- "property1": {
- "java_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "maven_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "gradle_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "python_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "poetry_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pip_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "javascript_tool_chain": {
- "nodejs_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "yarn_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pnpm_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "npm_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "dotnet_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dotnet_installer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "additional_dotnet_versions": [
- "string"
]
}, - "scala_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "java_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "golang_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "rust_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "rustup_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "mirai_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "android_tool_chain": {
- "command_line_tools_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "packages": [
- "string"
]
}, - "php_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "composer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "ruby_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dependabot_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "ruby_gems": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}
}, - "property2": {
- "java_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "maven_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "gradle_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "python_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "poetry_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pip_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "javascript_tool_chain": {
- "nodejs_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "yarn_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pnpm_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "npm_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "dotnet_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dotnet_installer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "additional_dotnet_versions": [
- "string"
]
}, - "scala_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "java_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "golang_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "rust_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "rustup_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "mirai_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "android_tool_chain": {
- "command_line_tools_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "packages": [
- "string"
]
}, - "php_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "composer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "ruby_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dependabot_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "ruby_gems": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}
}
}
}, - "property2": {
- "arch": {
- "property1": {
- "java_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "maven_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "gradle_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "python_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "poetry_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pip_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "javascript_tool_chain": {
- "nodejs_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "yarn_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pnpm_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "npm_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "dotnet_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dotnet_installer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "additional_dotnet_versions": [
- "string"
]
}, - "scala_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "java_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "golang_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "rust_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "rustup_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "mirai_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "android_tool_chain": {
- "command_line_tools_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "packages": [
- "string"
]
}, - "php_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "composer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "ruby_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dependabot_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "ruby_gems": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}
}, - "property2": {
- "java_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "maven_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "gradle_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "python_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "poetry_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pip_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "javascript_tool_chain": {
- "nodejs_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "yarn_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pnpm_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "npm_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "dotnet_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dotnet_installer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "additional_dotnet_versions": [
- "string"
]
}, - "scala_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "java_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "golang_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "rust_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "rustup_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "mirai_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "android_tool_chain": {
- "command_line_tools_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "packages": [
- "string"
]
}, - "php_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "composer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "ruby_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dependabot_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "ruby_gems": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}
}
}
}
}
}, - "automated_scan_parameters": {
- "full_pr_scan": true,
- "full_push_scan": true,
- "included_paths": [
- "string"
], - "excluded_paths": [
- "string"
], - "languages": [
- "string"
], - "call_graph_languages": [
- "string"
], - "bazel_configuration": {
- "bazel_exclude_targets": [
- "string"
], - "bazel_include_targets": [
- "string"
], - "bazel_show_internal_targets": true,
- "bazel_targets_query": "string",
- "bazel_workspace_path": "string"
}, - "additional_environment_variables": [
- "string"
], - "enable_pr_comments": true,
- "enable_remediation_action": true,
- "enable_automated_pr_scans": true,
- "enable_sast_scan": true,
- "enable_secret_scan": true,
- "enable_full_git_log_secret_scan": true,
- "disable_code_storage": true,
- "disable_code_snippet_storage": true,
- "enable_pr_security_review_scan": true
}, - "remediation_parameters": {
- "automated_pr_parameters": {
- "max_open_prs": 0,
- "language_parameters": {
- "property1": {
- "reviewers": [
- "string"
], - "assignees": [
- "string"
], - "labels": [
- "string"
]
}, - "property2": {
- "reviewers": [
- "string"
], - "assignees": [
- "string"
], - "labels": [
- "string"
]
}
}
}
}, - "is_default": true,
- "security_review_scanner_parameters": {
- "user_prompt": "string",
- "disable_code_summary": true
}, - "exporter_parameters": {
- "exporter_uuids": [
- "string"
]
}
}, - "propagate": true
}
Response samples
- 200
- default
{- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "toolchain_profile": {
- "os": {
- "property1": {
- "arch": {
- "property1": {
- "java_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "maven_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "gradle_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "python_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "poetry_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pip_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "javascript_tool_chain": {
- "nodejs_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "yarn_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pnpm_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "npm_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "dotnet_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dotnet_installer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "additional_dotnet_versions": [
- "string"
]
}, - "scala_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "java_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "golang_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "rust_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "rustup_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "mirai_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "android_tool_chain": {
- "command_line_tools_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "packages": [
- "string"
]
}, - "php_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "composer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "ruby_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dependabot_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "ruby_gems": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}
}, - "property2": {
- "java_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "maven_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "gradle_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "python_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "poetry_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pip_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "javascript_tool_chain": {
- "nodejs_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "yarn_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pnpm_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "npm_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "dotnet_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dotnet_installer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "additional_dotnet_versions": [
- "string"
]
}, - "scala_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "java_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "golang_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "rust_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "rustup_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "mirai_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "android_tool_chain": {
- "command_line_tools_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "packages": [
- "string"
]
}, - "php_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "composer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "ruby_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dependabot_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "ruby_gems": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}
}
}
}, - "property2": {
- "arch": {
- "property1": {
- "java_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "maven_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "gradle_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "python_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "poetry_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pip_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "javascript_tool_chain": {
- "nodejs_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "yarn_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pnpm_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "npm_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "dotnet_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dotnet_installer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "additional_dotnet_versions": [
- "string"
]
}, - "scala_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "java_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "golang_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "rust_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "rustup_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "mirai_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "android_tool_chain": {
- "command_line_tools_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "packages": [
- "string"
]
}, - "php_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "composer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "ruby_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dependabot_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "ruby_gems": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}
}, - "property2": {
- "java_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "maven_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "gradle_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "python_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "poetry_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pip_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "javascript_tool_chain": {
- "nodejs_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "yarn_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pnpm_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "npm_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "dotnet_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dotnet_installer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "additional_dotnet_versions": [
- "string"
]
}, - "scala_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "java_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "golang_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "rust_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "rustup_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "mirai_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "android_tool_chain": {
- "command_line_tools_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "packages": [
- "string"
]
}, - "php_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "composer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "ruby_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dependabot_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "ruby_gems": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}
}
}
}
}
}, - "automated_scan_parameters": {
- "full_pr_scan": true,
- "full_push_scan": true,
- "included_paths": [
- "string"
], - "excluded_paths": [
- "string"
], - "languages": [
- "string"
], - "call_graph_languages": [
- "string"
], - "bazel_configuration": {
- "bazel_exclude_targets": [
- "string"
], - "bazel_include_targets": [
- "string"
], - "bazel_show_internal_targets": true,
- "bazel_targets_query": "string",
- "bazel_workspace_path": "string"
}, - "additional_environment_variables": [
- "string"
], - "enable_pr_comments": true,
- "enable_remediation_action": true,
- "enable_automated_pr_scans": true,
- "enable_sast_scan": true,
- "enable_secret_scan": true,
- "enable_full_git_log_secret_scan": true,
- "disable_code_storage": true,
- "disable_code_snippet_storage": true,
- "enable_pr_security_review_scan": true
}, - "remediation_parameters": {
- "automated_pr_parameters": {
- "max_open_prs": 0,
- "language_parameters": {
- "property1": {
- "reviewers": [
- "string"
], - "assignees": [
- "string"
], - "labels": [
- "string"
]
}, - "property2": {
- "reviewers": [
- "string"
], - "assignees": [
- "string"
], - "labels": [
- "string"
]
}
}
}
}, - "is_default": true,
- "security_review_scanner_parameters": {
- "user_prompt": "string",
- "disable_code_summary": true
}, - "exporter_parameters": {
- "exporter_uuids": [
- "string"
]
}
}, - "propagate": true
}
GetScanProfile returns a toolchain profile specified by its UUID.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
uuid required | string The UUID of the requested resource. |
query Parameters
get_parameters.mask | string List of fields to return (all fields are returned by default). |
Responses
Response samples
- 200
- default
{- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "toolchain_profile": {
- "os": {
- "property1": {
- "arch": {
- "property1": {
- "java_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "maven_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "gradle_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "python_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "poetry_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pip_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "javascript_tool_chain": {
- "nodejs_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "yarn_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pnpm_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "npm_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "dotnet_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dotnet_installer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "additional_dotnet_versions": [
- "string"
]
}, - "scala_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "java_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "golang_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "rust_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "rustup_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "mirai_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "android_tool_chain": {
- "command_line_tools_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "packages": [
- "string"
]
}, - "php_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "composer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "ruby_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dependabot_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "ruby_gems": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}
}, - "property2": {
- "java_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "maven_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "gradle_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "python_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "poetry_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pip_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "javascript_tool_chain": {
- "nodejs_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "yarn_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pnpm_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "npm_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "dotnet_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dotnet_installer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "additional_dotnet_versions": [
- "string"
]
}, - "scala_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "java_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "golang_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "rust_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "rustup_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "mirai_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "android_tool_chain": {
- "command_line_tools_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "packages": [
- "string"
]
}, - "php_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "composer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "ruby_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dependabot_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "ruby_gems": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}
}
}
}, - "property2": {
- "arch": {
- "property1": {
- "java_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "maven_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "gradle_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "python_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "poetry_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pip_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "javascript_tool_chain": {
- "nodejs_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "yarn_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pnpm_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "npm_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "dotnet_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dotnet_installer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "additional_dotnet_versions": [
- "string"
]
}, - "scala_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "java_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "golang_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "rust_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "rustup_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "mirai_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "android_tool_chain": {
- "command_line_tools_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "packages": [
- "string"
]
}, - "php_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "composer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "ruby_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dependabot_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "ruby_gems": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}
}, - "property2": {
- "java_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "maven_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "gradle_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "python_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "poetry_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pip_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "javascript_tool_chain": {
- "nodejs_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "yarn_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pnpm_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "npm_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "dotnet_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dotnet_installer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "additional_dotnet_versions": [
- "string"
]
}, - "scala_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "java_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "golang_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "rust_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "rustup_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "mirai_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "android_tool_chain": {
- "command_line_tools_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "packages": [
- "string"
]
}, - "php_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "composer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "ruby_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dependabot_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "ruby_gems": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}
}
}
}
}
}, - "automated_scan_parameters": {
- "full_pr_scan": true,
- "full_push_scan": true,
- "included_paths": [
- "string"
], - "excluded_paths": [
- "string"
], - "languages": [
- "string"
], - "call_graph_languages": [
- "string"
], - "bazel_configuration": {
- "bazel_exclude_targets": [
- "string"
], - "bazel_include_targets": [
- "string"
], - "bazel_show_internal_targets": true,
- "bazel_targets_query": "string",
- "bazel_workspace_path": "string"
}, - "additional_environment_variables": [
- "string"
], - "enable_pr_comments": true,
- "enable_remediation_action": true,
- "enable_automated_pr_scans": true,
- "enable_sast_scan": true,
- "enable_secret_scan": true,
- "enable_full_git_log_secret_scan": true,
- "disable_code_storage": true,
- "disable_code_snippet_storage": true,
- "enable_pr_security_review_scan": true
}, - "remediation_parameters": {
- "automated_pr_parameters": {
- "max_open_prs": 0,
- "language_parameters": {
- "property1": {
- "reviewers": [
- "string"
], - "assignees": [
- "string"
], - "labels": [
- "string"
]
}, - "property2": {
- "reviewers": [
- "string"
], - "assignees": [
- "string"
], - "labels": [
- "string"
]
}
}
}
}, - "is_default": true,
- "security_review_scanner_parameters": {
- "user_prompt": "string",
- "disable_code_summary": true
}, - "exporter_parameters": {
- "exporter_uuids": [
- "string"
]
}
}, - "propagate": true
}
DeleteScanProfile deletes a toolchain profile specified by its UUID.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
uuid required | string The UUID of the resource to be deleted. |
query Parameters
delete_parameters.action | string Action to be executed with delete request. |
delete_parameters.force | boolean Force will force the deletion of the resource if any checks fail. |
Responses
Response samples
- 200
- default
{ }
UpdateScanResult
Update a specified scan result.
path Parameters
object.tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
Request Body schema: application/jsonrequired
object (v1UpdateRequest) Message used for all update requests. | |
object Contains the results of an endorctl scan. |
Responses
Request samples
- Payload
{- "request": {
- "update_mask": "string",
- "force": true
}, - "object": {
- "tenant_meta": { },
- "meta": {
- "name": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "spec": {
- "status": "STATUS_UNSPECIFIED",
- "errors": [
- "string"
], - "warnings": [
- "string"
], - "infos": [
- "string"
], - "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "stats": {
- "property1": 0,
- "property2": 0
}, - "type": "TYPE_UNSPECIFIED",
- "refs": [
- "string"
], - "environment": {
- "tools": [
- {
- "name": "string",
- "version": "string"
}
], - "arch": "string",
- "endorctl_version": "string",
- "config": { },
- "os": "string",
- "memory": 0.1,
- "num_cpus": 0
}, - "has_panic": true,
- "exit_code": "ENDORCTL_RC_UNSPECIFIED",
- "logs": [
- "string"
], - "policies_triggered": [
- "string"
], - "warning_findings": [
- "string"
], - "blocking_findings": [
- "string"
], - "runtimes": {
- "property1": 0,
- "property2": 0
}, - "all_findings": {
- "property1": {
- "uuid": "string",
- "name": "string",
- "description": "string",
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "approximation": true,
- "create_time": "2019-08-24T14:15:22Z",
- "target_dependency_package_name": "string"
}, - "property2": {
- "uuid": "string",
- "name": "string",
- "description": "string",
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "approximation": true,
- "create_time": "2019-08-24T14:15:22Z",
- "target_dependency_package_name": "string"
}
}, - "deleted_findings": {
- "property1": {
- "uuid": "string",
- "name": "string",
- "description": "string",
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "approximation": true,
- "create_time": "2019-08-24T14:15:22Z",
- "target_dependency_package_name": "string"
}, - "property2": {
- "uuid": "string",
- "name": "string",
- "description": "string",
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "approximation": true,
- "create_time": "2019-08-24T14:15:22Z",
- "target_dependency_package_name": "string"
}
}, - "languages_detected": [
- "string"
], - "exception_findings": {
- "property1": {
- "uuid": "string",
- "name": "string",
- "description": "string",
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "approximation": true,
- "create_time": "2019-08-24T14:15:22Z",
- "target_dependency_package_name": "string"
}, - "property2": {
- "uuid": "string",
- "name": "string",
- "description": "string",
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "approximation": true,
- "create_time": "2019-08-24T14:15:22Z",
- "target_dependency_package_name": "string"
}
}, - "findings": [
- "string"
], - "provisioning_result_uuid": "string",
- "versions": [
- {
- "sha": "string",
- "ref": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
], - "ecosystem_pkg_counts": {
- "property1": 0,
- "property2": 0
}, - "ecosystem_dep_counts": {
- "property1": 0,
- "property2": 0
}, - "provisioning_result": {
- "provisioning_result_uuid": "string",
- "exit_code": 0,
- "error": "string",
- "automated_scan_parameters_config": {
- "automated_scan_parameters_source": "AUTOMATED_SCAN_PARAMETERS_SOURCE_UNSPECIFIED",
- "resolved_scan_environment_variables": [
- "string"
]
}, - "auto_detect_result": {
- "detected_tool_chain_versions": {
- "property1": {
- "file": "string",
- "version": "string"
}, - "property2": {
- "file": "string",
- "version": "string"
}
}, - "tool_chains": {
- "java_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "maven_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "gradle_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "python_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "poetry_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "pip_packages": {
- "property1": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "property2": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}
}, - "javascript_tool_chain": {
- "nodejs_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "yarn_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "pnpm_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "npm_packages": {
- "property1": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "property2": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}
}, - "dotnet_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "dotnet_installer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "additional_dotnet_versions": [
- "string"
]
}, - "scala_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "java_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "golang_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "rust_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "rustup_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "mirai_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "android_tool_chain": {
- "command_line_tools_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "packages": [
- "string"
]
}, - "php_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "composer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "ruby_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "dependabot_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "ruby_gems": {
- "property1": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "property2": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}
}
}, - "error": "string",
- "detected_versions": {
- "property1": {
- "values": [
- {
- "file": "string",
- "version": "string"
}
]
}, - "property2": {
- "values": [
- {
- "file": "string",
- "version": "string"
}
]
}
}
}, - "tool_chains_source": "TOOL_CHAINS_SOURCE_UNSPECIFIED",
- "tool_chains": {
- "java_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "maven_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "gradle_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "python_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "poetry_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "pip_packages": {
- "property1": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "property2": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}
}, - "javascript_tool_chain": {
- "nodejs_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "yarn_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "pnpm_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "npm_packages": {
- "property1": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "property2": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}
}, - "dotnet_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "dotnet_installer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "additional_dotnet_versions": [
- "string"
]
}, - "scala_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "java_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "golang_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "rust_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "rustup_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "mirai_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "android_tool_chain": {
- "command_line_tools_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "packages": [
- "string"
]
}, - "php_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "composer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "ruby_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "dependabot_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "ruby_gems": {
- "property1": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "property2": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}
}
}, - "scan_profile": {
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "name": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "spec": {
- "toolchain_profile": {
- "os": {
- "property1": {
- "arch": {
- "property1": null,
- "property2": null
}
}, - "property2": {
- "arch": {
- "property1": null,
- "property2": null
}
}
}
}, - "automated_scan_parameters": {
- "full_pr_scan": true,
- "full_push_scan": true,
- "included_paths": [
- "string"
], - "excluded_paths": [
- "string"
], - "languages": [
- "string"
], - "call_graph_languages": [
- "string"
], - "bazel_configuration": {
- "bazel_exclude_targets": [
- "string"
], - "bazel_include_targets": [
- "string"
], - "bazel_show_internal_targets": true,
- "bazel_targets_query": "string",
- "bazel_workspace_path": "string"
}, - "additional_environment_variables": [
- "string"
], - "enable_pr_comments": true,
- "enable_remediation_action": true,
- "enable_automated_pr_scans": true,
- "enable_sast_scan": true,
- "enable_secret_scan": true,
- "enable_full_git_log_secret_scan": true,
- "disable_code_storage": true,
- "disable_code_snippet_storage": true,
- "enable_pr_security_review_scan": true
}, - "remediation_parameters": {
- "automated_pr_parameters": {
- "max_open_prs": 0,
- "language_parameters": {
- "property1": {
- "reviewers": [ ],
- "assignees": [ ],
- "labels": [ ]
}, - "property2": {
- "reviewers": [ ],
- "assignees": [ ],
- "labels": [ ]
}
}
}
}, - "is_default": true,
- "security_review_scanner_parameters": {
- "user_prompt": "string",
- "disable_code_summary": true
}, - "exporter_parameters": {
- "exporter_uuids": [
- "string"
]
}
}, - "propagate": true
}
}
}, - "context": {
- "type": "CONTEXT_TYPE_UNSPECIFIED",
- "id": "string",
- "tags": [
- "string"
]
}
}
}
Response samples
- 200
- default
{- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "status": "STATUS_UNSPECIFIED",
- "errors": [
- "string"
], - "warnings": [
- "string"
], - "infos": [
- "string"
], - "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "stats": {
- "property1": 0,
- "property2": 0
}, - "type": "TYPE_UNSPECIFIED",
- "refs": [
- "string"
], - "environment": {
- "tools": [
- {
- "name": "string",
- "version": "string"
}
], - "arch": "string",
- "endorctl_version": "string",
- "config": { },
- "os": "string",
- "memory": 0.1,
- "num_cpus": 0
}, - "has_panic": true,
- "exit_code": "ENDORCTL_RC_UNSPECIFIED",
- "logs": [
- "string"
], - "policies_triggered": [
- "string"
], - "warning_findings": [
- "string"
], - "blocking_findings": [
- "string"
], - "runtimes": {
- "property1": 0,
- "property2": 0
}, - "all_findings": {
- "property1": {
- "uuid": "string",
- "name": "string",
- "description": "string",
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "approximation": true,
- "create_time": "2019-08-24T14:15:22Z",
- "target_dependency_package_name": "string"
}, - "property2": {
- "uuid": "string",
- "name": "string",
- "description": "string",
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "approximation": true,
- "create_time": "2019-08-24T14:15:22Z",
- "target_dependency_package_name": "string"
}
}, - "deleted_findings": {
- "property1": {
- "uuid": "string",
- "name": "string",
- "description": "string",
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "approximation": true,
- "create_time": "2019-08-24T14:15:22Z",
- "target_dependency_package_name": "string"
}, - "property2": {
- "uuid": "string",
- "name": "string",
- "description": "string",
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "approximation": true,
- "create_time": "2019-08-24T14:15:22Z",
- "target_dependency_package_name": "string"
}
}, - "languages_detected": [
- "string"
], - "exception_findings": {
- "property1": {
- "uuid": "string",
- "name": "string",
- "description": "string",
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "approximation": true,
- "create_time": "2019-08-24T14:15:22Z",
- "target_dependency_package_name": "string"
}, - "property2": {
- "uuid": "string",
- "name": "string",
- "description": "string",
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "approximation": true,
- "create_time": "2019-08-24T14:15:22Z",
- "target_dependency_package_name": "string"
}
}, - "findings": [
- "string"
], - "provisioning_result_uuid": "string",
- "versions": [
- {
- "sha": "string",
- "ref": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
], - "ecosystem_pkg_counts": {
- "property1": 0,
- "property2": 0
}, - "ecosystem_dep_counts": {
- "property1": 0,
- "property2": 0
}, - "provisioning_result": {
- "provisioning_result_uuid": "string",
- "exit_code": 0,
- "error": "string",
- "automated_scan_parameters_config": {
- "automated_scan_parameters_source": "AUTOMATED_SCAN_PARAMETERS_SOURCE_UNSPECIFIED",
- "resolved_scan_environment_variables": [
- "string"
]
}, - "auto_detect_result": {
- "detected_tool_chain_versions": {
- "property1": {
- "file": "string",
- "version": "string"
}, - "property2": {
- "file": "string",
- "version": "string"
}
}, - "tool_chains": {
- "java_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "maven_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "gradle_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "python_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "poetry_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "pip_packages": {
- "property1": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "property2": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}
}, - "javascript_tool_chain": {
- "nodejs_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "yarn_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "pnpm_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "npm_packages": {
- "property1": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "property2": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}
}, - "dotnet_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "dotnet_installer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "additional_dotnet_versions": [
- "string"
]
}, - "scala_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "java_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "golang_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "rust_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "rustup_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "mirai_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "android_tool_chain": {
- "command_line_tools_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "packages": [
- "string"
]
}, - "php_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "composer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "ruby_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "dependabot_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "ruby_gems": {
- "property1": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "property2": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}
}
}, - "error": "string",
- "detected_versions": {
- "property1": {
- "values": [
- {
- "file": "string",
- "version": "string"
}
]
}, - "property2": {
- "values": [
- {
- "file": "string",
- "version": "string"
}
]
}
}
}, - "tool_chains_source": "TOOL_CHAINS_SOURCE_UNSPECIFIED",
- "tool_chains": {
- "java_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "maven_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "gradle_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "python_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "poetry_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "pip_packages": {
- "property1": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "property2": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}
}, - "javascript_tool_chain": {
- "nodejs_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "yarn_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "pnpm_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "npm_packages": {
- "property1": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "property2": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}
}, - "dotnet_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "dotnet_installer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "additional_dotnet_versions": [
- "string"
]
}, - "scala_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "java_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "golang_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "rust_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "rustup_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "mirai_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "android_tool_chain": {
- "command_line_tools_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "packages": [
- "string"
]
}, - "php_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "composer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "ruby_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "dependabot_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "ruby_gems": {
- "property1": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "property2": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}
}
}, - "scan_profile": {
- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "toolchain_profile": {
- "os": {
- "property1": {
- "arch": {
- "property1": {
- "java_tool_chain": null,
- "python_tool_chain": null,
- "javascript_tool_chain": null,
- "dotnet_tool_chain": null,
- "scala_tool_chain": null,
- "golang_tool_chain": null,
- "rust_tool_chain": null,
- "android_tool_chain": null,
- "php_tool_chain": null,
- "ruby_tool_chain": null
}, - "property2": {
- "java_tool_chain": null,
- "python_tool_chain": null,
- "javascript_tool_chain": null,
- "dotnet_tool_chain": null,
- "scala_tool_chain": null,
- "golang_tool_chain": null,
- "rust_tool_chain": null,
- "android_tool_chain": null,
- "php_tool_chain": null,
- "ruby_tool_chain": null
}
}
}, - "property2": {
- "arch": {
- "property1": {
- "java_tool_chain": null,
- "python_tool_chain": null,
- "javascript_tool_chain": null,
- "dotnet_tool_chain": null,
- "scala_tool_chain": null,
- "golang_tool_chain": null,
- "rust_tool_chain": null,
- "android_tool_chain": null,
- "php_tool_chain": null,
- "ruby_tool_chain": null
}, - "property2": {
- "java_tool_chain": null,
- "python_tool_chain": null,
- "javascript_tool_chain": null,
- "dotnet_tool_chain": null,
- "scala_tool_chain": null,
- "golang_tool_chain": null,
- "rust_tool_chain": null,
- "android_tool_chain": null,
- "php_tool_chain": null,
- "ruby_tool_chain": null
}
}
}
}
}, - "automated_scan_parameters": {
- "full_pr_scan": true,
- "full_push_scan": true,
- "included_paths": [
- "string"
], - "excluded_paths": [
- "string"
], - "languages": [
- "string"
], - "call_graph_languages": [
- "string"
], - "bazel_configuration": {
- "bazel_exclude_targets": [
- "string"
], - "bazel_include_targets": [
- "string"
], - "bazel_show_internal_targets": true,
- "bazel_targets_query": "string",
- "bazel_workspace_path": "string"
}, - "additional_environment_variables": [
- "string"
], - "enable_pr_comments": true,
- "enable_remediation_action": true,
- "enable_automated_pr_scans": true,
- "enable_sast_scan": true,
- "enable_secret_scan": true,
- "enable_full_git_log_secret_scan": true,
- "disable_code_storage": true,
- "disable_code_snippet_storage": true,
- "enable_pr_security_review_scan": true
}, - "remediation_parameters": {
- "automated_pr_parameters": {
- "max_open_prs": 0,
- "language_parameters": {
- "property1": {
- "reviewers": [
- null
], - "assignees": [
- null
], - "labels": [
- null
]
}, - "property2": {
- "reviewers": [
- null
], - "assignees": [
- null
], - "labels": [
- null
]
}
}
}
}, - "is_default": true,
- "security_review_scanner_parameters": {
- "user_prompt": "string",
- "disable_code_summary": true
}, - "exporter_parameters": {
- "exporter_uuids": [
- "string"
]
}
}, - "propagate": true
}
}
}, - "context": {
- "type": "CONTEXT_TYPE_UNSPECIFIED",
- "will_be_deleted_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "tags": [
- "string"
]
}
}
ListScanResults
List scan results based on the specified list parameters.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
query Parameters
list_parameters.filter | string String of conditions to filter resources by. Filters may include any attribute along with the following operators: "==", "!=", ">", ">=", "<", "<=", "Contains", "In", "Matches", and "Exists". The logical operators "And" and "Or" are also supported. Expressions may be combined and grouped with parentheses. Examples: "spec.value == 5", "spec.value in ["a", "b", "c"]", "(meta.name == "xyz" and "spec.value in ["a","b"]) or (spec.value == "c")". |
list_parameters.page_token | integer <int32> Set the page token to start from. Use page tokens to page through list results or list specific pages. |
list_parameters.page_size | integer <int32> Set the page size to limit the number of results returned. Default: 100. Max: 500. |
list_parameters.action | string Action to be executed with a request. Not supported for all endpoints. |
list_parameters.mask | string List of fields to return (all fields are returned by default). |
list_parameters.traverse | boolean Get data from any child namespaces as well. |
list_parameters.sort.path | string Field to sort objects by, for example, meta.name. |
list_parameters.sort.order | string Default: "SORT_ENTRY_ORDER_UNSPECIFIED" Enum: "SORT_ENTRY_ORDER_UNSPECIFIED" "SORT_ENTRY_ORDER_ASC" "SORT_ENTRY_ORDER_DESC" Sort order. Default: ASC. |
list_parameters.count | boolean Return the number of objects matching the given list parameters. If count is set to true, the response is a CountResponse. Can be used together with filter and traverse. |
list_parameters.group.aggregation_paths | string Group the objects based on this field. If there are multiple fields then the objects are grouped based on the uniqueness of all fields. Supports composite paths. Supports arrays and maps. |
list_parameters.group.show_aggregation_uuids | boolean Return the UUID of each object in each group as specified by aggregation_paths. |
list_parameters.group.unique_count_paths | string List of fields for which we want the unique count. Supports arrays and maps. |
list_parameters.group.unique_value_paths | string List of fields for which we want the unique values. Supports arrays and maps. |
list_parameters.ci_run_uuid | string Only return objects from PR scans that match this context id. |
list_parameters.page_id | string Page ID to retrieve. |
list_parameters.group_by_time.aggregation_paths | string Group the objects based on this time field, for example, meta.create_time. |
list_parameters.group_by_time.show_aggregation_uuids | boolean Return the UUIDs of the objects in each group. |
list_parameters.group_by_time.interval | string Default: "GROUP_BY_TIME_INTERVAL_UNSPECIFIED" Enum: "GROUP_BY_TIME_INTERVAL_UNSPECIFIED" "GROUP_BY_TIME_INTERVAL_YEAR" "GROUP_BY_TIME_INTERVAL_QUARTER" "GROUP_BY_TIME_INTERVAL_MONTH" "GROUP_BY_TIME_INTERVAL_WEEK" "GROUP_BY_TIME_INTERVAL_DAY" "GROUP_BY_TIME_INTERVAL_HOUR" "GROUP_BY_TIME_INTERVAL_MINUTE" "GROUP_BY_TIME_INTERVAL_SECOND" Interval unit by which the objects should be grouped. |
list_parameters.group_by_time.group_size | integer <int32> Size of the time interval to group the objects by, for example, to group objects by 2-week intervals, set interval to GROUP_BY_TIME_INTERVAL_WEEK and group_size to 2. |
list_parameters.group_by_time.start_time | string <date-time> Beginning of the time period to group objects. Defaults to the beginning of time. |
list_parameters.group_by_time.end_time | string <date-time> End of the time period to group objects. Defaults to the current time. |
list_parameters.group_by_time.mode | string The mode determines how the matching objects are counted in the produced time-series. Values allowed are: count (default) : is the number of items matching in every interval. sum: is the total number of items matching since the beginning of the aggregation time. |
list_parameters.group_by_time.aggregation_value_field | string The aggregation_field is a field on the matched objects that we want to perform some operation in each interval (example : min, max, avg) |
list_parameters.group_by_time.aggregation_operator | string The aggreation_operator is the operator that we should use for the aggregation. Allowed values are: min, max, sum, avg |
list_parameters.disable_pagination | boolean If true, the results will not be paginated and only the first page will be returned. The order of the results is not guaranteed. |
Responses
Response samples
- 200
- default
{- "list": {
- "objects": [
- {
- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "status": "STATUS_UNSPECIFIED",
- "errors": [
- "string"
], - "warnings": [
- "string"
], - "infos": [
- "string"
], - "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "stats": {
- "property1": 0,
- "property2": 0
}, - "type": "TYPE_UNSPECIFIED",
- "refs": [
- "string"
], - "environment": {
- "tools": [
- {
- "name": "string",
- "version": "string"
}
], - "arch": "string",
- "endorctl_version": "string",
- "config": { },
- "os": "string",
- "memory": 0.1,
- "num_cpus": 0
}, - "has_panic": true,
- "exit_code": "ENDORCTL_RC_UNSPECIFIED",
- "logs": [
- "string"
], - "policies_triggered": [
- "string"
], - "warning_findings": [
- "string"
], - "blocking_findings": [
- "string"
], - "runtimes": {
- "property1": 0,
- "property2": 0
}, - "all_findings": {
- "property1": {
- "uuid": "string",
- "name": "string",
- "description": "string",
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "approximation": true,
- "create_time": "2019-08-24T14:15:22Z",
- "target_dependency_package_name": "string"
}, - "property2": {
- "uuid": "string",
- "name": "string",
- "description": "string",
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "approximation": true,
- "create_time": "2019-08-24T14:15:22Z",
- "target_dependency_package_name": "string"
}
}, - "deleted_findings": {
- "property1": {
- "uuid": "string",
- "name": "string",
- "description": "string",
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "approximation": true,
- "create_time": "2019-08-24T14:15:22Z",
- "target_dependency_package_name": "string"
}, - "property2": {
- "uuid": "string",
- "name": "string",
- "description": "string",
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "approximation": true,
- "create_time": "2019-08-24T14:15:22Z",
- "target_dependency_package_name": "string"
}
}, - "languages_detected": [
- "string"
], - "exception_findings": {
- "property1": {
- "uuid": "string",
- "name": "string",
- "description": "string",
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "approximation": true,
- "create_time": "2019-08-24T14:15:22Z",
- "target_dependency_package_name": "string"
}, - "property2": {
- "uuid": "string",
- "name": "string",
- "description": "string",
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "approximation": true,
- "create_time": "2019-08-24T14:15:22Z",
- "target_dependency_package_name": "string"
}
}, - "findings": [
- "string"
], - "provisioning_result_uuid": "string",
- "versions": [
- {
- "sha": "string",
- "ref": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
], - "ecosystem_pkg_counts": {
- "property1": 0,
- "property2": 0
}, - "ecosystem_dep_counts": {
- "property1": 0,
- "property2": 0
}, - "provisioning_result": {
- "provisioning_result_uuid": "string",
- "exit_code": 0,
- "error": "string",
- "automated_scan_parameters_config": {
- "automated_scan_parameters_source": "AUTOMATED_SCAN_PARAMETERS_SOURCE_UNSPECIFIED",
- "resolved_scan_environment_variables": [
- "string"
]
}, - "auto_detect_result": {
- "detected_tool_chain_versions": {
- "property1": {
- "file": "string",
- "version": "string"
}, - "property2": {
- "file": "string",
- "version": "string"
}
}, - "tool_chains": {
- "java_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "maven_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "gradle_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}, - "python_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "poetry_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "pip_packages": {
- "property1": null,
- "property2": null
}
}, - "javascript_tool_chain": {
- "nodejs_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "yarn_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "pnpm_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "npm_packages": {
- "property1": null,
- "property2": null
}
}, - "dotnet_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "dotnet_installer_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "additional_dotnet_versions": [
- null
]
}, - "scala_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "java_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}, - "golang_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}, - "rust_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "rustup_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "mirai_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}, - "android_tool_chain": {
- "command_line_tools_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "packages": [
- null
]
}, - "php_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "composer_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}, - "ruby_tool_chain": {
- "version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "dependabot_version": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "ruby_gems": {
- "property1": null,
- "property2": null
}
}
}, - "error": "string",
- "detected_versions": {
- "property1": {
- "values": [
- null
]
}, - "property2": {
- "values": [
- null
]
}
}
}, - "tool_chains_source": "TOOL_CHAINS_SOURCE_UNSPECIFIED",
- "tool_chains": {
- "java_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "maven_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "gradle_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "python_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "poetry_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pip_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "javascript_tool_chain": {
- "nodejs_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "yarn_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "pnpm_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "npm_packages": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}, - "dotnet_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dotnet_installer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "additional_dotnet_versions": [
- "string"
]
}, - "scala_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "java_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "golang_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "rust_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "rustup_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "mirai_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "android_tool_chain": {
- "command_line_tools_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "packages": [
- "string"
]
}, - "php_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "composer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}
}, - "ruby_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "dependabot_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- null
], - "sha256_sum": "string"
}, - "ruby_gems": {
- "property1": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}, - "property2": {
- "name": null,
- "relative_tool_chain_path": null,
- "urls": [ ],
- "sha256_sum": null
}
}
}
}, - "scan_profile": {
- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": null,
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": null,
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "toolchain_profile": {
- "os": {
- "property1": null,
- "property2": null
}
}, - "automated_scan_parameters": {
- "full_pr_scan": true,
- "full_push_scan": true,
- "included_paths": [
- null
], - "excluded_paths": [
- null
], - "languages": [
- null
], - "call_graph_languages": [
- null
], - "bazel_configuration": {
- "bazel_exclude_targets": [ ],
- "bazel_include_targets": [ ],
- "bazel_show_internal_targets": null,
- "bazel_targets_query": null,
- "bazel_workspace_path": null
}, - "additional_environment_variables": [
- null
], - "enable_pr_comments": true,
- "enable_remediation_action": true,
- "enable_automated_pr_scans": true,
- "enable_sast_scan": true,
- "enable_secret_scan": true,
- "enable_full_git_log_secret_scan": true,
- "disable_code_storage": true,
- "disable_code_snippet_storage": true,
- "enable_pr_security_review_scan": true
}, - "remediation_parameters": {
- "automated_pr_parameters": {
- "max_open_prs": null,
- "language_parameters": { }
}
}, - "is_default": true,
- "security_review_scanner_parameters": {
- "user_prompt": "string",
- "disable_code_summary": true
}, - "exporter_parameters": {
- "exporter_uuids": [
- null
]
}
}, - "propagate": true
}
}
}, - "context": {
- "type": "CONTEXT_TYPE_UNSPECIFIED",
- "will_be_deleted_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "tags": [
- "string"
]
}
}
], - "response": {
- "next_page_token": 0,
- "next_page_id": "string"
}
}, - "count_response": {
- "count": 0
}, - "group_response": {
- "groups": {
- "property1": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0.1
}
}, - "property2": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0.1
}
}
}
}
}
GetScanResult
Return a specified scan result.
path Parameters
tenant_meta.namespace required | string Namespaces are a way to organize organizational units into virtual groupings of resources. Namespaces must be a fully qualified name, for example, the child namespace of namespace "endor.prod" called "app" is called "endor.prod.app". |
uuid required | string The UUID of the requested resource. |
query Parameters
get_parameters.mask | string List of fields to return (all fields are returned by default). |
Responses
Response samples
- 200
- default
{- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "status": "STATUS_UNSPECIFIED",
- "errors": [
- "string"
], - "warnings": [
- "string"
], - "infos": [
- "string"
], - "start_time": "2019-08-24T14:15:22Z",
- "end_time": "2019-08-24T14:15:22Z",
- "stats": {
- "property1": 0,
- "property2": 0
}, - "type": "TYPE_UNSPECIFIED",
- "refs": [
- "string"
], - "environment": {
- "tools": [
- {
- "name": "string",
- "version": "string"
}
], - "arch": "string",
- "endorctl_version": "string",
- "config": { },
- "os": "string",
- "memory": 0.1,
- "num_cpus": 0
}, - "has_panic": true,
- "exit_code": "ENDORCTL_RC_UNSPECIFIED",
- "logs": [
- "string"
], - "policies_triggered": [
- "string"
], - "warning_findings": [
- "string"
], - "blocking_findings": [
- "string"
], - "runtimes": {
- "property1": 0,
- "property2": 0
}, - "all_findings": {
- "property1": {
- "uuid": "string",
- "name": "string",
- "description": "string",
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "approximation": true,
- "create_time": "2019-08-24T14:15:22Z",
- "target_dependency_package_name": "string"
}, - "property2": {
- "uuid": "string",
- "name": "string",
- "description": "string",
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "approximation": true,
- "create_time": "2019-08-24T14:15:22Z",
- "target_dependency_package_name": "string"
}
}, - "deleted_findings": {
- "property1": {
- "uuid": "string",
- "name": "string",
- "description": "string",
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "approximation": true,
- "create_time": "2019-08-24T14:15:22Z",
- "target_dependency_package_name": "string"
}, - "property2": {
- "uuid": "string",
- "name": "string",
- "description": "string",
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "approximation": true,
- "create_time": "2019-08-24T14:15:22Z",
- "target_dependency_package_name": "string"
}
}, - "languages_detected": [
- "string"
], - "exception_findings": {
- "property1": {
- "uuid": "string",
- "name": "string",
- "description": "string",
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "approximation": true,
- "create_time": "2019-08-24T14:15:22Z",
- "target_dependency_package_name": "string"
}, - "property2": {
- "uuid": "string",
- "name": "string",
- "description": "string",
- "level": "FINDING_LEVEL_UNSPECIFIED",
- "tags": [
- "FINDING_TAGS_UNSPECIFIED"
], - "categories": [
- "FINDING_CATEGORY_UNSPECIFIED"
], - "approximation": true,
- "create_time": "2019-08-24T14:15:22Z",
- "target_dependency_package_name": "string"
}
}, - "findings": [
- "string"
], - "provisioning_result_uuid": "string",
- "versions": [
- {
- "sha": "string",
- "ref": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
], - "ecosystem_pkg_counts": {
- "property1": 0,
- "property2": 0
}, - "ecosystem_dep_counts": {
- "property1": 0,
- "property2": 0
}, - "provisioning_result": {
- "provisioning_result_uuid": "string",
- "exit_code": 0,
- "error": "string",
- "automated_scan_parameters_config": {
- "automated_scan_parameters_source": "AUTOMATED_SCAN_PARAMETERS_SOURCE_UNSPECIFIED",
- "resolved_scan_environment_variables": [
- "string"
]
}, - "auto_detect_result": {
- "detected_tool_chain_versions": {
- "property1": {
- "file": "string",
- "version": "string"
}, - "property2": {
- "file": "string",
- "version": "string"
}
}, - "tool_chains": {
- "java_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "maven_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "gradle_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "python_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "poetry_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "pip_packages": {
- "property1": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "property2": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}
}, - "javascript_tool_chain": {
- "nodejs_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "yarn_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "pnpm_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "npm_packages": {
- "property1": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "property2": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}
}, - "dotnet_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "dotnet_installer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "additional_dotnet_versions": [
- "string"
]
}, - "scala_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "java_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "golang_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "rust_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "rustup_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "mirai_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "android_tool_chain": {
- "command_line_tools_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "packages": [
- "string"
]
}, - "php_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "composer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "ruby_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "dependabot_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "ruby_gems": {
- "property1": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "property2": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}
}
}, - "error": "string",
- "detected_versions": {
- "property1": {
- "values": [
- {
- "file": "string",
- "version": "string"
}
]
}, - "property2": {
- "values": [
- {
- "file": "string",
- "version": "string"
}
]
}
}
}, - "tool_chains_source": "TOOL_CHAINS_SOURCE_UNSPECIFIED",
- "tool_chains": {
- "java_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "maven_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "gradle_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "python_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "poetry_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "pip_packages": {
- "property1": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "property2": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}
}, - "javascript_tool_chain": {
- "nodejs_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "yarn_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "pnpm_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "npm_packages": {
- "property1": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "property2": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}
}, - "dotnet_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "dotnet_installer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "additional_dotnet_versions": [
- "string"
]
}, - "scala_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "java_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "golang_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "rust_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "rustup_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "mirai_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "android_tool_chain": {
- "command_line_tools_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "packages": [
- "string"
]
}, - "php_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "composer_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}, - "ruby_tool_chain": {
- "version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "dependabot_version": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "ruby_gems": {
- "property1": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}, - "property2": {
- "name": "string",
- "relative_tool_chain_path": "string",
- "urls": [
- "string"
], - "sha256_sum": "string"
}
}
}
}, - "scan_profile": {
- "uuid": "string",
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "toolchain_profile": {
- "os": {
- "property1": {
- "arch": {
- "property1": {
- "java_tool_chain": null,
- "python_tool_chain": null,
- "javascript_tool_chain": null,
- "dotnet_tool_chain": null,
- "scala_tool_chain": null,
- "golang_tool_chain": null,
- "rust_tool_chain": null,
- "android_tool_chain": null,
- "php_tool_chain": null,
- "ruby_tool_chain": null
}, - "property2": {
- "java_tool_chain": null,
- "python_tool_chain": null,
- "javascript_tool_chain": null,
- "dotnet_tool_chain": null,
- "scala_tool_chain": null,
- "golang_tool_chain": null,
- "rust_tool_chain": null,
- "android_tool_chain": null,
- "php_tool_chain": null,
- "ruby_tool_chain": null
}
}
}, - "property2": {
- "arch": {
- "property1": {
- "java_tool_chain": null,
- "python_tool_chain": null,
- "javascript_tool_chain": null,
- "dotnet_tool_chain": null,
- "scala_tool_chain": null,
- "golang_tool_chain": null,
- "rust_tool_chain": null,
- "android_tool_chain": null,
- "php_tool_chain": null,
- "ruby_tool_chain": null
}, - "property2": {
- "java_tool_chain": null,
- "python_tool_chain": null,
- "javascript_tool_chain": null,
- "dotnet_tool_chain": null,
- "scala_tool_chain": null,
- "golang_tool_chain": null,
- "rust_tool_chain": null,
- "android_tool_chain": null,
- "php_tool_chain": null,
- "ruby_tool_chain": null
}
}
}
}
}, - "automated_scan_parameters": {
- "full_pr_scan": true,
- "full_push_scan": true,
- "included_paths": [
- "string"
], - "excluded_paths": [
- "string"
], - "languages": [
- "string"
], - "call_graph_languages": [
- "string"
], - "bazel_configuration": {
- "bazel_exclude_targets": [
- "string"
], - "bazel_include_targets": [
- "string"
], - "bazel_show_internal_targets": true,
- "bazel_targets_query": "string",
- "bazel_workspace_path": "string"
}, - "additional_environment_variables": [
- "string"
], - "enable_pr_comments": true,
- "enable_remediation_action": true,
- "enable_automated_pr_scans": true,
- "enable_sast_scan": true,
- "enable_secret_scan": true,
- "enable_full_git_log_secret_scan": true,
- "disable_code_storage": true,
- "disable_code_snippet_storage": true,
- "enable_pr_security_review_scan": true
}, - "remediation_parameters": {
- "automated_pr_parameters": {
- "max_open_prs": 0,
- "language_parameters": {
- "property1": {
- "reviewers": [
- null
], - "assignees": [
- null
], - "labels": [
- null
]
}, - "property2": {
- "reviewers": [
- null
], - "assignees": [
- null
], - "labels": [
- null
]
}
}
}
}, - "is_default": true,
- "security_review_scanner_parameters": {
- "user_prompt": "string",
- "disable_code_summary": true
}, - "exporter_parameters": {
- "exporter_uuids": [
- "string"
]
}
}, - "propagate": true
}
}
}, - "context": {
- "type": "CONTEXT_TYPE_UNSPECIFIED",
- "will_be_deleted_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "tags": [
- "string"
]
}
}
ListUsers
Lists all users.
query Parameters
filter | string String of conditions to filter resources by. Filters may include any attribute along with the following operators: "==", "!=", ">", ">=", "<", "<=", "Contains", "In", "Matches", and "Exists". The logical operators "And" and "Or" are also supported. Expressions may be combined and grouped with parentheses. Examples: "spec.value == 5", "spec.value in ["a", "b", "c"]", "(meta.name == "xyz" and "spec.value in ["a","b"]) or (spec.value == "c")". |
page_token | integer <int32> Set the page token to start from. Use page tokens to page through list results or list specific pages. |
page_size | integer <int32> Set the page size to limit the number of results returned. Default: 100. Max: 500. |
action | string Action to be executed with a request. Not supported for all endpoints. |
mask | string List of fields to return (all fields are returned by default). |
traverse | boolean Get data from any child namespaces as well. |
sort.path | string Field to sort objects by, for example, meta.name. |
sort.order | string Default: "SORT_ENTRY_ORDER_UNSPECIFIED" Enum: "SORT_ENTRY_ORDER_UNSPECIFIED" "SORT_ENTRY_ORDER_ASC" "SORT_ENTRY_ORDER_DESC" Sort order. Default: ASC. |
count | boolean Return the number of objects matching the given list parameters. If count is set to true, the response is a CountResponse. Can be used together with filter and traverse. |
group.aggregation_paths | string Group the objects based on this field. If there are multiple fields then the objects are grouped based on the uniqueness of all fields. Supports composite paths. Supports arrays and maps. |
group.show_aggregation_uuids | boolean Return the UUID of each object in each group as specified by aggregation_paths. |
group.unique_count_paths | string List of fields for which we want the unique count. Supports arrays and maps. |
group.unique_value_paths | string List of fields for which we want the unique values. Supports arrays and maps. |
ci_run_uuid | string Only return objects from PR scans that match this context id. |
page_id | string Page ID to retrieve. |
group_by_time.aggregation_paths | string Group the objects based on this time field, for example, meta.create_time. |
group_by_time.show_aggregation_uuids | boolean Return the UUIDs of the objects in each group. |
group_by_time.interval | string Default: "GROUP_BY_TIME_INTERVAL_UNSPECIFIED" Enum: "GROUP_BY_TIME_INTERVAL_UNSPECIFIED" "GROUP_BY_TIME_INTERVAL_YEAR" "GROUP_BY_TIME_INTERVAL_QUARTER" "GROUP_BY_TIME_INTERVAL_MONTH" "GROUP_BY_TIME_INTERVAL_WEEK" "GROUP_BY_TIME_INTERVAL_DAY" "GROUP_BY_TIME_INTERVAL_HOUR" "GROUP_BY_TIME_INTERVAL_MINUTE" "GROUP_BY_TIME_INTERVAL_SECOND" Interval unit by which the objects should be grouped. |
group_by_time.group_size | integer <int32> Size of the time interval to group the objects by, for example, to group objects by 2-week intervals, set interval to GROUP_BY_TIME_INTERVAL_WEEK and group_size to 2. |
group_by_time.start_time | string <date-time> Beginning of the time period to group objects. Defaults to the beginning of time. |
group_by_time.end_time | string <date-time> End of the time period to group objects. Defaults to the current time. |
group_by_time.mode | string The mode determines how the matching objects are counted in the produced time-series. Values allowed are: count (default) : is the number of items matching in every interval. sum: is the total number of items matching since the beginning of the aggregation time. |
group_by_time.aggregation_value_field | string The aggregation_field is a field on the matched objects that we want to perform some operation in each interval (example : min, max, avg) |
group_by_time.aggregation_operator | string The aggreation_operator is the operator that we should use for the aggregation. Allowed values are: min, max, sum, avg |
disable_pagination | boolean If true, the results will not be paginated and only the first page will be returned. The order of the results is not guaranteed. |
Responses
Response samples
- 200
- default
{- "list": {
- "objects": [
- {
- "uuid": "string",
- "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "user_name": "string",
- "first_name": "string",
- "last_name": "string",
- "email": "string",
- "last_login_time": "2019-08-24T14:15:22Z",
- "event_tracking": {
- "property1": {
- "event": [
- "string"
]
}, - "property2": {
- "event": [
- "string"
]
}
}, - "token_hash": "string"
}
}
], - "response": {
- "next_page_token": 0,
- "next_page_id": "string"
}
}, - "count_response": {
- "count": 0
}, - "group_response": {
- "groups": {
- "property1": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0.1
}
}, - "property2": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0.1
}
}
}
}
}
GetUser
Fetches a user specified by their UUID
path Parameters
uuid required | string The UUID of the requested resource. |
Responses
Response samples
- 200
- default
{- "uuid": "string",
- "meta": {
- "create_time": "2019-08-24T14:15:22Z",
- "update_time": "2019-08-24T14:15:22Z",
- "upsert_time": "2019-08-24T14:15:22Z",
- "name": "string",
- "kind": "string",
- "version": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}, - "created_by": "string",
- "updated_by": "string",
- "references": {
- "property1": {
- "@type": "string",
- "property1": null,
- "property2": null
}, - "property2": {
- "@type": "string",
- "property1": null,
- "property2": null
}
}
}, - "spec": {
- "user_name": "string",
- "first_name": "string",
- "last_name": "string",
- "email": "string",
- "last_login_time": "2019-08-24T14:15:22Z",
- "event_tracking": {
- "property1": {
- "event": [
- "string"
]
}, - "property2": {
- "event": [
- "string"
]
}
}, - "token_hash": "string"
}
}