Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ See the full documentation [here](https://jfrog.com/help/r/jfrog-platform-admini

## Using the samples

This repository contains a collection of sample workers for common use cases. Feel free to use, modify, and extend these samples to accomplish your use cases.
This repository contains a collection of sample workers for common use cases. Use these code samples to jumpstart your development. These are for reference only, and up to you to adjust, test and maintain.

We have created these TypeScript samples based on [Artifactory User Plugin Samples](https://github.com/jfrog/artifactory-user-plugins).

Expand Down
2 changes: 2 additions & 0 deletions samples/access/BEFORE_CREATE_TOKEN/token-validation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

The worker enforces 3 checks before allowing tokens creation.

Use these code samples to jumpstart your development. These are for reference only, and up to you to adjust, test and maintain.

* The number of tokens owned by the subject should not exceeds a specific count.
* If it is a user token that is been created its expiry should not exceeds 1 month (the duration can be parameterized)
* If it is a service token that is been created its expiry should not exceeds 1 year (the duration can be parameterized)
2 changes: 2 additions & 0 deletions samples/artifactory/GENERIC_EVENT/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

Generic Event Workers are specialized JFrog workers that are not tied to specific Artifactory events. Instead, they are executed on demand via API calls or manual invocation. These workers are highly customizable, allowing you to perform tasks that are not bound to predefined triggers.

Use these code samples to jumpstart your development. These are for reference only, and up to you to adjust, test and maintain.

## Key Features

- **Manual Execution:** Can be triggered manually or through a specific API call.
Expand Down
2 changes: 2 additions & 0 deletions samples/artifactory/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Artifactory workers allow you to automate tasks, enforce policies, and integrate with external systems based on specific events such as uploading, downloading, or managing artifacts and properties.

Use these code samples to jumpstart your development. These are for reference only, and up to you to adjust, test and maintain.

### Available Workers

This repository includes sample workers for the following Artifactory events:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

The `runtime-alert` project is designed to monitor and alert on vulnerabilities and risks associated with image tags in a Kubernetes cluster. It integrates with Elasticsearch for storing vulnerability data (optional) and Slack for sending alerts.

Use these code samples to jumpstart your development. These are for reference only, and up to you to adjust, test and maintain.

## Features

- Retrieves secrets for Slack webhook URL and optionally Elasticsearch API key and URL.
Expand Down