JFrog · Capability

JFrog Curation REST API — Audit

JFrog Curation REST API — Audit. 1 operations. Lead operation: JFrog Get Curation Audit Log. Self-contained Naftiko capability covering one Jfrog business surface.

Run with Naftiko JfrogAudit

What You Can Do

GET
Getauditlog — JFrog Get Curation Audit Log
/v1/v1/audit

MCP Tools

jfrog-get-curation-audit-log

JFrog Get Curation Audit Log

read-only idempotent

Capability Spec

curation-audit.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: JFrog Curation REST API — Audit
  description: 'JFrog Curation REST API — Audit. 1 operations. Lead operation: JFrog Get Curation Audit Log. Self-contained
    Naftiko capability covering one Jfrog business surface.'
  tags:
  - Jfrog
  - Audit
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    JFROG_API_KEY: JFROG_API_KEY
capability:
  consumes:
  - type: http
    namespace: curation-audit
    baseUri: https://{server}.jfrog.io/curation/api
    description: JFrog Curation REST API — Audit business capability. Self-contained, no shared references.
    resources:
    - name: v1-audit
      path: /v1/audit
      operations:
      - name: getauditlog
        method: GET
        description: JFrog Get Curation Audit Log
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: from_date
          in: query
          type: string
          description: Start date for the audit log query
        - name: to_date
          in: query
          type: string
          description: End date for the audit log query
        - name: package_type
          in: query
          type: string
          description: Filter by package type (npm, maven, pypi, etc.)
        - name: policy_name
          in: query
          type: string
          description: Filter by policy name
        - name: action_taken
          in: query
          type: string
          description: Filter by action taken
        - name: limit
          in: query
          type: integer
          description: Maximum number of results
        - name: offset
          in: query
          type: integer
          description: Offset for pagination
    authentication:
      type: bearer
      token: '{{env.JFROG_API_KEY}}'
  exposes:
  - type: rest
    namespace: curation-audit-rest
    port: 8080
    description: REST adapter for JFrog Curation REST API — Audit. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/audit
      name: v1-audit
      description: REST surface for v1-audit.
      operations:
      - method: GET
        name: getauditlog
        description: JFrog Get Curation Audit Log
        call: curation-audit.getauditlog
        with:
          from_date: rest.from_date
          to_date: rest.to_date
          package_type: rest.package_type
          policy_name: rest.policy_name
          action_taken: rest.action_taken
          limit: rest.limit
          offset: rest.offset
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: curation-audit-mcp
    port: 9090
    transport: http
    description: MCP adapter for JFrog Curation REST API — Audit. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: jfrog-get-curation-audit-log
      description: JFrog Get Curation Audit Log
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: curation-audit.getauditlog
      with:
        from_date: tools.from_date
        to_date: tools.to_date
        package_type: tools.package_type
        policy_name: tools.policy_name
        action_taken: tools.action_taken
        limit: tools.limit
        offset: tools.offset
      outputParameters:
      - type: object
        mapping: $.