GoHarbor audit API

The audit API from GoHarbor — 1 operation(s) for audit.

OpenAPI Specification

goharbor-audit-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Harbor artifacts audit API
  version: '2.0'
  description: 'Subset of the Harbor v2.0 REST API for the cloud-native container

    registry. Authenticates with HTTP Basic auth. Full upstream spec

    available at

    https://raw.githubusercontent.com/goharbor/harbor/main/api/v2.0/swagger.yaml

    '
  contact:
    name: Harbor
    url: https://goharbor.io/
servers:
- url: https://{host}/api/v2.0
  description: Harbor instance
  variables:
    host:
      default: harbor.example.com
security:
- basicAuth: []
tags:
- name: audit
paths:
  /audit-logs:
    get:
      tags:
      - audit
      summary: List audit logs
      operationId: listAuditLogs
      responses:
        '200':
          description: OK
components:
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: Harbor user credentials (HTTP Basic)