Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Adding Orca Security Image Scan Plugin #6154

Closed
wants to merge 4 commits into from

Conversation

YashasviDevtron
Copy link
Contributor

@YashasviDevtron YashasviDevtron commented Dec 4, 2024

Description

Adding Orca Security Image Scan Plugin Script

Fixes #

Checklist:

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR requires documentation updates?
  • I've updated documentation as required by this PR.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have tested it for all user roles.
  • I have added all the required unit/api test cases.

Does this PR introduce a user-facing change?


@YashasviDevtron YashasviDevtron changed the title Adding Orca Security Image Scan Plugin feat: Adding Orca Security Image Scan Plugin Dec 4, 2024
@@ -0,0 +1,52 @@
INSERT INTO "plugin_parent_metadata" ("id", "name","identifier", "description","type","icon","deleted", "created_on", "created_by", "updated_on", "updated_by")
VALUES (nextval('id_seq_plugin_parent_metadata'), 'ORCA SECURITY SCAN','security-image-scan','Orca Cloud Security plugin for scanning container images and detecting vulnerabilities','PRESET','https://raw.githubusercontent.com/devtron-labs/devtron/main/assets/orca_security_scan_logo.png','f', 'now()', 1, 'now()', 1);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep identifier something similar to Orca Security Scan - should include ORCA

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay

E'#!/bin/bash

echo "Installing Orca CLI..."
curl -sfL "https://raw.githubusercontent.com/orcasecurity/orca-cli/55c2742bb04c5a11f25e061a8e715cf6bc281a67/install.sh" | bash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of Hash, can we use tags here for install script?

echo "No timeout specified. Using default: 15 minutes."
fi

echo "Starting Orca image scan for ${ImageName}..."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add support for extraArgs as well if supported

Copy link

sonarcloud bot commented Dec 4, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants