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 are system generated key value metadata for the resource. As an input certain annotations like description can be set.
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
Labels are key value data to organize and categorize resources. Providing spectro__tag as value for a label is considered as a kubernetes compliant tag
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 of the resource.
UID is the unique identifier generated for the resource. This is not an input field for any request.
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 are system generated key value metadata for the resource. As an input certain annotations like description can be set.
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
Labels are key value data to organize and categorize resources. Providing spectro__tag as value for a label is considered as a kubernetes compliant tag
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 of the resource.
UID is the unique identifier generated for the resource. This is not an input field for any request.
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 are system generated key value metadata for the resource. As an input certain annotations like description can be set.
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
Labels are key value data to organize and categorize resources. Providing spectro__tag as value for a label is considered as a kubernetes compliant tag
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 of the resource.
UID is the unique identifier generated for the resource. This is not an input field for any request.
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 are system generated key value metadata for the resource. As an input certain annotations like description can be set.
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
Labels are key value data to organize and categorize resources. Providing spectro__tag as value for a label is considered as a kubernetes compliant tag
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 of the resource.
UID is the unique identifier generated for the resource. This is not an input field for any request.
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-04-16T17:49:01.927Z",
"deletionTimestamp": "2024-04-16T17:49:01.927Z",
"labels": {},
"lastModifiedTimestamp": "2024-04-16T17:49:01.927Z",
"name": "string",
"uid": "string"
},
"spec": {
"clusterUid": "string",
"driverType": "string"
},
"status": {
"actor": {
"actorType": "string",
"uid": "string"
},
"message": "string",
"reports": {},
"requestUid": "string",
"scanTime": {
"endTime": "2024-04-16T17:49:01.927Z",
"startTime": "2024-04-16T17:49:01.927Z"
},
"state": "string"
}
}
],
"kubeHunterLogs": [
{
"metadata": {
"annotations": {},
"creationTimestamp": "2024-04-16T17:49:01.927Z",
"deletionTimestamp": "2024-04-16T17:49:01.927Z",
"labels": {},
"lastModifiedTimestamp": "2024-04-16T17:49:01.927Z",
"name": "string",
"uid": "string"
},
"spec": {
"clusterUid": "string",
"driverType": "string"
},
"status": {
"actor": {
"actorType": "string",
"uid": "string"
},
"message": "string",
"reports": {},
"requestUid": "string",
"scanTime": {
"endTime": "2024-04-16T17:49:01.927Z",
"startTime": "2024-04-16T17:49:01.927Z"
},
"state": "string"
}
}
],
"sonobuoyLogs": [
{
"metadata": {
"annotations": {},
"creationTimestamp": "2024-04-16T17:49:01.927Z",
"deletionTimestamp": "2024-04-16T17:49:01.927Z",
"labels": {},
"lastModifiedTimestamp": "2024-04-16T17:49:01.927Z",
"name": "string",
"uid": "string"
},
"spec": {
"clusterUid": "string",
"driverType": "string"
},
"status": {
"actor": {
"actorType": "string",
"uid": "string"
},
"message": "string",
"reports": {},
"requestUid": "string",
"scanTime": {
"endTime": "2024-04-16T17:49:01.927Z",
"startTime": "2024-04-16T17:49:01.927Z"
},
"state": "string"
}
}
],
"syftLogs": [
{
"metadata": {
"annotations": {},
"creationTimestamp": "2024-04-16T17:49:01.928Z",
"deletionTimestamp": "2024-04-16T17:49:01.928Z",
"labels": {},
"lastModifiedTimestamp": "2024-04-16T17:49:01.928Z",
"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-04-16T17:49:01.928Z",
"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-04-16T17:49:01.928Z",
"startTime": "2024-04-16T17:49:01.928Z"
},
"state": "string"
}
}
]
}