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 #1589

Merged
merged 8 commits into from
Mar 12, 2025
Merged

Conversation

Paramadon
Copy link
Contributor

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.

Requirements

Before commit the code, please do the following steps.

  1. Run make fmt and make fmt-sh
  2. Run make lint

@Paramadon Paramadon requested a review from a team as a code owner March 12, 2025 20:09
@Paramadon Paramadon merged commit 1239c45 into main Mar 12, 2025
7 checks passed
@Paramadon Paramadon deleted the selinuxFinal branch March 12, 2025 20:30
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