Skip to main content

Update the KubeBench compliance scan log by uid

PUT 

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

Update the KubeBench compliance scan log by uid

Request

Path Parameters

    uid stringrequired

Header Parameters

    ProjectUid string

    Scope the request to the specified project uid

Body

    reports

    object

    required

    property name*

    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
    requestUidstringrequired
    statusstringrequired

    Possible values: [Completed, InProgress, Failed, Initiated]

Responses

The resource was updated successfully

Loading...