Endor Labs OSS Dependency Request Service API
The OSSDependencyRequestService API from Endor Labs — 1 operation(s) for ossdependencyrequestservice.
The OSSDependencyRequestService API from Endor Labs — 1 operation(s) for ossdependencyrequestservice.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/endor-labs:endor-labs-ossdependencyrequestservice-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
description: Integrate your application with Endor Labs using the REST API.
title: Endor Labs REST API Reference OSS Dependency Request…
version: '1.0'
servers:
- description: US (default)
url: https://api.endorlabs.com
- description: EU (data residency)
url: https://api.eu.endorlabs.com
tags:
- name: OSSDependencyRequestService
paths:
/v1/namespaces/{tenant_meta.namespace}/oss-dependency-requests:
post:
description: Creates an OSS dependency request.
operationId: OSSDependencyRequestService_CreateOSSDependencyRequest
parameters:
- description: '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".'
in: path
name: tenant_meta.namespace
required: true
schema:
type: string
x-endor-name: Namespace
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/OSSDependencyRequestServiceCreateOSSDependencyRequestBody'
required: true
x-originalParamName: body
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/v1OSSDependencyRequest'
description: A successful response.
default:
content:
application/json:
schema:
$ref: '#/components/schemas/googlerpcStatus'
description: An unexpected error response.
summary: CreateOSSDependencyRequest
tags:
- OSSDependencyRequestService
x-internal: true
components:
schemas:
v1ContainerPackageType:
default: CONTAINER_PACKAGE_TYPE_UNSPECIFIED
description: "ContainerPackageType is the type of container package.\n\n - CONTAINER_PACKAGE_TYPE_UNSPECIFIED: Unspecified container package type.\n - CONTAINER_PACKAGE_TYPE_LIBRARY: Library container package type.\n - CONTAINER_PACKAGE_TYPE_APPLICATION: Application container package type.\n - CONTAINER_PACKAGE_TYPE_APPLICATION_LIBRARY: Application and Library container package type.\n - CONTAINER_PACKAGE_TYPE_OS_LIBRARY: OS Library container package type.\n - CONTAINER_PACKAGE_TYPE_OS_APPLICATION: OS Application container package type.\n - CONTAINER_PACKAGE_TYPE_OS_APPLICATION_LIBRARY: OS Application and Library container package type."
enum:
- CONTAINER_PACKAGE_TYPE_UNSPECIFIED
- CONTAINER_PACKAGE_TYPE_LIBRARY
- CONTAINER_PACKAGE_TYPE_APPLICATION
- CONTAINER_PACKAGE_TYPE_APPLICATION_LIBRARY
- CONTAINER_PACKAGE_TYPE_OS_LIBRARY
- CONTAINER_PACKAGE_TYPE_OS_APPLICATION
- CONTAINER_PACKAGE_TYPE_OS_APPLICATION_LIBRARY
type: string
googleprotobufAny:
additionalProperties: {}
description: "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(&foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n // or ...\n if (any.isSameTypeAs(Foo.getDefaultInstance())) {\n foo = any.unpack(Foo.getDefaultInstance());\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := &pb.Foo{...}\n any, err := anypb.New(foo)\n if err != nil {\n ...\n }\n ...\n foo := &pb.Foo{}\n if err := any.UnmarshalTo(foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": <string>,\n \"lastName\": <string>\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }"
properties:
'@type':
description: "A URL/resource name that uniquely identifies the type of the serialized\nprotocol buffer message. This string must contain at least\none \"/\" character. The last segment of the URL's path must represent\nthe fully qualified name of the type (as in\n`path/google.protobuf.Duration`). The name should be in a canonical form\n(e.g., leading \".\" is not accepted).\n\nIn practice, teams usually precompile into the binary all types that they\nexpect it to use in the context of Any. However, for URLs which use the\nscheme `http`, `https`, or no scheme, one can optionally set up a type\nserver that maps type URLs to message definitions as follows:\n\n* If no scheme is provided, `https` is assumed.\n* An HTTP GET on the URL must yield a [google.protobuf.Type][]\n value in binary format, or produce an error.\n* Applications are allowed to cache lookup results based on the\n URL, or have them precompiled into a binary to avoid any\n lookup. Therefore, binary compatibility needs to be preserved\n on changes to types. (Use versioned type names to manage\n breaking changes.)\n\nNote: this functionality is not currently available in the official\nprotobuf release, and it is not used for type URLs beginning with\ntype.googleapis.com. As of May 2023, there are no widely used type server\nimplementations and no plans to implement one.\n\nSchemes other than `http`, `https` (or the empty scheme) might be\nused with implementation specific semantics."
type: string
type: object
PackageVersionDependencyPypiDependencySpecScope:
default: SCOPE_UNSPECIFIED
description: "Scope.\n\n - SCOPE_UNSPECIFIED: Unspecified scope when it is unclear what the scope is.\n - SCOPE_NORMAL: Default scope when no other scope is provided.\n - SCOPE_OPTIONAL: All optional dependencies and extras related to features, dev, test or\nany other."
enum:
- SCOPE_UNSPECIFIED
- SCOPE_NORMAL
- SCOPE_OPTIONAL
type: string
v1Digest:
description: Digest is a digest of a file/container image.
properties:
algorithm:
$ref: '#/components/schemas/v1DigestType'
value:
description: Digest value of the file.
type: string
required:
- algorithm
- value
type: object
v1ContainerCompositionMetadata:
description: ContainerCompositionMetadata is the metadata of the composition of a container image.
properties:
package_type:
$ref: '#/components/schemas/v1ContainerPackageType'
type: object
CargoDependencySpecDependencyKind:
default: DEPENDENCY_KIND_UNSPECIFIED
description: " - DEPENDENCY_KIND_UNSPECIFIED: Unspecified kind indicates that we are unsure about the type of\ndependency.\n - DEPENDENCY_KIND_NORMAL: Normal kind is the default type of dependency.\n - DEPENDENCY_KIND_DEVELOPMENT: Development kind indicates that the dependency is used for testing\npurposes.\n - DEPENDENCY_KIND_BUILD: Build kind indicates that the dependency is solely used for buildingthe\npackage."
enum:
- DEPENDENCY_KIND_UNSPECIFIED
- DEPENDENCY_KIND_NORMAL
- DEPENDENCY_KIND_DEVELOPMENT
- DEPENDENCY_KIND_BUILD
type: string
v1OSSDependencyRequestSpec:
properties:
dependencies:
description: The list of dependencies to be created as OSS dependencies.
items:
$ref: '#/components/schemas/BomDependency'
type: array
type: object
v1FileType:
default: FILE_TYPE_UNSPECIFIED
enum:
- FILE_TYPE_UNSPECIFIED
- FILE_TYPE_FILE
- FILE_TYPE_SYMLINK
type: string
v1DependencyScope:
default: DEPENDENCY_SCOPE_UNSPECIFIED
description: " - DEPENDENCY_SCOPE_UNSPECIFIED: Dependency scope is undefined.\n - DEPENDENCY_SCOPE_TEST: Dependency is only used for testing.\n - DEPENDENCY_SCOPE_BUILD: Dependency is only used for building the package.\n - DEPENDENCY_SCOPE_NORMAL: Dependency is used in normal, non-test, code."
enum:
- DEPENDENCY_SCOPE_UNSPECIFIED
- DEPENDENCY_SCOPE_TEST
- DEPENDENCY_SCOPE_BUILD
- DEPENDENCY_SCOPE_NORMAL
type: string
PackageVersionDependencyGemDependencySpecScope:
default: SCOPE_UNSPECIFIED
description: "Scope.\n\n - SCOPE_UNSPECIFIED: Unspecified scope when it is unclear what the scope is.\n - SCOPE_NORMAL: Default scope when no other scope is provided.\n - SCOPE_DEVELOPMENT: All development and test dependencies."
enum:
- SCOPE_UNSPECIFIED
- SCOPE_NORMAL
- SCOPE_DEVELOPMENT
type: string
PackageVersionDependencyNpmDependencySpecScope:
default: SCOPE_UNSPECIFIED
description: "The scope of the npm dependency.\n\n - SCOPE_UNSPECIFIED: unspecified scope when it is unclear what the scope is.\n - SCOPE_DEPENDENCY: DEPENDENCY indicates that the dependency is required for the package to\nfunction.\n - SCOPE_DEV_DEPENDENCY: DEV_DEPENDENCY indicates that the dependency is required for\ndevelopment purposes.\n - SCOPE_OPTIONAL_DEPENDENCY: OPTIONAL_DEPENDENCY indicates that the dependency is optional.\n - SCOPE_PEER_DEPENDENCY: PEER_DEPENDENCY indicates that the dependency is Peer."
enum:
- SCOPE_UNSPECIFIED
- SCOPE_DEPENDENCY
- SCOPE_DEV_DEPENDENCY
- SCOPE_OPTIONAL_DEPENDENCY
- SCOPE_PEER_DEPENDENCY
type: string
v1TenantMeta:
description: Tenant related data for the tenant containing the resource.
properties:
namespace:
description: '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".'
type: string
required:
- namespace
type: object
PackageVersionDependencyGoDependencySpecScope:
default: SCOPE_UNSPECIFIED
enum:
- SCOPE_UNSPECIFIED
- SCOPE_NORMAL
- SCOPE_TEST
type: string
BomDependency:
properties:
abstract:
description: Whether this is an abstract dependency, such as a secondary BOM file.
type: boolean
cocoapod_dependency_scope:
$ref: '#/components/schemas/v1DependencyScope'
composition_metadata:
$ref: '#/components/schemas/v1ContainerCompositionMetadata'
conan_dependency_scope:
$ref: '#/components/schemas/v1DependencyScope'
container_layers:
description: 'A list of layers where a dependency is introduced in final the container
image. It is an optional field. Each entry contains the layer ID (the
SHA256 digest of the layer) and the file locations within the layer that
indicate the presence of the dependency in the container.'
items:
$ref: '#/components/schemas/v1ContainerDependencyLayer'
type: array
dependency_scope:
$ref: '#/components/schemas/v1DependencyScope'
eol_timestamp:
description: End of life timestamp of the dependency if known.
format: date-time
type: string
file_location_remote_paths:
additionalProperties:
type: string
description: 'Maps each entry in file_locations (the local, scanned-workspace path)
to the matched path in the dependency''s own upstream source, when
known. Only populated for IMPORTED_TYPE_SEGMENT_MATCH dependencies.'
type: object
file_locations:
description: 'An optional field for BOM dependencies that are either
vendored or discovered in containers and identify the list of file
locations that this dependency is seen at.'
items:
type: string
type: array
gem_dependency_scope:
$ref: '#/components/schemas/PackageVersionDependencyGemDependencySpecScope'
github_action_kind:
$ref: '#/components/schemas/PackageVersionDependencyGitHubActionDependencySpecScope'
golang_dependency_scope:
$ref: '#/components/schemas/PackageVersionDependencyGoDependencySpecScope'
hugging_face_dependency_scope:
$ref: '#/components/schemas/v1DependencyScope'
import_path:
description: 'The path the source imports this dependency by, set only when it differs
from the path inside name. Empty whenever the two agree, which is every
ordinary dependency.
A Golang "replace" that redirects one module path to another leaves the
source importing the original path, so name carries the module that
supplied the code and this carries the path the compiler sees.'
type: string
imported_type:
$ref: '#/components/schemas/DependencyImportedType'
js_dependency_scope:
$ref: '#/components/schemas/PackageVersionDependencyNpmDependencySpecScope'
locked:
description: 'Set to true if the dependency is fixed to a specific version by a
lock file at install time (outcome).
If a dependency is locked, but not pinned, it could drift if the
lock file is regenerated (for example, by ''npm update'').'
type: boolean
maven_dependency_scope:
$ref: '#/components/schemas/PackageVersionDependencyMavenDependencySpecScope'
name:
type: string
nuget_dependency_scope:
$ref: '#/components/schemas/v1DependencyScope'
packagist_dependency_scope:
$ref: '#/components/schemas/PackageVersionDependencyPackagistDependencySpecScope'
patched:
description: patched indicates whether the dependency version was patched or not.
type: boolean
pinned:
description: 'Set to true of the dependency is fixed to a specific version by a
manifest file (intent).
For example, in package.json, "lodash": "4.17.21" is pinned while
"lodash": "^4.0.0" is not (it''s a range, "any 4.x").'
type: boolean
platform_source:
$ref: '#/components/schemas/v1PlatformSource'
public:
description: 'A boolean to know if the dependency is public or not.
This field might not be set.'
type: boolean
purl:
description: 'purl is the package URL notation of the dependency. Populated only for
containers and OS packages.'
type: string
pypi_dependency_scope:
$ref: '#/components/schemas/PackageVersionDependencyPypiDependencySpecScope'
release_date:
description: The date that the dependency was released, if known.
format: date-time
type: string
runtime_files:
description: 'A list of files accessed when a dependency is called at runtime in the container image.
This is an optional field. It is only set when a
dependency is found to be used at runtime in the container image.'
items:
$ref: '#/components/schemas/v1ContainerRuntimeDependencyFile'
type: array
rust_dependency_kind:
$ref: '#/components/schemas/CargoDependencySpecDependencyKind'
source_repository_http_clone_url:
description: 'The HTTP clone URL of the dependency if found. This field might not be
set.'
type: string
source_repository_ref:
description: 'The ref of the source repsotiory. This can be a tag or a commit SHA.
This field might not be set.'
type: string
swift_dependency_scope:
$ref: '#/components/schemas/v1DependencyScope'
targets:
description: 'The targets to which this dependency applies.
If there is no target then this dependency will be applicable for all the
targets. A dependency can be valid for multiple targets.'
items:
$ref: '#/components/schemas/v1Target'
type: array
user_app_dep:
description: For container BOMs, set to true if this is a user application (i.e. the user associated it with an SCA scan).
type: boolean
vendored:
description: Whether this is dependency comes from vendored code or not.
type: boolean
required:
- name
type: object
v1ContainerRuntimeDependencyFile:
description: ContainerRuntimeDependencyFile is a file accessed in the container image at runtime.
properties:
digests:
description: Digest of the file.
items:
$ref: '#/components/schemas/v1Digest'
type: array
file_type:
$ref: '#/components/schemas/v1FileType'
path:
description: Path of the dependency file as seen in the container image.
type: string
real_path:
description: 'Actual path of the file accessed when a dependency is called at runtime in the
container image.'
type: string
type: object
v1DigestType:
default: DIGEST_TYPE_UNSPECIFIED
enum:
- DIGEST_TYPE_UNSPECIFIED
- DIGEST_TYPE_SHA1
- DIGEST_TYPE_SHA256
- DIGEST_TYPE_SHA512
- DIGEST_TYPE_MD5
type: string
v1PlatformSource:
default: PLATFORM_SOURCE_UNSPECIFIED
description: Type of source control platform a resource was discovered on.
enum:
- PLATFORM_SOURCE_UNSPECIFIED
- PLATFORM_SOURCE_GITHUB
- PLATFORM_SOURCE_GITLAB
- PLATFORM_SOURCE_GITSERVER
- PLATFORM_SOURCE_BITBUCKET
- PLATFORM_SOURCE_BINARY
- PLATFORM_SOURCE_HUGGING_FACE
- PLATFORM_SOURCE_AZURE
- PLATFORM_SOURCE_ARCHIVE
- PLATFORM_SOURCE_EXTERNAL_AI_SERVICE
- PLATFORM_SOURCE_GITHUB_ENTERPRISE
type: string
v1Target:
properties:
exclude:
description: Set to true if a dependency is excluded from the target.
type: boolean
name:
description: 'Target name. Example: linux, dotnet, x86_64.'
type: string
type:
$ref: '#/components/schemas/TargetTargetType'
version:
description: 'Target version, for example, 6.0.0 for the dotnet framework
version 6.0.0. If there is no version specified for a target then that
means that a dependency is applicable for all versions of that target.
This field is optional because few targets, such as CPU_ARCH,
do not have a version.'
type: string
required:
- type
- name
- exclude
type: object
PackageVersionDependencyPackagistDependencySpecScope:
default: SCOPE_UNSPECIFIED
description: "Scope.\n\n - SCOPE_UNSPECIFIED: unspecified scope when it is unclear what the scope is.\n - SCOPE_NORMAL: default scope when no other scope is provided.\n - SCOPE_DEVELOPMENT: all development and test dependencies."
enum:
- SCOPE_UNSPECIFIED
- SCOPE_NORMAL
- SCOPE_DEVELOPMENT
type: string
v1ContainerDependencyLayer:
description: ContainerDependency is a dependency of a container image.
properties:
digest:
description: 'The SHA256 digest of the layer,
where a dependency is found to be present in the container.'
type: string
file_locations:
description: 'The locations of the files in the container,
through which the dependency is evident to be present in the container.'
items:
type: string
type: array
required:
- digest
type: object
OSSDependencyRequestServiceCreateOSSDependencyRequestBody:
description: Represents a request to create OSS dependencies in the system.
properties:
meta:
$ref: '#/components/schemas/v1Meta'
spec:
$ref: '#/components/schemas/v1OSSDependencyRequestSpec'
tenant_meta:
description: SBOM are associated with a tenant and the tenant information must be provided.
title: SBOM are associated with a tenant and the tenant information must be provided.
type: object
uuid:
description: The UUID of the SBOM.
readOnly: true
type: string
required:
- meta
- spec
type: object
TargetTargetType:
default: TARGET_TYPE_UNSPECIFIED
description: " - TARGET_TYPE_LANGUAGE: Language target, for example: Go 1.7 or Java 8.\n - TARGET_TYPE_FRAMEWORK: Framework target, for example: spring boot 2.0 or dotnet 4.6.2.\n - TARGET_TYPE_OS: OS target, for example: linux, windows, macos.\n - TARGET_TYPE_CPU_ARCH: CPU architecture target, for example: amd64, arm64, arm."
enum:
- TARGET_TYPE_UNSPECIFIED
- TARGET_TYPE_LANGUAGE
- TARGET_TYPE_FRAMEWORK
- TARGET_TYPE_OS
- TARGET_TYPE_CPU_ARCH
type: string
PackageVersionDependencyMavenDependencySpecScope:
default: SCOPE_UNSPECIFIED
description: " - SCOPE_UNSPECIFIED: Scope is not set.\n - SCOPE_COMPILE: Dependency is required at compile time.\n - SCOPE_PROVIDED: Dependency is provided at runtime by JDK or a container.\n - SCOPE_RUNTIME: Dependency is required at runtime but not at compile time.\n - SCOPE_TEST: Dependency is not required at runtime and is only used for test\npurposes.\n - SCOPE_SYSTEM: Dependency is provided by the host system.\n - SCOPE_CUSTOM: Scope is not predefined and is a customized value for certain\necosystems.\n - SCOPE_VENDORED_CODE: Dependency is provided by source code vendored.\n - SCOPE_IMPORT: Dependency is imported via pom/abstract dependency."
enum:
- SCOPE_UNSPECIFIED
- SCOPE_COMPILE
- SCOPE_PROVIDED
- SCOPE_RUNTIME
- SCOPE_TEST
- SCOPE_SYSTEM
- SCOPE_CUSTOM
- SCOPE_VENDORED_CODE
- SCOPE_IMPORT
type: string
v1OSSDependencyRequest:
description: Represents a request to create OSS dependencies in the system.
properties:
meta:
$ref: '#/components/schemas/v1Meta'
spec:
$ref: '#/components/schemas/v1OSSDependencyRequestSpec'
tenant_meta:
$ref: '#/components/schemas/v1TenantMeta'
uuid:
description: The UUID of the SBOM.
readOnly: true
type: string
required:
- meta
- spec
type: object
v1IndexData:
description: 'IndexData is used to index the resource for search. It''s an internal
object.'
properties:
data:
items:
type: string
readOnly: true
type: array
search_score:
description: search_score is the score of the resource for search. Internal use only.
format: float
readOnly: true
type: number
tenant:
readOnly: true
type: string
will_be_deleted_at:
description: Time that the resource will be deleted.
format: date-time
readOnly: true
type: string
type: object
PackageVersionDependencyGitHubActionDependencySpecScope:
default: SCOPE_UNSPECIFIED
description: "The scope of the GitHub action dependency.\n\n - SCOPE_UNSPECIFIED: unspecified scope when it is unclear what the scope is.\n - SCOPE_NORMAL: NORMAL indicates that the GitHub action is being used in prod context.\n - SCOPE_TEST: TEST indicates that the GitHub action is being used in test context."
enum:
- SCOPE_UNSPECIFIED
- SCOPE_NORMAL
- SCOPE_TEST
type: string
v1Meta:
description: Common fields for all Endor Labs resources.
properties:
annotations:
additionalProperties:
type: string
description: 'Annotations can be used to attach metadata to a resource message.
Annotation values can be small or large, structured or unstructured,
and may include characters not permitted by labels.
The keys may contain alphanumerics, underscores (_), dots (.) and dashes
(-). The values of an annotation must be 16384 bytes or smaller.'
type: object
create_time:
description: 'Time the resource was created.
Format: 2017-01-15T01:30:15.01Z
RFC 3339: https://www.ietf.org/rfc/rfc3339.txt.'
format: date-time
readOnly: true
type: string
created_by:
description: 'Name and authentication source of the user who created the object,
for example, ewok@endor.ai@google@api-key.'
readOnly: true
type: string
description:
description: Resource description. Must be less than 1024 bytes.
type: string
index_data:
$ref: '#/components/schemas/v1IndexData'
kind:
description: 'Resource kind, for example, HelloResponse.
Auto-generated using the protobuf message proto.MessageName().Name().'
readOnly: true
type: string
name:
description: Resource name. Must be 63 characters or less.
type: string
parent_kind:
description: Parent object resource kind, for example, Project.
type: string
parent_uuid:
description: Parent object UUID.
type: string
references:
additionalProperties:
$ref: '#/components/schemas/googleprotobufAny'
description: Map of objects referenced in a query API.
readOnly: true
type: object
tags:
description: 'List of tags attached to the resource.
Tags can be used to select objects and to find collections of objects that
satisfy certain conditions. A tag must be 255 characters or less.'
items:
type: string
type: array
update_time:
description: 'Time the resource was last updated.
Note: Updated on all create/patch/delete operations.
Format: 2017-01-15T01:30:15.01Z
RFC 3339: https://www.ietf.org/rfc/rfc3339.txt.'
format: date-time
readOnly: true
type: string
updated_by:
description: 'Name and authentication source of the last user who updated the object,
for example, vulnerabilityingestor@endor.ai@x509.'
readOnly: true
type: string
upsert_time:
description: 'Time the resource was last upserted.
Note:
create_time is only set the first time the resource is created.
upsert_time is set every time the resource is upseted.
Format: 2017-01-15T01:30:15.01Z
RFC 3339: https://www.ietf.org/rfc/rfc3339.txt.'
format: date-time
readOnly: true
type: string
version:
description: Message version.
readOnly: true
type: string
required:
- name
type: object
DependencyImportedType:
default: IMPORTED_TYPE_UNSPECIFIED
description: "ImportedType is the state of import.\n\n - IMPORTED_TYPE_UNSPECIFIED: UNSPECIFIED is the default state. This state denotes that imported\ndependency analysis has not been run yet for this dependency.\n - IMPORTED_TYPE_IN_SOURCE: IN_SOURCE means the imported dependency analysis succeeded and found\nthat the dependency is imported in source.\n - IMPORTED_TYPE_NOT_IN_SOURCE: NOT_IN_SOURCE means the imported dependency analysis succeeded and\nfound that the dependency is not imported in source.\n - IMPORTED_TYPE_PHANTOM: PHANTOM means the imported dependency analysis succeeded and found that\nthe dependency is imported only in the source (a phantom dependency).\n - IMPORTED_TYPE_SEGMENT_MATCH: Dependency was discovered through code segment match.\n - IMPORTED_TYPE_INSTALLED_IN_USE: Dependency was discovered through installed dependencies and it is in use."
enum:
- IMPORTED_TYPE_UNSPECIFIED
- IMPORTED_TYPE_IN_SOURCE
- IMPORTED_TYPE_NOT_IN_SOURCE
- IMPORTED_TYPE_PHANTOM
- IMPORTED_TYPE_SEGMENT_MATCH
- IMPORTED_TYPE_INSTALLED_IN_USE
type: string
googlerpcStatus:
description: 'The `Status` type defines a logical error model that is suitable for
different programming environments, including REST APIs and RPC APIs. It is
used by [gRPC](https://github.com/grpc). Each `Status` message contains
three pieces of data: error code, error message, and error details.
You can find out more about this error model and how to work with it in the
[API Design Guide](https://cloud.google.com/apis/design/errors).'
properties:
code:
description: 'The status code, which should be an enum value of
[google.rpc.Code][google.rpc.Code].'
format: int32
type: integer
details:
description: 'A list of messages that carry the error details. There is a common set of
message types for APIs to use.'
items:
$ref: '#/components/schemas/googleprotobufAny'
type: array
message:
description: 'A developer-facing error message, which should be in English. Any
user-facing error message should be localized and sent in the
[google.rpc.Status.details][google.rpc.Status.details] field, or localized
by the client.'
type: string
type: object
x-provenance:
method: harvested
publisher: Endor Labs
source: https://docs.endorlabs.com/api-reference/openapi.full.v3.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)