Skip to content

Commit 6f29c1d

Browse files
authored
Fix samples descriptions for marketplace (#23)
1 parent 7965d18 commit 6f29c1d

File tree

23 files changed

+177
-20
lines changed

23 files changed

+177
-20
lines changed

samples/artifactory/AFTER_CREATE/check-image-signature/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "check-image-signature",
3-
"description": "Check a docker image signature",
3+
"description": "This worker demonstrates a signature validation scenario. After a Docker image has been uploaded, the worker verifies if the image is signed by checking for the presence of a signature file (e.g., `.sig` file generated by cosign). If the image is not signed, the worker removes it.",
44
"filterCriteria": {
55
"artifactFilterCriteria": {
66
"repoKeys": [

samples/artifactory/AFTER_CREATE/copy-deb-and-rpm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "copy-deb-and-rpm",
3-
"description": "Run a script on AFTER_CREATE",
3+
"description": "This worker script is designed to handle package copy operations between repositories in a JFrog Artifactory environment. It monitors specified repositories for newly created `.deb` and `.rpm` files, parses the file paths using a predefined layout, and copies the files to designated target repositories.",
44
"version": "1.0.1",
55
"scripts": {
66
"deploy": "jf worker deploy",

samples/artifactory/AFTER_DOWNLOAD/report-download-to-external-endpoint/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "report-download-to-external-endpoint",
3-
"description": "Report download to external endpoint",
3+
"description": "This worker listens to the `AFTER_DOWNLOAD` event in JFrog Artifactory and notifies an external endpoint when a file is downloaded. The worker logs the artifact's details, the repository, and the user responsible for the download.",
44
"filterCriteria": {
55
"artifactFilterCriteria": {
66
"repoKeys": [

samples/artifactory/BEFORE_COPY/restrict-overwrite/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "restrict-overwrite",
3-
"description": "Restrict overwrite",
3+
"description": "The \"Restrict Overwrite: Before Copy\" worker script enforces immutability by preventing overwrites of artifacts during the \"copy\" operation in JFrog Artifactory. It ensures that artifacts cannot be accidentally replaced, maintaining consistency and integrity across deployments.",
44
"filterCriteria": {
55
"artifactFilterCriteria": {
66
"repoKeys": [

samples/artifactory/BEFORE_CREATE/restrict-overwrite/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "restrict-overwrite",
3-
"description": "Restrict overwrite",
3+
"description": "The \"Restrict Overwrite: Before Create\" worker script enforces immutability by preventing overwrites of artifacts during the \"create\" operation in JFrog Artifactory. It ensures that artifacts cannot be accidentally replaced, maintaining consistency and integrity across deployments.",
44
"filterCriteria": {
55
"artifactFilterCriteria": {
66
"repoKeys": [

samples/artifactory/BEFORE_DOWNLOAD/resctrict-download-if-no-xray-scan-since/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "resctrict-download-if-no-xray-scan-since",
3-
"description": "Resctrict download if no xray scan since",
3+
"description": "This worker is triggered by the `BEFORE_DOWNLOAD` event of Artifactory. Its primary purpose is to restrict downloads of artifacts that have not undergone an Xray scan within a specified threshold duration. This ensures artifacts comply with security policies by enforcing timely scans.",
44
"filterCriteria": {
55
"artifactFilterCriteria": {
66
"repoKeys": [

samples/artifactory/BEFORE_DOWNLOAD/restrict-download-by-property-value/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "restrict-download-by-property-value",
3-
"description": "Restrict download by property value",
3+
"description": "This worker is triggered by the `BEFORE_DOWNLOAD` event of Artifactory. Its primary purpose is to block artifact downloads if the artifact contains certain forbidden properties with restricted values. This ensures compliance with organizational policies by preventing downloads of restricted artifacts.",
44
"filterCriteria": {
55
"artifactFilterCriteria": {
66
"repoKeys": [

samples/artifactory/BEFORE_DOWNLOAD/restrict-download-on-xray-critical-issues/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "restrict-download-on-xray-critical-issues",
3-
"description": "Restrict download on xray critical issues",
3+
"description": "This worker is triggered by the `BEFORE_DOWNLOAD` event of Artifactory. Its primary purpose is to block artifact downloads if the number of critical security issues in JFrog Xray exceeds a defined threshold. The worker ensures compliance with security policies by preventing downloads of artifacts with excessive vulnerabilities.",
44
"filterCriteria": {
55
"artifactFilterCriteria": {
66
"repoKeys": [

samples/artifactory/BEFORE_MOVE/restrict-overwrite/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "restrict-overwrite",
3-
"description": "Restrict overwrite",
3+
"description": "The \"Restrict Overwrite: Before Move\" worker script enforces immutability by preventing overwrites of artifacts during the \"move\" operation in JFrog Artifactory. It ensures that artifacts cannot be accidentally replaced, maintaining consistency and integrity across deployments.",
44
"filterCriteria": {
55
"artifactFilterCriteria": {
66
"repoKeys": [

samples/artifactory/BEFORE_PROPERTY_CREATE/property-creation-permission/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "property-creation-permission",
3-
"description": "Validate property creation permission",
3+
"description": "This worker is triggered by the `BEFORE_PROPERTY_CREATE` event in JFrog Artifactory. Its primary purpose is to enforce a policy where only users with admin privileges can create artifact properties.",
44
"secrets": {},
55
"filterCriteria": {
66
"artifactFilterCriteria": {

0 commit comments

Comments
 (0)