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 SELinux Integration Test for CloudWatch Agent #460

Merged
merged 154 commits into from
Mar 12, 2025
Merged

Add SELinux Integration Test for CloudWatch Agent #460

merged 154 commits into from
Mar 12, 2025

Conversation

Paramadon
Copy link
Contributor

@Paramadon Paramadon commented Feb 13, 2025

Description of the issue

This PR adds SELinux integration test for CloudWatch Agent to validate its behavior under different SELinux policies. The test suite includes:

Positive Test: Ensures CloudWatch Agent runs successfully when the correct SELinux policy is applied for current ec2 linux test suite for AL2 and AL2023.

Negative Test: Verifies that the agent fails to start or logs appropriate errors when SELinux restrictions are improperly configured.

Run: GitHub Action Run

Description of changes

Adding selinux integ tests.

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Tests

Describe what tests you have done.

@musa-asad
Copy link
Contributor

Build failures and branch needs to be updated.

@Paramadon Paramadon changed the title Selinux integration test Add SELinux Integration Test for CloudWatch Agent Mar 11, 2025
musa-asad
musa-asad previously approved these changes Mar 11, 2025
@Paramadon Paramadon merged commit beb0b0b into main Mar 12, 2025
2 checks passed
@Paramadon Paramadon deleted the selinuxTest branch March 12, 2025 17:08
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.

4 participants