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

fix up CSP report #273

Open
srkirkland opened this issue Sep 4, 2020 · 1 comment
Open

fix up CSP report #273

srkirkland opened this issue Sep 4, 2020 · 1 comment

Comments

@srkirkland
Copy link
Member

we are getting tons of log entries about it. I'm not even seeing blocks or any bad info, just tons of empty reports. ex:

{
  "_id": "2fb84729-53c0-44b0-b491-fc044cc72b40",
  "env": "production",
  "host": "keas production [0000-50aa71]",
  "appname": "payments.mvc",
  "apploc": "D:\\home\\site\\wwwroot\\",
  "message": "csp-report",
  "json": {
    "propertiesObject": {
      "report": {
        "_typeTag": "CspReport",
        "BlockedUri": null,
        "DocumentUri": null,
        "OriginalPolicy": null,
        "Referrer": null,
        "ViolatedDirective": null
      },
      "ActionId": "53e67350-b16b-4f75-a930-689d1aac50a4",
      "ActionName": "Payments.Mvc.Controllers.HomeController.CspReport (Payments.Mvc)",
      "User": null,
      "CorrelationId": "367fbc95-9429-4bf5-af95-28a9f8285570",
      "RequestId": "0HM2BS9EFQR77:0000000C",
      "RequestPath": "/csp-report",
      "ConnectionId": "0HM2BS9EFQR77",
      "Source": "Payments.Mvc"
    }
  },
  "jsonPreview": "{\"propertiesObject\":{\"report\":{\"_typeTag\":\"CspReport\",\"BlockedUri\":null,\"DocumentUri\":null,\"Original...",
  "thread": "118",
  "timestamp": "2020-09-01T19:24:23.414Z",
  "inserted": "2020-09-01T19:24:55.2539631Z",
  "level": "WARNING",
  "logType": "app-dotnet",
  "stackify": {
    "queued": "2020-09-01T19:24:26.6828875Z",
    "tooksecs": 28.571,
    "queuedPartition": "Sep011900p2",
    "order": 1,
    "isWebLog": false,
    "appnameid": "05e63380-16b6-e811-bce7-000d3a328e05",
    "appenvid": "f361cf91-5b7f-4aec-981a-9af33a4e711c",
    "envid": 3,
    "timestamp1m": "2020-09-01T19:24:00Z",
    "timestamp5m": "2020-09-01T19:20:00Z",
    "timestamp1h": "2020-09-01T19:00:00Z",
    "timestamp1d": "2020-09-01T00:00:00Z",
    "isprod": true,
    "expiration1d": "9999-12-31T00:00:00"
  },
  "tag": []
}
@srkirkland
Copy link
Member Author

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

No branches or pull requests

1 participant