Skip to content

Enable security only if initialization process OK#1660

Merged
anna-git merged 3 commits into
appsec/v0-integrationfrom
v0-integration-agentwriter-disabled
Aug 5, 2021
Merged

Enable security only if initialization process OK#1660
anna-git merged 3 commits into
appsec/v0-integrationfrom
v0-integration-agentwriter-disabled

Conversation

@anna-git

@anna-git anna-git commented Aug 4, 2021

Copy link
Copy Markdown
Contributor

Fixes #

Changes proposed in this pull request:
Enable security only if initialization process OK
Small fixes

@DataDog/apm-dotnet

@anna-git anna-git requested a review from a team as a code owner August 4, 2021 16:51
@anna-git anna-git requested review from robertpi and removed request for a team August 4, 2021 16:51
@anna-git anna-git force-pushed the appsec/v0-integration branch from 4d66c59 to 9129e85 Compare August 4, 2021 21:39
@anna-git anna-git force-pushed the v0-integration-agentwriter-disabled branch from 2468980 to d94650e Compare August 4, 2021 21:45

@robertpi robertpi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

One small comment, otherwise it's good.

}
}
}
catch (Exception ex)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should probably set Enabled = false in this catch block too.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

good point!

@anna-git anna-git merged commit ca5f5ac into appsec/v0-integration Aug 5, 2021
@anna-git anna-git deleted the v0-integration-agentwriter-disabled branch August 5, 2021 09:47
anna-git added a commit that referenced this pull request Aug 9, 2021
* Initialize security components only if no waf loading problem, otherwise disable security

* Disable Security if some initialization fails

* Disable security in case of exception in constructor
robertpi pushed a commit that referenced this pull request Aug 10, 2021
* Initialize security components only if no waf loading problem, otherwise disable security

* Disable Security if some initialization fails

* Disable security in case of exception in constructor
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.

2 participants