2.7.1 • Published 4 years ago
@contrast/test-bench-content v2.7.1
@contrast/test-bench-content
Shared views to use in Contrast's web framework test apps.
Adding a shared view to multiple apps
Once you have configured a sink within @contrast/test-bench-utils
,
you're ready to add a shared view here. Shared view templates are rendered with
the following locals provided:
name
: the name of the vulnerability being testedlink
: a link to OWASP or another reference describing the vulnerabilitysinkData
: an array of objects describing the sinks exercising a rule, containing (at least) the following keys:method
: the HTTP method being used to submit the attackname
: the name of the particular sink being exercisedurl
: the api endpoint url to hit
_csrf
for Kraken apps, we provide the csrf token to be included as a hidden field within a form
An endpoint may also be configured to provide additional locals to the template to render additional context for a rule. For example, we provide an XML string to the xxe endpoint as a potential attack value.
2.7.1
4 years ago
2.7.0
4 years ago
2.6.0
4 years ago
2.5.0
4 years ago
2.4.1
4 years ago
2.4.2
4 years ago
2.4.0
4 years ago
2.3.0
4 years ago
2.2.0
5 years ago
2.1.0
5 years ago
2.1.0-beta.0
5 years ago
2.0.0
5 years ago
1.2.2-0
5 years ago
1.2.1-0
5 years ago
1.2.0
5 years ago
1.1.4
5 years ago
1.1.3
5 years ago
1.1.2
5 years ago
1.1.1
5 years ago
1.1.0
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago