Skip to content

Commit

Permalink
Add metadata description to README
Browse files Browse the repository at this point in the history
  • Loading branch information
viraptor committed May 1, 2020
1 parent bf12606 commit 5d3c610
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,15 @@ $ CGO_ENABLED=0 go build csp_collector.go

See the sample.filterlist.txt file as an example of the filter list in a file

### Request metadata

Additional information can be attached to each report by adding a `metadata`
url parameter to each report. That value will be copied verbatim into the
logged report.

For example a report sent to `https://collector.example.com/?metadata=foobar`
will include field `metadata` with value `foobar`.

### Output formats

The output format can be controlled by passing `--output-format <type>`
Expand Down

0 comments on commit 5d3c610

Please sign in to comment.