Skip to content

Able to add custom configuration for loggers#15

Merged
homiedopie merged 13 commits intostackify:masterfrom
homiedopie:feature/INV-1538
Nov 5, 2020
Merged

Able to add custom configuration for loggers#15
homiedopie merged 13 commits intostackify:masterfrom
homiedopie:feature/INV-1538

Conversation

@homiedopie
Copy link
Collaborator

Able to add custom configuration for loggers

  • Update the agent transport port to 10601
  • Added Attribute Whitelist/Blacklist

} else {
$this->Headers = $this->getHeaders();
$this->Cookies = isset($_COOKIE) ? self::getRequestMap($_COOKIE, ['*']) : null;
$this->QueryString = isset($_GET) ? self::getRequestMap($_GET) : null;

Choose a reason for hiding this comment

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

Since the whitelist is null here the default would be capture none of the query string parameters and none of the POST data. Not sure this code will ever get called, but if it does is that what we want to do?

$result = array();
foreach ($headers as $key => $value) {
$maskValue = false;
$lowercaseKey = strtolower($key);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Use WebRequestMap

@homiedopie homiedopie merged commit 176b304 into stackify:master Nov 5, 2020
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