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

add dangerous cmd check #955

Merged
merged 3 commits into from
Dec 3, 2024
Merged

add dangerous cmd check #955

merged 3 commits into from
Dec 3, 2024

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

Signed-off-by: Wenxin Zhang <[email protected]>
@VincyZhang
Copy link
Collaborator Author

test pass:
image

@VincyZhang VincyZhang requested a review from chensuyue November 29, 2024 02:16
Copy link
Collaborator

@chensuyue chensuyue left a comment

Choose a reason for hiding this comment

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

LGTM, please remove the test code.

Signed-off-by: Wenxin Zhang <[email protected]>
@lvliang-intel lvliang-intel merged commit 766c757 into main Dec 3, 2024
12 checks passed
@lvliang-intel lvliang-intel deleted the add_cmd_check branch December 3, 2024 14:33
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