-
Notifications
You must be signed in to change notification settings - Fork 66
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
refactor(agent): expose app metadata for csec via global symbol #922
base: security-agent-support
Are you sure you want to change the base?
Conversation
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## security-agent-support #922 +/- ##
==========================================================
- Coverage 77.35% 77.27% -0.08%
==========================================================
Files 199 199
Lines 27757 27785 +28
==========================================================
Hits 21472 21472
- Misses 6285 6313 +28
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
c912dc9
to
1a4bc74
Compare
@ZNeumann @lavarou @bduranleau-nr
|
dce4f79
to
084453d
Compare
Rather than providing a PHP user function to expose app metadata to PHP userland, export a global symbol for cseg agent to use.
Replace 'transport' struct, which would have to be versioned, with a simple getter API of `get(key, &ptr)` signature.
This approach adds some level of protection (compiler type checking) from misusing the API.
a5afe89
to
587a75d
Compare
Rebased the branch. |
Rather than providing a PHP user function to expose app metadata to PHP userland, export a global symbol for cseg agent to use.