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

[security-agent] Configuration settings for security agent #143

Merged
merged 3 commits into from
Sep 1, 2020

Conversation

xornivore
Copy link
Contributor

What does this PR do?

  • Adds settings for compliance and runtime security settings in the operator for Agent 7.22.

Motivation

Allow enabling security agent using operator.

Additional Notes

Anything else we should know when reviewing?

@xornivore xornivore added this to the v0.4 milestone Aug 29, 2020
@xornivore xornivore requested a review from a team August 29, 2020 02:44
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This pull request does not contain a valid label. Please add one of the following labels: bug, enhancement, documentation

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This pull request does not contain a valid label. Please add one of the following labels: bug, enhancement, documentation

@xornivore xornivore added the enhancement New feature or request label Aug 29, 2020
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This pull request contains a valid label.

@@ -436,7 +436,7 @@ func DeploymentWithClusterAgentEnabled(t *testing.T) {
defer ctx.Cleanup()

name := "foo"
agentdeployment := utils.NewDatadogAgent(namespace, name, fmt.Sprintf("datadog/agent:%s", "6.14.0"), &utils.NewDatadogAgentOptions{ClusterAgentEnabled: true})
agentdeployment := utils.NewDatadogAgent(namespace, name, fmt.Sprintf("datadog/agent:%s", "7.22.0"), &utils.NewDatadogAgentOptions{ClusterAgentEnabled: true})
Copy link
Member

Choose a reason for hiding this comment

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

Didn’t you want to put 7.21 everywhere it was 6.14 before ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it's in the DCA test though, so hopefully should not matter.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This pull request contains a valid label.

@codecov-commenter
Copy link

codecov-commenter commented Aug 31, 2020

Codecov Report

Merging #143 into master will increase coverage by 0.22%.
The diff coverage is 57.38%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #143      +/-   ##
==========================================
+ Coverage   58.42%   58.64%   +0.22%     
==========================================
  Files          31       31              
  Lines        4623     4909     +286     
==========================================
+ Hits         2701     2879     +178     
- Misses       1726     1815      +89     
- Partials      196      215      +19     
Flag Coverage Δ
#unittests 58.64% <57.38%> (+0.22%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/controller/datadogagent/clusteragent.go 69.89% <10.76%> (-5.59%) ⬇️
pkg/controller/datadogagent/utils.go 82.20% <69.19%> (-0.96%) ⬇️
pkg/controller/datadogagent/systemprobe.go 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c762e52...25123c4. Read the comment docs.

@xornivore xornivore requested a review from L3n41c August 31, 2020 15:57
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This pull request contains a valid label.

@xornivore xornivore force-pushed the xornivore/security-agent-settings branch from 5cea0bc to 43f93ac Compare August 31, 2020 23:34
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This pull request contains a valid label.

- Adds settings for compliance and runtime security settings in the operator for Agent 7.22.
- Addresses the issue when Cluster Agent deployment is not updated with compliance settings changes.
@xornivore xornivore force-pushed the xornivore/security-agent-settings branch from 43f93ac to 25123c4 Compare September 1, 2020 13:34
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This pull request contains a valid label.

@xornivore xornivore merged commit 81620bc into master Sep 1, 2020
@xornivore xornivore deleted the xornivore/security-agent-settings branch September 1, 2020 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants