Skip to main content
POST
CreateMalwareExposure

Path Parameters

tenant_meta.namespace
string
required

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".

Body

application/json

Namespace exposure for a given Malware package. The presence of this object indicates that at least one project in the Namespace is, or was, potentially affected by the referenced Malware. If all affected projects are in child namespaces, then there are no MalwareExposure objects in the parent namespace. Use traverse to include MalwareExposure objects from child namespaces. The meta.name field contains the fully qualified package name of the Malware package. For example, "npm://package-name".

meta
object
required

Common fields for all Endor Labs resources.

spec
object
required

Object specific data for MalwareExposure.

tenant_meta
Tenant data. · object

Tenant data.

Response

A successful response.

Namespace exposure for a given Malware package. The presence of this object indicates that at least one project in the Namespace is, or was, potentially affected by the referenced Malware. If all affected projects are in child namespaces, then there are no MalwareExposure objects in the parent namespace. Use traverse to include MalwareExposure objects from child namespaces. The meta.name field contains the fully qualified package name of the Malware package. For example, "npm://package-name".

meta
object
required

Common fields for all Endor Labs resources.

spec
object
required

Object specific data for MalwareExposure.

tenant_meta
object

Tenant related data for the tenant containing the resource.

uuid
string
read-only

UUID of the MalwareExposure object.