Skip to main content

Returns the KubeBench compliance scan log by uid

GET 

/v1/spectroclusters/:uid/features/complianceScan/logs/:logUid/drivers/kubeBench

Returns the KubeBench compliance scan log by uid

Request

Path Parameters

    uid stringrequired
    logUid stringrequired

Query Parameters

    reportId string

Header Parameters

    ProjectUid string

    Scope the request to the specified project uid

Responses

OK

Schema

    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, other than that any input on annotations will be ignored

    property name*string
    creationTimestampdate-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.

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

    labels

    object

    Labels or Tags (UI) are key value data to organize and categorize resources. Providing spectro__tag as value for a label is considered as a kubernetes compliant tag

    property name*string
    lastModifiedTimestampdate-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.

    namestring

    Name of the resource

    uidstring

    UID is the unique identifier generated for the resource. This is not an input field for any request.

    Populated by the system. Read-only.

    spec

    Cluster compliance scan logs spec

    clusterUidstring
    driverTypestring

    status

    Cluster compliance scan KubeBench Log Status

    actor

    Compliance Scan actor

    actorTypestring
    uidstring
    messagestring

    reports

    object

    property name*

    Compliance Scan KubeBench Report

    failint32
    infoint32

    logs

    undefined[]

  • Array [

  • descriptionstring
    expectedstring
    remediationstring
    statestring
    testIdstring
    valuestring
  • ]

  • namestring
    passint32
    timedate-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.

    typestring
    warnint32
    requestUidstring

    scanTime

    Cluster compliance scan Time

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

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

    statestring
Loading...