Skip to main content

Registry Webhook

POST 

/api/v1/registry/webhook/webhook

x-prisma-cloud-target-env: {"permission":"none","saas":true,"self-hosted":true}

RegistryWebhook listen to registry updates

Request

Body

    action string

    Action is the webhook action.

    artifactory object

    ArtifactoryWebhookRequest is an artifactory webhook request Artifactory doesn't have native webhook support, instead it comes as a plugin https://github.com/jfrog/artifactory-user-plugins/tree/master/webhook The relevant fields in the this struct were reverse engineered from the webhook groovy code and from the fields that were sent by a real artifactory environment

    domain string

    Domain indicates the artifactory webhook domain (e.g., artifact, docker, build, etc). Used to avoid filter docker events.

    event_type string

    EventType is the artifactory webhook action performed (e.g., push).

    type string

    Type is the event type (Harbor registry).

Responses

OK

Loading...