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

Detect dangerous command #1179

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

Detect dangerous command #1179

wants to merge 13 commits into from

Conversation

VincyZhang
Copy link
Collaborator

Description

To detect dangerous command in shell/python scripts to avoid harmful impact on test servers

Issues

Some dangerous commands are brought by user's scripts which may have impact on test servers

Type of change

enhancement for CI

Dependencies

None

Tests

CI

Copy link

github-actions bot commented Nov 21, 2024

Dependency Review

The following issues were found:
  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 2 package(s) with unknown licenses.
See the Details below.

License Issues

.github/workflows/_get-test-matrix.yml

PackageVersionLicenseIssue Type
opea-project/validation/actions/check-cmdmainNullUnknown License

.github/workflows/pr-code-scan.yml

PackageVersionLicenseIssue Type
opea-project/validation/actions/check-cmdmainNullUnknown License

Scanned Files

  • .github/workflows/_get-test-matrix.yml
  • .github/workflows/pr-code-scan.yml

Signed-off-by: Wenxin Zhang <wenxin.zhang@intel.com>
@lvliang-intel
Copy link
Collaborator

@VincyZhang,

Welcome back :-)

VincyZhang and others added 5 commits November 22, 2024 10:00
Signed-off-by: Wenxin Zhang <wenxin.zhang@intel.com>
Signed-off-by: Wenxin Zhang <wenxin.zhang@intel.com>
…enAIExamples into check_harmful_cmd

Signed-off-by: Wenxin Zhang <wenxin.zhang@intel.com>
@VincyZhang
Copy link
Collaborator Author

@chensuyue
Copy link
Collaborator

Let's create a common action in https://github.com/opea-project/Validation, which can be referred by all the OPEA projects.

Signed-off-by: Wenxin Zhang <wenxin.zhang@intel.com>
@VincyZhang VincyZhang force-pushed the check_harmful_cmd branch 2 times, most recently from e68570d to d6c1d2d Compare November 22, 2024 06:39
…enAIExamples into check_harmful_cmd

Signed-off-by: Wenxin Zhang <wenxin.zhang@intel.com>
Signed-off-by: Wenxin Zhang <wenxin.zhang@intel.com>
@VincyZhang
Copy link
Collaborator Author

@VincyZhang
Copy link
Collaborator Author

Validation PR: opea-project/Validation#44

Signed-off-by: Wenxin Zhang <wenxin.zhang@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants