Skip to content

Commit 5d3c610

Browse files
committed
Add metadata description to README
1 parent bf12606 commit 5d3c610

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,15 @@ $ CGO_ENABLED=0 go build csp_collector.go
4444

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

47+
### Request metadata
48+
49+
Additional information can be attached to each report by adding a `metadata`
50+
url parameter to each report. That value will be copied verbatim into the
51+
logged report.
52+
53+
For example a report sent to `https://collector.example.com/?metadata=foobar`
54+
will include field `metadata` with value `foobar`.
55+
4756
### Output formats
4857

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

0 commit comments

Comments
 (0)