Returns the compliance scan log by cluster uid and driver type
GET/v1/spectroclusters/:uid/features/complianceScan/logs/drivers
Returns the compliance scan log by cluster uid and driver type
Request​
Path Parameters
Header Parameters
Scope the request to the specified project uid
Responses​
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Array [
]
Array [
Array [
Array [
]
Array [
]
Array [
]
]
]
kubeBenchLogs
undefined[]
metadata
object
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
annotations
object
Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
labels
object
Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names
UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
spec
Cluster compliance scan logs spec
status
Cluster compliance scan KubeBench Log Status
actor
Compliance Scan actor
reports
object
scanTime
Cluster compliance scan Time
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
kubeHunterLogs
undefined[]
metadata
object
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
annotations
object
Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
labels
object
Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names
UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
spec
Cluster compliance scan logs spec
status
Cluster compliance scan KubeHunter Log Status
actor
Compliance Scan actor
reports
object
scanTime
Cluster compliance scan Time
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
sonobuoyLogs
undefined[]
metadata
object
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
annotations
object
Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
labels
object
Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names
UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
spec
Cluster compliance scan logs spec
status
Cluster compliance scan Sonobuoy Log Status
actor
Compliance Scan actor
reports
object
scanTime
Cluster compliance scan Time
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
syftLogs
undefined[]
metadata
object
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
annotations
object
Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
labels
object
Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names
UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
spec
Cluster compliance scan logs spec
status
Cluster compliance scan Syft Log Status
actor
Compliance Scan actor
location
object
Object identity meta
reports
undefined[]
dependencies
undefined[]
imageContexts
undefined[]
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
vulnerabilities
undefined[]
vulnerabilitySummary
Compliance Scan Syft Vulnerability Summary
scanContext
Compliance Scan Syft Context
scanTime
Cluster compliance scan Time
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
{
"kubeBenchLogs": [
{
"metadata": {
"annotations": {},
"creationTimestamp": "2024-07-03T13:23:53.996Z",
"deletionTimestamp": "2024-07-03T13:23:53.996Z",
"labels": {},
"lastModifiedTimestamp": "2024-07-03T13:23:53.996Z",
"name": "string",
"uid": "string"
},
"spec": {
"clusterUid": "string",
"driverType": "string"
},
"status": {
"actor": {
"actorType": "string",
"uid": "string"
},
"message": "string",
"reports": {},
"requestUid": "string",
"scanTime": {
"endTime": "2024-07-03T13:23:53.996Z",
"startTime": "2024-07-03T13:23:53.996Z"
},
"state": "string"
}
}
],
"kubeHunterLogs": [
{
"metadata": {
"annotations": {},
"creationTimestamp": "2024-07-03T13:23:53.996Z",
"deletionTimestamp": "2024-07-03T13:23:53.996Z",
"labels": {},
"lastModifiedTimestamp": "2024-07-03T13:23:53.996Z",
"name": "string",
"uid": "string"
},
"spec": {
"clusterUid": "string",
"driverType": "string"
},
"status": {
"actor": {
"actorType": "string",
"uid": "string"
},
"message": "string",
"reports": {},
"requestUid": "string",
"scanTime": {
"endTime": "2024-07-03T13:23:53.996Z",
"startTime": "2024-07-03T13:23:53.996Z"
},
"state": "string"
}
}
],
"sonobuoyLogs": [
{
"metadata": {
"annotations": {},
"creationTimestamp": "2024-07-03T13:23:53.996Z",
"deletionTimestamp": "2024-07-03T13:23:53.996Z",
"labels": {},
"lastModifiedTimestamp": "2024-07-03T13:23:53.996Z",
"name": "string",
"uid": "string"
},
"spec": {
"clusterUid": "string",
"driverType": "string"
},
"status": {
"actor": {
"actorType": "string",
"uid": "string"
},
"message": "string",
"reports": {},
"requestUid": "string",
"scanTime": {
"endTime": "2024-07-03T13:23:53.996Z",
"startTime": "2024-07-03T13:23:53.996Z"
},
"state": "string"
}
}
],
"syftLogs": [
{
"metadata": {
"annotations": {},
"creationTimestamp": "2024-07-03T13:23:53.996Z",
"deletionTimestamp": "2024-07-03T13:23:53.996Z",
"labels": {},
"lastModifiedTimestamp": "2024-07-03T13:23:53.996Z",
"name": "string",
"uid": "string"
},
"spec": {
"clusterUid": "string",
"driverType": "string"
},
"status": {
"actor": {
"actorType": "string",
"uid": "string"
},
"location": {
"name": "string",
"uid": "string"
},
"message": "string",
"reports": [
{
"dependencies": [
{
"name": "string",
"type": "string",
"version": "string"
}
],
"image": "string",
"imageContexts": [
{
"containerName": "string",
"namespace": "string",
"podName": "string"
}
],
"isSBOMExist": true,
"state": "string",
"time": "2024-07-03T13:23:53.996Z",
"vulnerabilities": [
{
"fixedIn": "string",
"installed": "string",
"name": "string",
"severity": "string",
"type": "string",
"vulnerability": "string"
}
],
"vulnerabilitySummary": {
"critical": 0,
"high": 0,
"low": 0,
"medium": 0,
"negligible": 0,
"unknown": 0
}
}
],
"requestUid": "string",
"scanContext": {
"format": "string",
"labelSelector": "string",
"namespace": "string",
"podName": "string",
"scope": "string"
},
"scanTime": {
"endTime": "2024-07-03T13:23:53.996Z",
"startTime": "2024-07-03T13:23:53.996Z"
},
"state": "string"
}
}
]
}