New Feature: Query Tags

Stuart Larsen · #article6 years ago

You can now tag and search reports within Csper. This allows you to segment reports based on your application version, application region, application environment, specific user, and more!

How it works

When installing the report-uri on your website, include any query string parameters you'd like to later search on:

For example I added the application version to this report-uri.

When Csper receives any reports for this policy, it will record all the query parameters and allow you to search for them within the dashboard.

Use cases

The ability to tag policies opens to the door to many different types of uses cases, but here's a couple common use cases:

  • Application version. When deploying a new version of your application, you can tag the version number allowing you to debug issues faster.
  • User. You can tag specific users, (using a cryptographically random token), to track individual user malware (for example to detect a naughty browser extension)
  • Features. Tag specific feature branches (A/B) to track down issues before rolling out to 100%

How to use

As of today you can start tagging on your report-uri, no changes needed.

To search the tags, head over to your project and go to the "Reports Dashboard". Click "Query Params" and add the search.

tag report-uri with query params

Csper Report Text Search

The query params will work seamless with all the other search criteria: policy, directives, classification, time, count, and browser age.

Future

Tagging opens up lots of possibilities. In the future we plan to provide more application insights that take advantage of any user provided tags, along with integrating tagging into the full CSP lifecycle.

If you have any ideas on how we can make CSP easier, we'd love to chat! product@csper.io.