Skills
Log in

Get container scan logs

Get logs for a container scan job

Required permission

Project > Projects > Security > View Container Scan Reports

Path parameters

    • projectId

      string required
      ID of the project
    • containerScanId

      string required
      ID of the container scan

Query parameters

    • queryType

      string
      `range` selects a log range and returns immediately.
      one of
      range
    • startTime

      string
      Fetch logs generated after this timestamp.
    • endTime

      string
      Fetch logs generated before this timestamp.
    • duration

      integer
      Range duration in seconds. If set, only one of `startTime` or `endTime` can be set.
    • lineLimit

      integer
      Number of log lines to fetch.
      min
      0
      max
      1000
    • direction

      string
      Ordering of log lines
      one of
      backward, forward
    • textIncludes

      string
      Filter log lines to match this search string
      min length
      1
      max length
      100
    • textNotIncludes

      string
      Filter log lines to not match this search string
      min length
      1
      max length
      100
    • regexIncludes

      string
      Filter log lines to match this regular expression
      min length
      1
      max length
      100
    • regexNotIncludes

      string
      Filter log lines to not match this regular expression
      min length
      1
      max length
      100

Response body

  • {object}
    Response object.
    • data

      [array] required
      Result data.
      • {object}
        • containerId

          string required
        • log

          required
        • ts

          string required

GET /v1/projects/{projectId}/container-scans/{containerScanId}/logs

GET /v1/teams/{teamId}/projects/{projectId}/container-scans/{containerScanId}/logs

Example response

200 OK

List of logs values

JSON

{
  "data": [
    {
      "log": "stdout F This is a log line",
      "ts": "2023-03-21T15:01:17.310Z"
    }
  ]
}

© 2026 Northflank Ltd. All rights reserved.

northflank.com / Terms / Privacy / feedback@northflank.com