Download OpenAPI specification:Download
Queries metrics for specific values. It returns back a text response.
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". |
tenant_meta | object (The tenant metadata restricts access to a specific tenant.) The tenant metadata restricts access to a specific tenant. |
required | object (v1Meta) Common fields for all Endor Labs resources. |
object (v1AIQuerySpec) |
{- "tenant_meta": { },
- "meta": {
- "name": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "spec": {
- "input_prompt": "string",
- "ecosystem": "ECOSYSTEM_UNSPECIFIED",
- "query_type": "QUERY_TYPE_UNSPECIFIED"
}
}
{- "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": {
- "input_prompt": "string",
- "ecosystem": "ECOSYSTEM_UNSPECIFIED",
- "output_text": "string",
- "packages": [
- {
- "name": "string",
- "description": "string",
- "repository": "string",
- "latest_version": "string",
- "qualified_name": "string",
- "package_version_uuid": "string"
}
], - "query_type": "QUERY_TYPE_UNSPECIFIED"
}
}
Updates the analytic execution record objects.
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 (v1UpdateRequest) Message used for all update requests. | |
object Captures the status, time and stats of an execution of the analytics. |
{- "request": {
- "update_mask": "string"
}, - "object": {
- "tenant_meta": { },
- "meta": {
- "name": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "spec": {
- "platform_source": "PLATFORM_SOURCE_UNSPECIFIED",
- "analytics_time": "2019-08-24T14:15:22Z",
- "analytics_state": "ANALYSIS_STATE_UNSPECIFIED",
- "execution_stats": { },
- "project_name": "string",
- "version_name": "string",
- "project_uuid": "string"
}, - "context": {
- "type": "CONTEXT_TYPE_UNSPECIFIED",
- "id": "string",
- "tags": [
- "string"
]
}
}
}
{- "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",
- "analytics_time": "2019-08-24T14:15:22Z",
- "analytics_state": "ANALYSIS_STATE_UNSPECIFIED",
- "execution_stats": { },
- "project_name": "string",
- "version_name": "string",
- "project_uuid": "string"
}, - "context": {
- "type": "CONTEXT_TYPE_UNSPECIFIED",
- "will_be_deleted_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "tags": [
- "string"
]
}
}
Lists all analytics execution records for a given namespace.
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". |
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": {
- "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",
- "analytics_time": "2019-08-24T14:15:22Z",
- "analytics_state": "ANALYSIS_STATE_UNSPECIFIED",
- "execution_stats": { },
- "project_name": "string",
- "version_name": "string",
- "project_uuid": "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
}
}, - "property2": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0
}
}
}
}
}
Creates an analytics execution record in a given namespace.
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". |
tenant_meta | object (Analytic records are associated with a tenant.) Analytic records are associated with a tenant. |
required | object (v1Meta) Common fields for all Endor Labs resources. |
required | object (v1AnalyticsExecutionRecordSpec) |
required | object (v1Context) Contexts keep objects from different scans separated. |
{- "tenant_meta": { },
- "meta": {
- "name": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "spec": {
- "platform_source": "PLATFORM_SOURCE_UNSPECIFIED",
- "analytics_time": "2019-08-24T14:15:22Z",
- "analytics_state": "ANALYSIS_STATE_UNSPECIFIED",
- "execution_stats": { },
- "project_name": "string",
- "version_name": "string",
- "project_uuid": "string"
}, - "context": {
- "type": "CONTEXT_TYPE_UNSPECIFIED",
- "id": "string",
- "tags": [
- "string"
]
}
}
{- "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",
- "analytics_time": "2019-08-24T14:15:22Z",
- "analytics_state": "ANALYSIS_STATE_UNSPECIFIED",
- "execution_stats": { },
- "project_name": "string",
- "version_name": "string",
- "project_uuid": "string"
}, - "context": {
- "type": "CONTEXT_TYPE_UNSPECIFIED",
- "will_be_deleted_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "tags": [
- "string"
]
}
}
Fetches the analytics execution records for a specified UUID.
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. |
get_parameters.mask | string List of fields to return (all fields are returned by 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",
- "analytics_time": "2019-08-24T14:15:22Z",
- "analytics_state": "ANALYSIS_STATE_UNSPECIFIED",
- "execution_stats": { },
- "project_name": "string",
- "version_name": "string",
- "project_uuid": "string"
}, - "context": {
- "type": "CONTEXT_TYPE_UNSPECIFIED",
- "will_be_deleted_at": "2019-08-24T14:15:22Z",
- "id": "string",
- "tags": [
- "string"
]
}
}
Validates an API key.
Validates an API key.
key required | string The unique identifier of the API key. |
secret required | string The secret associated with the provided API Key. |
object (v1User) User represents a user in the system. Mostly includes configuration parameters that are user wise. |
{- "key": "string",
- "secret": "string",
- "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"
}
}
}
{- "key": "string",
- "secret": "string",
- "valid": true,
- "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"
}
}
}
Lists all API keys for a given namespace.
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". |
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": {
- "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
}
}, - "property2": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0
}
}
}
}
}
Creates an API key.
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". |
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. |
{- "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
}
{- "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
}
Fetches the API key dentified by the UUID.
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. |
get_parameters.mask | string List of fields to return (all fields are returned by 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
}
Deletes the API key specified by the UUID.
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. |
delete_parameters.action | string Action to be executed with delete request. |
{ }
Lists all approve service requests in a namespace.
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". |
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": {
- "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": {
- "service_request_uuid": "string",
- "comment": "string",
- "status": "REQUEST_STATUS_UNSPECIFIED"
}
}
], - "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
}
}, - "property2": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0
}
}
}
}
}
Creates an approve service request.
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". |
tenant_meta | object (ApproveServiceRequest are raised on a specific internal tenant.) ApproveServiceRequest are raised on a specific internal tenant. |
required | object (v1Meta) Common fields for all Endor Labs resources. |
required | object (v1ApproveServiceRequestSpec) |
{- "tenant_meta": { },
- "meta": {
- "name": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "spec": {
- "service_request_uuid": "string",
- "comment": "string",
- "status": "REQUEST_STATUS_UNSPECIFIED"
}
}
{- "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": {
- "service_request_uuid": "string",
- "comment": "string",
- "status": "REQUEST_STATUS_UNSPECIFIED"
}
}
Fetches an approve service request specified by its UUID.
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. |
get_parameters.mask | string List of fields to return (all fields are returned by 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": {
- "service_request_uuid": "string",
- "comment": "string",
- "status": "REQUEST_STATUS_UNSPECIFIED"
}
}
Deletes an approve service request specified by its UUID.
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. |
delete_parameters.action | string Action to be executed with delete request. |
{ }
Returns a list of artifact logs based on the specified list 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". |
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": {
- "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": {
- "assured_package_version_name": "string",
- "operation": "OPERATION_UNSPECIFIED",
- "ecosystem": "ECOSYSTEM_UNSPECIFIED",
- "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
}
}, - "property2": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0
}
}
}
}
}
Creates a artifact log.
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". |
tenant_meta | object (Namespace of the artifact log.) Namespace of the artifact log. |
required | object (v1Meta) Common fields for all Endor Labs resources. |
required | object (v1ArtifactLogSpec) |
{- "tenant_meta": { },
- "meta": {
- "name": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "spec": {
- "assured_package_version_name": "string",
- "operation": "OPERATION_UNSPECIFIED",
- "ecosystem": "ECOSYSTEM_UNSPECIFIED",
- "error": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}, - "claims": [
- "string"
], - "remote_address": "string"
}
}
{- "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": {
- "assured_package_version_name": "string",
- "operation": "OPERATION_UNSPECIFIED",
- "ecosystem": "ECOSYSTEM_UNSPECIFIED",
- "error": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}, - "claims": [
- "string"
], - "remote_address": "string"
}
}
Returns a specified artifact log.
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. |
get_parameters.mask | string List of fields to return (all fields are returned by 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": {
- "assured_package_version_name": "string",
- "operation": "OPERATION_UNSPECIFIED",
- "ecosystem": "ECOSYSTEM_UNSPECIFIED",
- "error": {
- "code": 0,
- "message": "string",
- "details": [
- {
- "@type": "string",
- "property1": null,
- "property2": null
}
]
}, - "claims": [
- "string"
], - "remote_address": "string"
}
}
Deletes a artifact log specified by its UUID.
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. |
delete_parameters.action | string Action to be executed with delete request. |
{ }
Services the artifact operations.
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". |
tenant_meta | object (The tenant metadata restrict access to a specific tenant.) The tenant metadata restrict access to a specific tenant. |
required | object (v1Meta) Common fields for all Endor Labs resources. |
object (v1ArtifactOperationSpec) | |
object (v1ArtifactOperationResponse) |
{- "tenant_meta": { },
- "meta": {
- "name": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "spec": {
- "command": "ARTIFACT_OPERATION_COMMAND_UNSPECIFIED",
- "artifact_name": "string",
- "digest": "string",
- "extensions": {
- "runner_environment": "string",
- "source_repository": "string",
- "source_repository_digest": "string",
- "source_repository_owner": "string",
- "source_repository_ref": "string",
- "build_config_name": "string",
- "build_config_digest": "string",
- "certificate_identity": "string",
- "certificate_oidc_issuer": "string"
}, - "artifact_type": "ARTIFACT_TYPE_UNSPECIFIED"
}, - "response": {
- "result": "ARTIFACT_OPERATION_RESULT_UNSPECIFIED",
- "artifact_signature": {
- "meta": {
- "name": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "tenant_meta": {
- "namespace": "string"
}, - "spec": {
- "certificate": "string",
- "signature": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "simple_container_image": {
- "critical": {
- "type": "string",
- "identity": {
- "docker_reference": "string"
}, - "image": {
- "docker_manifest_image": "string",
- "docker_manifest_digest": "string"
}
}
}, - "revoked": true,
- "artifact_type": "ARTIFACT_TYPE_UNSPECIFIED",
- "artifact_digest": "string",
- "source_repository_ref": "string",
- "provenance": {
- "runner_environment": "string",
- "source_repository": "string",
- "source_repository_digest": "string",
- "source_repository_owner": "string",
- "source_repository_ref": "string",
- "build_config_name": "string",
- "build_config_digest": "string",
- "certificate_identity": "string",
- "certificate_oidc_issuer": "string"
}, - "artifact_name": "string"
}
}
}
}
{- "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": {
- "command": "ARTIFACT_OPERATION_COMMAND_UNSPECIFIED",
- "artifact_name": "string",
- "digest": "string",
- "extensions": {
- "runner_environment": "string",
- "source_repository": "string",
- "source_repository_digest": "string",
- "source_repository_owner": "string",
- "source_repository_ref": "string",
- "build_config_name": "string",
- "build_config_digest": "string",
- "certificate_identity": "string",
- "certificate_oidc_issuer": "string"
}, - "artifact_type": "ARTIFACT_TYPE_UNSPECIFIED"
}, - "response": {
- "result": "ARTIFACT_OPERATION_RESULT_UNSPECIFIED",
- "artifact_signature": {
- "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": {
- "certificate": "string",
- "signature": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "simple_container_image": {
- "critical": {
- "type": "string",
- "identity": {
- "docker_reference": "string"
}, - "image": {
- "docker_manifest_image": "string",
- "docker_manifest_digest": "string"
}
}
}, - "revoked": true,
- "artifact_type": "ARTIFACT_TYPE_UNSPECIFIED",
- "artifact_digest": "string",
- "source_repository_ref": "string",
- "provenance": {
- "runner_environment": "string",
- "source_repository": "string",
- "source_repository_digest": "string",
- "source_repository_owner": "string",
- "source_repository_ref": "string",
- "build_config_name": "string",
- "build_config_digest": "string",
- "certificate_identity": "string",
- "certificate_oidc_issuer": "string"
}, - "artifact_name": "string"
}
}
}
}
Updates the artifact signature.
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 (v1UpdateRequest) Message used for all update requests. | |
object Represents an artifact signature object. |
{- "request": {
- "update_mask": "string"
}, - "object": {
- "meta": {
- "name": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "tenant_meta": { },
- "spec": {
- "certificate": "string",
- "signature": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "simple_container_image": {
- "critical": {
- "type": "string",
- "identity": {
- "docker_reference": "string"
}, - "image": {
- "docker_manifest_image": "string",
- "docker_manifest_digest": "string"
}
}
}, - "revoked": true,
- "artifact_type": "ARTIFACT_TYPE_UNSPECIFIED",
- "artifact_digest": "string",
- "source_repository_ref": "string",
- "provenance": {
- "runner_environment": "string",
- "source_repository": "string",
- "source_repository_digest": "string",
- "source_repository_owner": "string",
- "source_repository_ref": "string",
- "build_config_name": "string",
- "build_config_digest": "string",
- "certificate_identity": "string",
- "certificate_oidc_issuer": "string"
}, - "artifact_name": "string"
}
}
}
{- "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": {
- "certificate": "string",
- "signature": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "simple_container_image": {
- "critical": {
- "type": "string",
- "identity": {
- "docker_reference": "string"
}, - "image": {
- "docker_manifest_image": "string",
- "docker_manifest_digest": "string"
}
}
}, - "revoked": true,
- "artifact_type": "ARTIFACT_TYPE_UNSPECIFIED",
- "artifact_digest": "string",
- "source_repository_ref": "string",
- "provenance": {
- "runner_environment": "string",
- "source_repository": "string",
- "source_repository_digest": "string",
- "source_repository_owner": "string",
- "source_repository_ref": "string",
- "build_config_name": "string",
- "build_config_digest": "string",
- "certificate_identity": "string",
- "certificate_oidc_issuer": "string"
}, - "artifact_name": "string"
}
}
Lists all artifact signatures.
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". |
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": {
- "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": {
- "certificate": "string",
- "signature": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "simple_container_image": {
- "critical": {
- "type": "string",
- "identity": {
- "docker_reference": "string"
}, - "image": {
- "docker_manifest_image": "string",
- "docker_manifest_digest": "string"
}
}
}, - "revoked": true,
- "artifact_type": "ARTIFACT_TYPE_UNSPECIFIED",
- "artifact_digest": "string",
- "source_repository_ref": "string",
- "provenance": {
- "runner_environment": "string",
- "source_repository": "string",
- "source_repository_digest": "string",
- "source_repository_owner": "string",
- "source_repository_ref": "string",
- "build_config_name": "string",
- "build_config_digest": "string",
- "certificate_identity": "string",
- "certificate_oidc_issuer": "string"
}, - "artifact_name": "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
}
}, - "property2": {
- "aggregation_count": {
- "count": 0
}, - "aggregation_uuids": [
- "string"
], - "unique_counts": {
- "property1": {
- "count": 0
}, - "property2": {
- "count": 0
}
}, - "unique_values": {
- "property1": [
- { }
], - "property2": [
- { }
]
}, - "aggregation_value": {
- "value": 0
}
}
}
}
}
Creates a new artifact signature.
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". |
required | object (v1Meta) Common fields for all Endor Labs resources. |
tenant_meta | object (Tenant metadata required for artifact signature requests.) Tenant metadata required for artifact signature requests. |
object (v1ArtifactSignatureSpec) |
{- "meta": {
- "name": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "tenant_meta": { },
- "spec": {
- "certificate": "string",
- "signature": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "simple_container_image": {
- "critical": {
- "type": "string",
- "identity": {
- "docker_reference": "string"
}, - "image": {
- "docker_manifest_image": "string",
- "docker_manifest_digest": "string"
}
}
}, - "revoked": true,
- "artifact_type": "ARTIFACT_TYPE_UNSPECIFIED",
- "artifact_digest": "string",
- "source_repository_ref": "string",
- "provenance": {
- "runner_environment": "string",
- "source_repository": "string",
- "source_repository_digest": "string",
- "source_repository_owner": "string",
- "source_repository_ref": "string",
- "build_config_name": "string",
- "build_config_digest": "string",
- "certificate_identity": "string",
- "certificate_oidc_issuer": "string"
}, - "artifact_name": "string"
}
}
{- "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": {
- "certificate": "string",
- "signature": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "simple_container_image": {
- "critical": {
- "type": "string",
- "identity": {
- "docker_reference": "string"
}, - "image": {
- "docker_manifest_image": "string",
- "docker_manifest_digest": "string"
}
}
}, - "revoked": true,
- "artifact_type": "ARTIFACT_TYPE_UNSPECIFIED",
- "artifact_digest": "string",
- "source_repository_ref": "string",
- "provenance": {
- "runner_environment": "string",
- "source_repository": "string",
- "source_repository_digest": "string",
- "source_repository_owner": "string",
- "source_repository_ref": "string",
- "build_config_name": "string",
- "build_config_digest": "string",
- "certificate_identity": "string",
- "certificate_oidc_issuer": "string"
}, - "artifact_name": "string"
}
}
Fetches an artifact signature identified by the UUID.
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. |
get_parameters.mask | string List of fields to return (all fields are returned by 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": {
- "certificate": "string",
- "signature": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "simple_container_image": {
- "critical": {
- "type": "string",
- "identity": {
- "docker_reference": "string"
}, - "image": {
- "docker_manifest_image": "string",
- "docker_manifest_digest": "string"
}
}
}, - "revoked": true,
- "artifact_type": "ARTIFACT_TYPE_UNSPECIFIED",
- "artifact_digest": "string",
- "source_repository_ref": "string",
- "provenance": {
- "runner_environment": "string",
- "source_repository": "string",
- "source_repository_digest": "string",
- "source_repository_owner": "string",
- "source_repository_ref": "string",
- "build_config_name": "string",
- "build_config_digest": "string",
- "certificate_identity": "string",
- "certificate_oidc_issuer": "string"
}, - "artifact_name": "string"
}
}
Updates a specified assured package version.
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 (v1UpdateRequest) Message used for all update requests. | |
object AssuredPackageVersion is a package version that have been built, tested, and patched by Endor Labs. It includes details on how the version was built, tested, and patched, as well as information on the vulnerabilities that have been addressed through the patches. |
{- "request": {
- "update_mask": "string"
}, - "object": {
- "tenant_meta": { },
- "meta": {
- "name": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- "string"
], - "annotations": {
- "property1": "string",
- "property2": "string"
}
}, - "spec": {
- "build_attestation": {
- "commands": [
- "string"
], - "logs_upload_content": "string"
}, - "test_attestation": {
- "are_tests_run": true,
- "commands": [
- "string"
], - "logs_upload_content": "string"
}, - "security_attestation": {
- "patches": [
- {
- "included_commits": [
- {
- "commit_type": "COMMIT_TYPE_UNSPECIFIED",
- "author": "string",
- "message": "string",
- "commit_date": "2019-08-24T14:15:22Z",
- "sha": "string",
- "commit_url": "string"
}
], - "fix_type": "FIX_TYPE_UNSPECIFIED",
- "fixed_vulns": [
- {
- "name": "string",
- "aliases": [
- "string"
], - "uuid": "string"
}
], - "patch_files": [
- "string"
]
}
]
}, - "deploy_attestation": {
- "commands": [
- "string"
], - "logs_upload_content": "string"
}, - "ecosystem": "ECOSYSTEM_UNSPECIFIED",
- "package_name": "string",
- "sha256": "string",
- "reproducible_build_source_code_upload_content": "string",
- "upgrade_summary": {
- "line_added": 0,
- "line_removed": 0,
- "fixed_vulns": {
- "property1": {
- "vulns": [
- {
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "name": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- null
], - "annotations": {
- "property1": null,
- "property2": null
}
}, - "spec": {
- "deepdive": true,
- "disputed": true,
- "additional_notes": [
- null
], - "published": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "withdrawn": "2019-08-24T14:15:22Z",
- "aliases": [
- null
], - "related": [
- null
], - "cvss_v3_severity": {
- "score": null,
- "vector": null,
- "level": null,
- "temporal_score": null,
- "temporal_vector": null,
- "temporal_level": null
}, - "credits": [
- null
], - "database_specific": { },
- "summary": "string",
- "affected": [
- null
], - "references": [
- null
], - "epss_score": {
- "probability_score": null,
- "percentile_score": null
}, - "raw": {
- "osv_vulnerability": null,
- "endor_vulnerability": null,
- "epss_record": null,
- "nvd_vulnerability": null,
- "kev_record": null
}, - "malicious": true,
- "additional_endor_notes": [
- null
]
}
}
]
}, - "property2": {
- "vulns": [
- {
- "tenant_meta": {
- "namespace": "string"
}, - "meta": {
- "name": "string",
- "description": "string",
- "parent_uuid": "string",
- "parent_kind": "string",
- "tags": [
- null
], - "annotations": {
- "property1": null,
- "property2": null
}
}, - "spec": {
- "deepdive": true,
- "disputed": true,
- "additional_notes": [
- null
], - "published": "2019-08-24T14:15:22Z",
- "modified": "2019-08-24T14:15:22Z",
- "withdrawn": "2019-08-24T14:15:22Z",
- "aliases": [
- null
], - "related": [
- null
], - "cvss_v3_severity": {
- "score": null,
- "vector": null,
- "level": null,
- "temporal_score": null,
- "temporal_vector": null,
- "temporal_level": null
}, - "credits": [
- null
], - "database_specific": { },
- "summary": "string",
- "affected": [
- null
], - "references": [
- null
], - "epss_score": {
- "probability_score": null,
- "percentile_score": null
}, - "raw": {
- "osv_vulnerability": null,
- "endor_vulnerability": null,
- "epss_record": null,
- "nvd_vulnerability": null,
- "kev_record": null
}, - "malicious": true,
- "additional_endor_notes": [
- null
]
}
}
]
}
}, - "number_of_endor_patches": 0,
- "number_of_original_patches": 0,
- "are_tests_run": true
}
}, - "processing_status": {
- "scan_state": "SCAN_STATE_UNSPECIFIED",
- "scan_time": "2019-08-24T14:15:22Z",
- "analytic_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"
]
}
}
}
{- "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": {
- "build_attestation": {
- "logs_url": "string",
- "commands": [
- "string"
], - "logs_upload_content": "string"
}, - "test_attestation": {
- "are_tests_run": true,
- "logs_url": "string",
- "commands": [
- "string"
], - "logs_upload_content": "string"
}, - "security_attestation": {
- "patches": [
- {
- "included_commits": [
- {
- "commit_type": "COMMIT_TYPE_UNSPECIFIED",
- "author": "string",
- "message": "string",
- "commit_date": "2019-08-24T14:15:22Z",
- "sha": "string",
- "commit_url": "string"
}
], - "fix_type": "FIX_TYPE_UNSPECIFIED",
- "fixed_vulns": [
- {
- "name": "string",
- "aliases": [
- "string"
], - "uuid": "string"
}
], - "patch_files": [
- "string"
]
}
]
}, - "deploy_attestation": {
- "logs_url": "string",
- "commands": [
- "string"
], - "logs_upload_content": "string"
}, - "ecosystem": "ECOSYSTEM_UNSPECIFIED",
- "package_name": "string",
- "sha256": "string",
- "reproducible_build_source_code_url": "string",
- "reproducible_build_source_code_upload_content": "string",
- "upgrade_summary": {
- "line_added": 0,
- "line_removed": 0,
- "fixed_vulns": {
- "property1": {
- "vulns": [
- {
- "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,
- "vector": "string",
- "level": "LEVEL_UNSPECIFIED",
- "temporal_score": 0,
- "temporal_vector": "string",
- "temporal_level": "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
}
], - "references": [
- {
- "type": null,
- "url": null
}
], - "epss_score": {
- "probability_score": 0,
- "percentile_score": 0
}, - "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
}, - "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"
]
}
}
]
}, - "property2": {
- "vulns": [
- {
- "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,
- "vector": "string",
- "level": "LEVEL_UNSPECIFIED",
- "temporal_score": 0,
- "temporal_vector": "string",
- "temporal_level": "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
}
], - "references": [