@thymian/rules-rfc-6797 0.0.0-stage → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +158 -2
- package/dist/coverage.d.ts +291 -0
- package/dist/coverage.d.ts.map +1 -0
- package/dist/coverage.js +160 -0
- package/dist/coverage.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +29 -0
- package/dist/index.js.map +1 -0
- package/dist/rules/effective-request-uri/hsts-host-must-not-treat-empty-path-as-slash-when-comparing-effective-request-uris.rule.d.ts +3 -0
- package/dist/rules/effective-request-uri/hsts-host-must-not-treat-empty-path-as-slash-when-comparing-effective-request-uris.rule.d.ts.map +1 -0
- package/dist/rules/effective-request-uri/hsts-host-must-not-treat-empty-path-as-slash-when-comparing-effective-request-uris.rule.js +12 -0
- package/dist/rules/effective-request-uri/hsts-host-must-not-treat-empty-path-as-slash-when-comparing-effective-request-uris.rule.js.map +1 -0
- package/dist/rules/server-processing-model/hsts-host-must-not-send-sts-header-over-insecure-transport.rule.d.ts +3 -0
- package/dist/rules/server-processing-model/hsts-host-must-not-send-sts-header-over-insecure-transport.rule.d.ts.map +1 -0
- package/dist/rules/server-processing-model/hsts-host-must-not-send-sts-header-over-insecure-transport.rule.js +39 -0
- package/dist/rules/server-processing-model/hsts-host-must-not-send-sts-header-over-insecure-transport.rule.js.map +1 -0
- package/dist/rules/server-processing-model/hsts-host-must-send-only-one-sts-header.rule.d.ts +3 -0
- package/dist/rules/server-processing-model/hsts-host-must-send-only-one-sts-header.rule.d.ts.map +1 -0
- package/dist/rules/server-processing-model/hsts-host-must-send-only-one-sts-header.rule.js +35 -0
- package/dist/rules/server-processing-model/hsts-host-must-send-only-one-sts-header.rule.js.map +1 -0
- package/dist/rules/server-processing-model/hsts-host-should-redirect-insecure-requests-to-https.rule.d.ts +3 -0
- package/dist/rules/server-processing-model/hsts-host-should-redirect-insecure-requests-to-https.rule.d.ts.map +1 -0
- package/dist/rules/server-processing-model/hsts-host-should-redirect-insecure-requests-to-https.rule.js +24 -0
- package/dist/rules/server-processing-model/hsts-host-should-redirect-insecure-requests-to-https.rule.js.map +1 -0
- package/dist/rules/server-processing-model/https-redirect-is-should-for-deployment-reasons.rule.d.ts +3 -0
- package/dist/rules/server-processing-model/https-redirect-is-should-for-deployment-reasons.rule.d.ts.map +1 -0
- package/dist/rules/server-processing-model/https-redirect-is-should-for-deployment-reasons.rule.js +14 -0
- package/dist/rules/server-processing-model/https-redirect-is-should-for-deployment-reasons.rule.js.map +1 -0
- package/dist/rules/server-processing-model/server-may-establish-hsts-over-secure-transport.rule.d.ts +3 -0
- package/dist/rules/server-processing-model/server-may-establish-hsts-over-secure-transport.rule.d.ts.map +1 -0
- package/dist/rules/server-processing-model/server-may-establish-hsts-over-secure-transport.rule.js +19 -0
- package/dist/rules/server-processing-model/server-may-establish-hsts-over-secure-transport.rule.js.map +1 -0
- package/dist/rules/server-processing-model/server-should-redirect-insecure-requests-to-https.rule.d.ts +3 -0
- package/dist/rules/server-processing-model/server-should-redirect-insecure-requests-to-https.rule.d.ts.map +1 -0
- package/dist/rules/server-processing-model/server-should-redirect-insecure-requests-to-https.rule.js +25 -0
- package/dist/rules/server-processing-model/server-should-redirect-insecure-requests-to-https.rule.js.map +1 -0
- package/dist/rules/server-processing-model/server-should-send-sts-header-over-secure-transport.rule.d.ts +3 -0
- package/dist/rules/server-processing-model/server-should-send-sts-header-over-secure-transport.rule.d.ts.map +1 -0
- package/dist/rules/server-processing-model/server-should-send-sts-header-over-secure-transport.rule.js +22 -0
- package/dist/rules/server-processing-model/server-should-send-sts-header-over-secure-transport.rule.js.map +1 -0
- package/dist/rules/server-processing-model/sts-header-inclusion-is-should-to-accommodate-caches.rule.d.ts +3 -0
- package/dist/rules/server-processing-model/sts-header-inclusion-is-should-to-accommodate-caches.rule.d.ts.map +1 -0
- package/dist/rules/server-processing-model/sts-header-inclusion-is-should-to-accommodate-caches.rule.js +14 -0
- package/dist/rules/server-processing-model/sts-header-inclusion-is-should-to-accommodate-caches.rule.js.map +1 -0
- package/dist/rules/syntax/hsts-host-may-assert-include-subdomains.rule.d.ts +3 -0
- package/dist/rules/syntax/hsts-host-may-assert-include-subdomains.rule.d.ts.map +1 -0
- package/dist/rules/syntax/hsts-host-may-assert-include-subdomains.rule.js +35 -0
- package/dist/rules/syntax/hsts-host-may-assert-include-subdomains.rule.js.map +1 -0
- package/dist/rules/syntax/hsts-host-must-not-repeat-sts-directives.rule.d.ts +3 -0
- package/dist/rules/syntax/hsts-host-must-not-repeat-sts-directives.rule.d.ts.map +1 -0
- package/dist/rules/syntax/hsts-host-must-not-repeat-sts-directives.rule.js +33 -0
- package/dist/rules/syntax/hsts-host-must-not-repeat-sts-directives.rule.js.map +1 -0
- package/dist/rules/syntax/hsts-host-must-send-include-subdomains-without-value.rule.d.ts +3 -0
- package/dist/rules/syntax/hsts-host-must-send-include-subdomains-without-value.rule.d.ts.map +1 -0
- package/dist/rules/syntax/hsts-host-must-send-include-subdomains-without-value.rule.js +24 -0
- package/dist/rules/syntax/hsts-host-must-send-include-subdomains-without-value.rule.js.map +1 -0
- package/dist/rules/syntax/hsts-host-must-send-max-age-as-delta-seconds.rule.d.ts +3 -0
- package/dist/rules/syntax/hsts-host-must-send-max-age-as-delta-seconds.rule.d.ts.map +1 -0
- package/dist/rules/syntax/hsts-host-must-send-max-age-as-delta-seconds.rule.js +33 -0
- package/dist/rules/syntax/hsts-host-must-send-max-age-as-delta-seconds.rule.js.map +1 -0
- package/dist/rules/syntax/hsts-host-must-send-max-age-directive.rule.d.ts +3 -0
- package/dist/rules/syntax/hsts-host-must-send-max-age-directive.rule.d.ts.map +1 -0
- package/dist/rules/syntax/hsts-host-must-send-max-age-directive.rule.js +24 -0
- package/dist/rules/syntax/hsts-host-must-send-max-age-directive.rule.js.map +1 -0
- package/dist/rules/syntax/hsts-host-must-send-sts-header-conforming-to-grammar.rule.d.ts +3 -0
- package/dist/rules/syntax/hsts-host-must-send-sts-header-conforming-to-grammar.rule.d.ts.map +1 -0
- package/dist/rules/syntax/hsts-host-must-send-sts-header-conforming-to-grammar.rule.js +29 -0
- package/dist/rules/syntax/hsts-host-must-send-sts-header-conforming-to-grammar.rule.js.map +1 -0
- package/dist/rules/syntax/user-agent-must-enforce-hsts-policy.rule.d.ts +3 -0
- package/dist/rules/syntax/user-agent-must-enforce-hsts-policy.rule.d.ts.map +1 -0
- package/dist/rules/syntax/user-agent-must-enforce-hsts-policy.rule.js +15 -0
- package/dist/rules/syntax/user-agent-must-enforce-hsts-policy.rule.js.map +1 -0
- package/dist/rules/syntax/user-agent-must-ignore-unrecognized-sts-directives.rule.d.ts +3 -0
- package/dist/rules/syntax/user-agent-must-ignore-unrecognized-sts-directives.rule.d.ts.map +1 -0
- package/dist/rules/syntax/user-agent-must-ignore-unrecognized-sts-directives.rule.js +37 -0
- package/dist/rules/syntax/user-agent-must-ignore-unrecognized-sts-directives.rule.js.map +1 -0
- package/dist/rules/utils/headers.d.ts +7 -0
- package/dist/rules/utils/headers.d.ts.map +1 -0
- package/dist/rules/utils/headers.js +54 -0
- package/dist/rules/utils/headers.js.map +1 -0
- package/dist/rules/utils/redirect.d.ts +8 -0
- package/dist/rules/utils/redirect.d.ts.map +1 -0
- package/dist/rules/utils/redirect.js +150 -0
- package/dist/rules/utils/redirect.js.map +1 -0
- package/dist/rules/utils/results.d.ts +5 -0
- package/dist/rules/utils/results.d.ts.map +1 -0
- package/dist/rules/utils/results.js +14 -0
- package/dist/rules/utils/results.js.map +1 -0
- package/dist/rules/utils/sts-contexts.d.ts +12 -0
- package/dist/rules/utils/sts-contexts.d.ts.map +1 -0
- package/dist/rules/utils/sts-contexts.js +69 -0
- package/dist/rules/utils/sts-contexts.js.map +1 -0
- package/dist/rules/utils/sts-field-value.d.ts +17 -0
- package/dist/rules/utils/sts-field-value.d.ts.map +1 -0
- package/dist/rules/utils/sts-field-value.js +133 -0
- package/dist/rules/utils/sts-field-value.js.map +1 -0
- package/dist/rules/utils/transport.d.ts +4 -0
- package/dist/rules/utils/transport.d.ts.map +1 -0
- package/dist/rules/utils/transport.js +24 -0
- package/dist/rules/utils/transport.js.map +1 -0
- package/package.json +55 -4
package/README.md
CHANGED
|
@@ -1,3 +1,159 @@
|
|
|
1
|
-
|
|
1
|
+
<!-- HEADER:START - Do not remove or modify this section -->
|
|
2
|
+
<div align="center">
|
|
3
|
+
<img src="https://raw.githubusercontent.com/thymianofficial/thymian/main/astro-docs/src/assets/logo.svg" alt="Thymian Logo" width="200"/>
|
|
2
4
|
|
|
3
|
-
|
|
5
|
+
# Thymian
|
|
6
|
+
|
|
7
|
+
**Add resilience and HTTP conformance to your API development workflow**
|
|
8
|
+
|
|
9
|
+
[](https://github.com/thymianofficial/thymian/blob/main/LICENSE)
|
|
10
|
+
[](https://github.com/thymianofficial/thymian/actions/workflows/ci.yaml)
|
|
11
|
+
[](https://thymian.dev)
|
|
12
|
+
[](https://discord.gg/TRSwCxbz9f)
|
|
13
|
+
[](https://www.reddit.com/r/ThymianOfficial/)
|
|
14
|
+
[](https://x.com/thymiandev)
|
|
15
|
+
|
|
16
|
+
</div>
|
|
17
|
+
<!-- HEADER:END -->
|
|
18
|
+
|
|
19
|
+
## @thymian/rules-rfc-6797
|
|
20
|
+
|
|
21
|
+
A rule set for HTTP Strict Transport Security as defined in RFC 6797 (HSTS): the `Strict-Transport-Security` header a host sends, and how it answers a request that arrives over plain HTTP.
|
|
22
|
+
|
|
23
|
+
Only the parts of RFC 6797 a host can be held to are in scope: §6 (the header's syntax), §7 (the server processing model) and §9.2 (the effective request URI). The user-agent processing model (§8) constrains browsers, which Thymian cannot observe. The Coverage section below is generated from the package's coverage record and states how many of those units the shipped rules check.
|
|
24
|
+
|
|
25
|
+
## Installation
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
npm install @thymian/rules-rfc-6797
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Then add it to the `ruleSets` of your `thymian.config.yaml`:
|
|
32
|
+
|
|
33
|
+
```yaml
|
|
34
|
+
ruleSets:
|
|
35
|
+
- '@thymian/rules-rfc-6797'
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
> **Getting started with Thymian?** See the [main Thymian package](https://www.npmjs.com/package/thymian) for quick installation and first-run instructions.
|
|
39
|
+
|
|
40
|
+
<!-- COVERAGE:START - Generated by `nx run rules-rfc-6797:generate-coverage`. Do not edit by hand. -->
|
|
41
|
+
|
|
42
|
+
## Coverage
|
|
43
|
+
|
|
44
|
+
**14 of 14** units covered, by **15** rule(s).
|
|
45
|
+
|
|
46
|
+
- Source: RFC 6797 (November 2012)
|
|
47
|
+
- Counting rule: One unit per paragraph of §6, §7 and §9.2 — the chapters addressed to the host — that contains a BCP 14 keyword.
|
|
48
|
+
|
|
49
|
+
Not yet covered: none.
|
|
50
|
+
|
|
51
|
+
## Severity map
|
|
52
|
+
|
|
53
|
+
| Severity | Keyword | recommended | strict | minimal |
|
|
54
|
+
| -------- | ------- | ----------- | ------ | ------- |
|
|
55
|
+
| error | MUST | 11 | 9 | 7 |
|
|
56
|
+
| warn | SHOULD | 0 | 1 | 0 |
|
|
57
|
+
| hint | MAY | 4 | 5 | 0 |
|
|
58
|
+
| off | (off) | 2 | 2 | 10 |
|
|
59
|
+
|
|
60
|
+
## Conventions
|
|
61
|
+
|
|
62
|
+
### rfc6797/server-should-redirect-insecure-requests-to-https
|
|
63
|
+
|
|
64
|
+
RFC 6797 asks for this redirect only from a host that has already chosen to be an HSTS Host, and the recommended profile requires it of every server because a plain-HTTP request not answered by a permanent redirect — typically a typed bare domain on a first visit — is exactly the downgrade window HSTS exists to close, and the one place its header can never be delivered.
|
|
65
|
+
|
|
66
|
+
### rfc6797/server-should-send-sts-header-over-secure-transport
|
|
67
|
+
|
|
68
|
+
RFC 6797 only permits a host to establish HSTS by sending this header and asks it of every response only from a host that has already chosen to be an HSTS Host, and the recommended profile requires it of every server because, outside the browsers' pre-load lists, the header is the only way a browser learns the policy, so a response without it leaves every first visit, and every visit after the policy lapses, open to a downgrade to plain HTTP.
|
|
69
|
+
|
|
70
|
+
## Rule verdicts
|
|
71
|
+
|
|
72
|
+
### effective-request-uri
|
|
73
|
+
|
|
74
|
+
| Rule | static | analytics | test |
|
|
75
|
+
| ------------------------------------------------------------------------------------------ | -------------------------------- | -------------------------------- | -------------------------------- |
|
|
76
|
+
| rfc6797/hsts-host-must-not-treat-empty-path-as-slash-when-comparing-effective-request-uris | impossible (peer-not-observable) | impossible (peer-not-observable) | impossible (peer-not-observable) |
|
|
77
|
+
|
|
78
|
+
### server-processing-model
|
|
79
|
+
|
|
80
|
+
| Rule | static | analytics | test |
|
|
81
|
+
| ------------------------------------------------------------------ | ------------------------------ | ----------------------------- | ----------------------------- |
|
|
82
|
+
| rfc6797/hsts-host-must-not-send-sts-header-over-insecure-transport | observable | observable | observable |
|
|
83
|
+
| rfc6797/hsts-host-must-send-only-one-sts-header | impossible (not-representable) | observable | observable |
|
|
84
|
+
| rfc6797/hsts-host-should-redirect-insecure-requests-to-https | heuristic | heuristic | heuristic |
|
|
85
|
+
| rfc6797/https-redirect-is-should-for-deployment-reasons | impossible (nothing-to-check) | impossible (nothing-to-check) | impossible (nothing-to-check) |
|
|
86
|
+
| rfc6797/server-may-establish-hsts-over-secure-transport | observable | observable | observable |
|
|
87
|
+
| rfc6797/server-should-redirect-insecure-requests-to-https | observable | observable | observable |
|
|
88
|
+
| rfc6797/server-should-send-sts-header-over-secure-transport | observable | observable | observable |
|
|
89
|
+
| rfc6797/sts-header-inclusion-is-should-to-accommodate-caches | impossible (nothing-to-check) | impossible (nothing-to-check) | impossible (nothing-to-check) |
|
|
90
|
+
|
|
91
|
+
### syntax
|
|
92
|
+
|
|
93
|
+
| Rule | static | analytics | test |
|
|
94
|
+
| ------------------------------------------------------------ | -------------------------------- | -------------------------------- | -------------------------------- |
|
|
95
|
+
| rfc6797/hsts-host-may-assert-include-subdomains | observable | observable | observable |
|
|
96
|
+
| rfc6797/hsts-host-must-not-repeat-sts-directives | observable | observable | observable |
|
|
97
|
+
| rfc6797/hsts-host-must-send-include-subdomains-without-value | observable | observable | observable |
|
|
98
|
+
| rfc6797/hsts-host-must-send-max-age-as-delta-seconds | observable | observable | observable |
|
|
99
|
+
| rfc6797/hsts-host-must-send-max-age-directive | observable | observable | observable |
|
|
100
|
+
| rfc6797/hsts-host-must-send-sts-header-conforming-to-grammar | observable | observable | observable |
|
|
101
|
+
| rfc6797/user-agent-must-enforce-hsts-policy | impossible (peer-not-observable) | impossible (peer-not-observable) | impossible (peer-not-observable) |
|
|
102
|
+
| rfc6797/user-agent-must-ignore-unrecognized-sts-directives | heuristic | heuristic | heuristic |
|
|
103
|
+
|
|
104
|
+
## Tag status
|
|
105
|
+
|
|
106
|
+
### security
|
|
107
|
+
|
|
108
|
+
- `security:transport` — 17 rule(s)
|
|
109
|
+
- `security:cors` — ships empty
|
|
110
|
+
- `security:cookies` — ships empty
|
|
111
|
+
- `security:csp` — ships empty
|
|
112
|
+
- `security:content-type` — ships empty
|
|
113
|
+
- `security:authentication` — ships empty
|
|
114
|
+
- `security:authorization` — ships empty
|
|
115
|
+
- `security:disclosure` — ships empty
|
|
116
|
+
- `security:dos` — ships empty
|
|
117
|
+
- `security:cache-poisoning` — ships empty
|
|
118
|
+
- `security:request-smuggling` — ships empty
|
|
119
|
+
- `security:clickjacking` — ships empty
|
|
120
|
+
- `security:csrf` — ships empty
|
|
121
|
+
- `security:spoofing` — ships empty
|
|
122
|
+
|
|
123
|
+
### privacy
|
|
124
|
+
|
|
125
|
+
- `privacy:tracking` — ships empty
|
|
126
|
+
- `privacy:fingerprinting` — ships empty
|
|
127
|
+
- `privacy:referrer` — ships empty
|
|
128
|
+
|
|
129
|
+
<!-- COVERAGE:END -->
|
|
130
|
+
|
|
131
|
+
<!-- FOOTER:START - Do not remove or modify this section -->
|
|
132
|
+
|
|
133
|
+
## 📚 Documentation
|
|
134
|
+
|
|
135
|
+
- **[Getting Started](https://thymian.dev/introduction/getting-started)** - Set up Thymian in minutes
|
|
136
|
+
- **[Documentation](https://thymian.dev)** - Comprehensive guides and API reference
|
|
137
|
+
- **[CLI Reference](https://thymian.dev/references/cli)** - Complete CLI command documentation
|
|
138
|
+
- **[HTTP Rules](https://thymian.dev/guides/http-rules/how-to-use-rules)** - Learn about HTTP conformance validation
|
|
139
|
+
|
|
140
|
+
## 🏢 Enterprise Support
|
|
141
|
+
|
|
142
|
+
Get professional consulting and dedicated support from the creators of Thymian. We offer:
|
|
143
|
+
|
|
144
|
+
- API design and governance strategies
|
|
145
|
+
- HTTP standards compliance auditing
|
|
146
|
+
- Custom plugin development
|
|
147
|
+
- Custom rule development
|
|
148
|
+
- Team training and workshops
|
|
149
|
+
|
|
150
|
+
**[Learn more about Enterprise Support](https://thymian.dev/enterprise)** | **Email: [support@thymian.dev](mailto:support@thymian.dev)**
|
|
151
|
+
|
|
152
|
+
---
|
|
153
|
+
|
|
154
|
+
<div align="center">
|
|
155
|
+
|
|
156
|
+
**Shipped with 🌱 by [qupaya](https://qupaya.com)**
|
|
157
|
+
|
|
158
|
+
</div>
|
|
159
|
+
<!-- FOOTER:END -->
|
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
declare const _default: import("@thymian/core").CoverageRecord<{
|
|
2
|
+
readonly '6.1/1': "The STS header field indicates to a UA that it MUST enforce the HSTS Policy in regards to the host emitting the response.";
|
|
3
|
+
readonly '6.1/2': "All directives MUST appear only once in an STS header field.";
|
|
4
|
+
readonly '6.1/3': "UAs MUST ignore any STS header field containing directives, or other header field value data, that does not conform to the syntax.";
|
|
5
|
+
readonly '6.1/4': "If an STS header field contains directives not recognized by the UA, the UA MUST ignore them and process the recognized ones.";
|
|
6
|
+
readonly '6.1.1/1': "The REQUIRED max-age directive specifies how many seconds the UA regards the host as a Known HSTS Host.";
|
|
7
|
+
readonly '6.1.1/2': "The max-age directive's REQUIRED value is delta-seconds (1*DIGIT), after quoted-string unescaping.";
|
|
8
|
+
readonly '6.1.2/1': "The OPTIONAL includeSubDomains directive is a valueless directive that extends the HSTS Policy to subdomains.";
|
|
9
|
+
readonly '7.1/1': "Over secure transport, an HSTS Host SHOULD include an STS header field that MUST satisfy the §6.1 grammar, and MUST include only one.";
|
|
10
|
+
readonly '7.1/2': "Establishing a Known HSTS Host MAY be accomplished by returning a valid STS header field over secure transport; a pre-loaded list MAY also be used.";
|
|
11
|
+
readonly '7.1/3': "NOTE: including the STS header field is a SHOULD to accommodate caches and load balancing.";
|
|
12
|
+
readonly '7.2/1': "Over non-secure transport, an HSTS Host SHOULD answer with a permanent redirect whose Location has the https scheme.";
|
|
13
|
+
readonly '7.2/2': "NOTE: the redirect is a SHOULD rather than a MUST because of redirect risks and deployment characteristics.";
|
|
14
|
+
readonly '7.2/3': "An HSTS Host MUST NOT include the STS header field in HTTP responses conveyed over non-secure transport.";
|
|
15
|
+
readonly '9.2/1': "Effective request URIs are compared per RFC 2616 §3.2.3, except that empty path components MUST NOT be treated as equivalent to an absolute path of \"/\".";
|
|
16
|
+
}, {
|
|
17
|
+
readonly 'rfc6797/user-agent-must-enforce-hsts-policy': import("@thymian/core").CoverageEntry<{
|
|
18
|
+
readonly '6.1/1': "The STS header field indicates to a UA that it MUST enforce the HSTS Policy in regards to the host emitting the response.";
|
|
19
|
+
readonly '6.1/2': "All directives MUST appear only once in an STS header field.";
|
|
20
|
+
readonly '6.1/3': "UAs MUST ignore any STS header field containing directives, or other header field value data, that does not conform to the syntax.";
|
|
21
|
+
readonly '6.1/4': "If an STS header field contains directives not recognized by the UA, the UA MUST ignore them and process the recognized ones.";
|
|
22
|
+
readonly '6.1.1/1': "The REQUIRED max-age directive specifies how many seconds the UA regards the host as a Known HSTS Host.";
|
|
23
|
+
readonly '6.1.1/2': "The max-age directive's REQUIRED value is delta-seconds (1*DIGIT), after quoted-string unescaping.";
|
|
24
|
+
readonly '6.1.2/1': "The OPTIONAL includeSubDomains directive is a valueless directive that extends the HSTS Policy to subdomains.";
|
|
25
|
+
readonly '7.1/1': "Over secure transport, an HSTS Host SHOULD include an STS header field that MUST satisfy the §6.1 grammar, and MUST include only one.";
|
|
26
|
+
readonly '7.1/2': "Establishing a Known HSTS Host MAY be accomplished by returning a valid STS header field over secure transport; a pre-loaded list MAY also be used.";
|
|
27
|
+
readonly '7.1/3': "NOTE: including the STS header field is a SHOULD to accommodate caches and load balancing.";
|
|
28
|
+
readonly '7.2/1': "Over non-secure transport, an HSTS Host SHOULD answer with a permanent redirect whose Location has the https scheme.";
|
|
29
|
+
readonly '7.2/2': "NOTE: the redirect is a SHOULD rather than a MUST because of redirect risks and deployment characteristics.";
|
|
30
|
+
readonly '7.2/3': "An HSTS Host MUST NOT include the STS header field in HTTP responses conveyed over non-secure transport.";
|
|
31
|
+
readonly '9.2/1': "Effective request URIs are compared per RFC 2616 §3.2.3, except that empty path components MUST NOT be treated as equivalent to an absolute path of \"/\".";
|
|
32
|
+
}>;
|
|
33
|
+
readonly 'rfc6797/hsts-host-must-not-repeat-sts-directives': import("@thymian/core").CoverageEntry<{
|
|
34
|
+
readonly '6.1/1': "The STS header field indicates to a UA that it MUST enforce the HSTS Policy in regards to the host emitting the response.";
|
|
35
|
+
readonly '6.1/2': "All directives MUST appear only once in an STS header field.";
|
|
36
|
+
readonly '6.1/3': "UAs MUST ignore any STS header field containing directives, or other header field value data, that does not conform to the syntax.";
|
|
37
|
+
readonly '6.1/4': "If an STS header field contains directives not recognized by the UA, the UA MUST ignore them and process the recognized ones.";
|
|
38
|
+
readonly '6.1.1/1': "The REQUIRED max-age directive specifies how many seconds the UA regards the host as a Known HSTS Host.";
|
|
39
|
+
readonly '6.1.1/2': "The max-age directive's REQUIRED value is delta-seconds (1*DIGIT), after quoted-string unescaping.";
|
|
40
|
+
readonly '6.1.2/1': "The OPTIONAL includeSubDomains directive is a valueless directive that extends the HSTS Policy to subdomains.";
|
|
41
|
+
readonly '7.1/1': "Over secure transport, an HSTS Host SHOULD include an STS header field that MUST satisfy the §6.1 grammar, and MUST include only one.";
|
|
42
|
+
readonly '7.1/2': "Establishing a Known HSTS Host MAY be accomplished by returning a valid STS header field over secure transport; a pre-loaded list MAY also be used.";
|
|
43
|
+
readonly '7.1/3': "NOTE: including the STS header field is a SHOULD to accommodate caches and load balancing.";
|
|
44
|
+
readonly '7.2/1': "Over non-secure transport, an HSTS Host SHOULD answer with a permanent redirect whose Location has the https scheme.";
|
|
45
|
+
readonly '7.2/2': "NOTE: the redirect is a SHOULD rather than a MUST because of redirect risks and deployment characteristics.";
|
|
46
|
+
readonly '7.2/3': "An HSTS Host MUST NOT include the STS header field in HTTP responses conveyed over non-secure transport.";
|
|
47
|
+
readonly '9.2/1': "Effective request URIs are compared per RFC 2616 §3.2.3, except that empty path components MUST NOT be treated as equivalent to an absolute path of \"/\".";
|
|
48
|
+
}>;
|
|
49
|
+
readonly 'rfc6797/hsts-host-must-send-sts-header-conforming-to-grammar': import("@thymian/core").CoverageEntry<{
|
|
50
|
+
readonly '6.1/1': "The STS header field indicates to a UA that it MUST enforce the HSTS Policy in regards to the host emitting the response.";
|
|
51
|
+
readonly '6.1/2': "All directives MUST appear only once in an STS header field.";
|
|
52
|
+
readonly '6.1/3': "UAs MUST ignore any STS header field containing directives, or other header field value data, that does not conform to the syntax.";
|
|
53
|
+
readonly '6.1/4': "If an STS header field contains directives not recognized by the UA, the UA MUST ignore them and process the recognized ones.";
|
|
54
|
+
readonly '6.1.1/1': "The REQUIRED max-age directive specifies how many seconds the UA regards the host as a Known HSTS Host.";
|
|
55
|
+
readonly '6.1.1/2': "The max-age directive's REQUIRED value is delta-seconds (1*DIGIT), after quoted-string unescaping.";
|
|
56
|
+
readonly '6.1.2/1': "The OPTIONAL includeSubDomains directive is a valueless directive that extends the HSTS Policy to subdomains.";
|
|
57
|
+
readonly '7.1/1': "Over secure transport, an HSTS Host SHOULD include an STS header field that MUST satisfy the §6.1 grammar, and MUST include only one.";
|
|
58
|
+
readonly '7.1/2': "Establishing a Known HSTS Host MAY be accomplished by returning a valid STS header field over secure transport; a pre-loaded list MAY also be used.";
|
|
59
|
+
readonly '7.1/3': "NOTE: including the STS header field is a SHOULD to accommodate caches and load balancing.";
|
|
60
|
+
readonly '7.2/1': "Over non-secure transport, an HSTS Host SHOULD answer with a permanent redirect whose Location has the https scheme.";
|
|
61
|
+
readonly '7.2/2': "NOTE: the redirect is a SHOULD rather than a MUST because of redirect risks and deployment characteristics.";
|
|
62
|
+
readonly '7.2/3': "An HSTS Host MUST NOT include the STS header field in HTTP responses conveyed over non-secure transport.";
|
|
63
|
+
readonly '9.2/1': "Effective request URIs are compared per RFC 2616 §3.2.3, except that empty path components MUST NOT be treated as equivalent to an absolute path of \"/\".";
|
|
64
|
+
}>;
|
|
65
|
+
readonly 'rfc6797/user-agent-must-ignore-unrecognized-sts-directives': import("@thymian/core").CoverageEntry<{
|
|
66
|
+
readonly '6.1/1': "The STS header field indicates to a UA that it MUST enforce the HSTS Policy in regards to the host emitting the response.";
|
|
67
|
+
readonly '6.1/2': "All directives MUST appear only once in an STS header field.";
|
|
68
|
+
readonly '6.1/3': "UAs MUST ignore any STS header field containing directives, or other header field value data, that does not conform to the syntax.";
|
|
69
|
+
readonly '6.1/4': "If an STS header field contains directives not recognized by the UA, the UA MUST ignore them and process the recognized ones.";
|
|
70
|
+
readonly '6.1.1/1': "The REQUIRED max-age directive specifies how many seconds the UA regards the host as a Known HSTS Host.";
|
|
71
|
+
readonly '6.1.1/2': "The max-age directive's REQUIRED value is delta-seconds (1*DIGIT), after quoted-string unescaping.";
|
|
72
|
+
readonly '6.1.2/1': "The OPTIONAL includeSubDomains directive is a valueless directive that extends the HSTS Policy to subdomains.";
|
|
73
|
+
readonly '7.1/1': "Over secure transport, an HSTS Host SHOULD include an STS header field that MUST satisfy the §6.1 grammar, and MUST include only one.";
|
|
74
|
+
readonly '7.1/2': "Establishing a Known HSTS Host MAY be accomplished by returning a valid STS header field over secure transport; a pre-loaded list MAY also be used.";
|
|
75
|
+
readonly '7.1/3': "NOTE: including the STS header field is a SHOULD to accommodate caches and load balancing.";
|
|
76
|
+
readonly '7.2/1': "Over non-secure transport, an HSTS Host SHOULD answer with a permanent redirect whose Location has the https scheme.";
|
|
77
|
+
readonly '7.2/2': "NOTE: the redirect is a SHOULD rather than a MUST because of redirect risks and deployment characteristics.";
|
|
78
|
+
readonly '7.2/3': "An HSTS Host MUST NOT include the STS header field in HTTP responses conveyed over non-secure transport.";
|
|
79
|
+
readonly '9.2/1': "Effective request URIs are compared per RFC 2616 §3.2.3, except that empty path components MUST NOT be treated as equivalent to an absolute path of \"/\".";
|
|
80
|
+
}>;
|
|
81
|
+
readonly 'rfc6797/hsts-host-must-send-max-age-directive': import("@thymian/core").CoverageEntry<{
|
|
82
|
+
readonly '6.1/1': "The STS header field indicates to a UA that it MUST enforce the HSTS Policy in regards to the host emitting the response.";
|
|
83
|
+
readonly '6.1/2': "All directives MUST appear only once in an STS header field.";
|
|
84
|
+
readonly '6.1/3': "UAs MUST ignore any STS header field containing directives, or other header field value data, that does not conform to the syntax.";
|
|
85
|
+
readonly '6.1/4': "If an STS header field contains directives not recognized by the UA, the UA MUST ignore them and process the recognized ones.";
|
|
86
|
+
readonly '6.1.1/1': "The REQUIRED max-age directive specifies how many seconds the UA regards the host as a Known HSTS Host.";
|
|
87
|
+
readonly '6.1.1/2': "The max-age directive's REQUIRED value is delta-seconds (1*DIGIT), after quoted-string unescaping.";
|
|
88
|
+
readonly '6.1.2/1': "The OPTIONAL includeSubDomains directive is a valueless directive that extends the HSTS Policy to subdomains.";
|
|
89
|
+
readonly '7.1/1': "Over secure transport, an HSTS Host SHOULD include an STS header field that MUST satisfy the §6.1 grammar, and MUST include only one.";
|
|
90
|
+
readonly '7.1/2': "Establishing a Known HSTS Host MAY be accomplished by returning a valid STS header field over secure transport; a pre-loaded list MAY also be used.";
|
|
91
|
+
readonly '7.1/3': "NOTE: including the STS header field is a SHOULD to accommodate caches and load balancing.";
|
|
92
|
+
readonly '7.2/1': "Over non-secure transport, an HSTS Host SHOULD answer with a permanent redirect whose Location has the https scheme.";
|
|
93
|
+
readonly '7.2/2': "NOTE: the redirect is a SHOULD rather than a MUST because of redirect risks and deployment characteristics.";
|
|
94
|
+
readonly '7.2/3': "An HSTS Host MUST NOT include the STS header field in HTTP responses conveyed over non-secure transport.";
|
|
95
|
+
readonly '9.2/1': "Effective request URIs are compared per RFC 2616 §3.2.3, except that empty path components MUST NOT be treated as equivalent to an absolute path of \"/\".";
|
|
96
|
+
}>;
|
|
97
|
+
readonly 'rfc6797/hsts-host-must-send-max-age-as-delta-seconds': import("@thymian/core").CoverageEntry<{
|
|
98
|
+
readonly '6.1/1': "The STS header field indicates to a UA that it MUST enforce the HSTS Policy in regards to the host emitting the response.";
|
|
99
|
+
readonly '6.1/2': "All directives MUST appear only once in an STS header field.";
|
|
100
|
+
readonly '6.1/3': "UAs MUST ignore any STS header field containing directives, or other header field value data, that does not conform to the syntax.";
|
|
101
|
+
readonly '6.1/4': "If an STS header field contains directives not recognized by the UA, the UA MUST ignore them and process the recognized ones.";
|
|
102
|
+
readonly '6.1.1/1': "The REQUIRED max-age directive specifies how many seconds the UA regards the host as a Known HSTS Host.";
|
|
103
|
+
readonly '6.1.1/2': "The max-age directive's REQUIRED value is delta-seconds (1*DIGIT), after quoted-string unescaping.";
|
|
104
|
+
readonly '6.1.2/1': "The OPTIONAL includeSubDomains directive is a valueless directive that extends the HSTS Policy to subdomains.";
|
|
105
|
+
readonly '7.1/1': "Over secure transport, an HSTS Host SHOULD include an STS header field that MUST satisfy the §6.1 grammar, and MUST include only one.";
|
|
106
|
+
readonly '7.1/2': "Establishing a Known HSTS Host MAY be accomplished by returning a valid STS header field over secure transport; a pre-loaded list MAY also be used.";
|
|
107
|
+
readonly '7.1/3': "NOTE: including the STS header field is a SHOULD to accommodate caches and load balancing.";
|
|
108
|
+
readonly '7.2/1': "Over non-secure transport, an HSTS Host SHOULD answer with a permanent redirect whose Location has the https scheme.";
|
|
109
|
+
readonly '7.2/2': "NOTE: the redirect is a SHOULD rather than a MUST because of redirect risks and deployment characteristics.";
|
|
110
|
+
readonly '7.2/3': "An HSTS Host MUST NOT include the STS header field in HTTP responses conveyed over non-secure transport.";
|
|
111
|
+
readonly '9.2/1': "Effective request URIs are compared per RFC 2616 §3.2.3, except that empty path components MUST NOT be treated as equivalent to an absolute path of \"/\".";
|
|
112
|
+
}>;
|
|
113
|
+
readonly 'rfc6797/hsts-host-must-send-include-subdomains-without-value': import("@thymian/core").CoverageEntry<{
|
|
114
|
+
readonly '6.1/1': "The STS header field indicates to a UA that it MUST enforce the HSTS Policy in regards to the host emitting the response.";
|
|
115
|
+
readonly '6.1/2': "All directives MUST appear only once in an STS header field.";
|
|
116
|
+
readonly '6.1/3': "UAs MUST ignore any STS header field containing directives, or other header field value data, that does not conform to the syntax.";
|
|
117
|
+
readonly '6.1/4': "If an STS header field contains directives not recognized by the UA, the UA MUST ignore them and process the recognized ones.";
|
|
118
|
+
readonly '6.1.1/1': "The REQUIRED max-age directive specifies how many seconds the UA regards the host as a Known HSTS Host.";
|
|
119
|
+
readonly '6.1.1/2': "The max-age directive's REQUIRED value is delta-seconds (1*DIGIT), after quoted-string unescaping.";
|
|
120
|
+
readonly '6.1.2/1': "The OPTIONAL includeSubDomains directive is a valueless directive that extends the HSTS Policy to subdomains.";
|
|
121
|
+
readonly '7.1/1': "Over secure transport, an HSTS Host SHOULD include an STS header field that MUST satisfy the §6.1 grammar, and MUST include only one.";
|
|
122
|
+
readonly '7.1/2': "Establishing a Known HSTS Host MAY be accomplished by returning a valid STS header field over secure transport; a pre-loaded list MAY also be used.";
|
|
123
|
+
readonly '7.1/3': "NOTE: including the STS header field is a SHOULD to accommodate caches and load balancing.";
|
|
124
|
+
readonly '7.2/1': "Over non-secure transport, an HSTS Host SHOULD answer with a permanent redirect whose Location has the https scheme.";
|
|
125
|
+
readonly '7.2/2': "NOTE: the redirect is a SHOULD rather than a MUST because of redirect risks and deployment characteristics.";
|
|
126
|
+
readonly '7.2/3': "An HSTS Host MUST NOT include the STS header field in HTTP responses conveyed over non-secure transport.";
|
|
127
|
+
readonly '9.2/1': "Effective request URIs are compared per RFC 2616 §3.2.3, except that empty path components MUST NOT be treated as equivalent to an absolute path of \"/\".";
|
|
128
|
+
}>;
|
|
129
|
+
readonly 'rfc6797/hsts-host-may-assert-include-subdomains': import("@thymian/core").CoverageEntry<{
|
|
130
|
+
readonly '6.1/1': "The STS header field indicates to a UA that it MUST enforce the HSTS Policy in regards to the host emitting the response.";
|
|
131
|
+
readonly '6.1/2': "All directives MUST appear only once in an STS header field.";
|
|
132
|
+
readonly '6.1/3': "UAs MUST ignore any STS header field containing directives, or other header field value data, that does not conform to the syntax.";
|
|
133
|
+
readonly '6.1/4': "If an STS header field contains directives not recognized by the UA, the UA MUST ignore them and process the recognized ones.";
|
|
134
|
+
readonly '6.1.1/1': "The REQUIRED max-age directive specifies how many seconds the UA regards the host as a Known HSTS Host.";
|
|
135
|
+
readonly '6.1.1/2': "The max-age directive's REQUIRED value is delta-seconds (1*DIGIT), after quoted-string unescaping.";
|
|
136
|
+
readonly '6.1.2/1': "The OPTIONAL includeSubDomains directive is a valueless directive that extends the HSTS Policy to subdomains.";
|
|
137
|
+
readonly '7.1/1': "Over secure transport, an HSTS Host SHOULD include an STS header field that MUST satisfy the §6.1 grammar, and MUST include only one.";
|
|
138
|
+
readonly '7.1/2': "Establishing a Known HSTS Host MAY be accomplished by returning a valid STS header field over secure transport; a pre-loaded list MAY also be used.";
|
|
139
|
+
readonly '7.1/3': "NOTE: including the STS header field is a SHOULD to accommodate caches and load balancing.";
|
|
140
|
+
readonly '7.2/1': "Over non-secure transport, an HSTS Host SHOULD answer with a permanent redirect whose Location has the https scheme.";
|
|
141
|
+
readonly '7.2/2': "NOTE: the redirect is a SHOULD rather than a MUST because of redirect risks and deployment characteristics.";
|
|
142
|
+
readonly '7.2/3': "An HSTS Host MUST NOT include the STS header field in HTTP responses conveyed over non-secure transport.";
|
|
143
|
+
readonly '9.2/1': "Effective request URIs are compared per RFC 2616 §3.2.3, except that empty path components MUST NOT be treated as equivalent to an absolute path of \"/\".";
|
|
144
|
+
}>;
|
|
145
|
+
readonly 'rfc6797/hsts-host-must-send-only-one-sts-header': import("@thymian/core").CoverageEntry<{
|
|
146
|
+
readonly '6.1/1': "The STS header field indicates to a UA that it MUST enforce the HSTS Policy in regards to the host emitting the response.";
|
|
147
|
+
readonly '6.1/2': "All directives MUST appear only once in an STS header field.";
|
|
148
|
+
readonly '6.1/3': "UAs MUST ignore any STS header field containing directives, or other header field value data, that does not conform to the syntax.";
|
|
149
|
+
readonly '6.1/4': "If an STS header field contains directives not recognized by the UA, the UA MUST ignore them and process the recognized ones.";
|
|
150
|
+
readonly '6.1.1/1': "The REQUIRED max-age directive specifies how many seconds the UA regards the host as a Known HSTS Host.";
|
|
151
|
+
readonly '6.1.1/2': "The max-age directive's REQUIRED value is delta-seconds (1*DIGIT), after quoted-string unescaping.";
|
|
152
|
+
readonly '6.1.2/1': "The OPTIONAL includeSubDomains directive is a valueless directive that extends the HSTS Policy to subdomains.";
|
|
153
|
+
readonly '7.1/1': "Over secure transport, an HSTS Host SHOULD include an STS header field that MUST satisfy the §6.1 grammar, and MUST include only one.";
|
|
154
|
+
readonly '7.1/2': "Establishing a Known HSTS Host MAY be accomplished by returning a valid STS header field over secure transport; a pre-loaded list MAY also be used.";
|
|
155
|
+
readonly '7.1/3': "NOTE: including the STS header field is a SHOULD to accommodate caches and load balancing.";
|
|
156
|
+
readonly '7.2/1': "Over non-secure transport, an HSTS Host SHOULD answer with a permanent redirect whose Location has the https scheme.";
|
|
157
|
+
readonly '7.2/2': "NOTE: the redirect is a SHOULD rather than a MUST because of redirect risks and deployment characteristics.";
|
|
158
|
+
readonly '7.2/3': "An HSTS Host MUST NOT include the STS header field in HTTP responses conveyed over non-secure transport.";
|
|
159
|
+
readonly '9.2/1': "Effective request URIs are compared per RFC 2616 §3.2.3, except that empty path components MUST NOT be treated as equivalent to an absolute path of \"/\".";
|
|
160
|
+
}>;
|
|
161
|
+
readonly 'rfc6797/server-may-establish-hsts-over-secure-transport': import("@thymian/core").CoverageEntry<{
|
|
162
|
+
readonly '6.1/1': "The STS header field indicates to a UA that it MUST enforce the HSTS Policy in regards to the host emitting the response.";
|
|
163
|
+
readonly '6.1/2': "All directives MUST appear only once in an STS header field.";
|
|
164
|
+
readonly '6.1/3': "UAs MUST ignore any STS header field containing directives, or other header field value data, that does not conform to the syntax.";
|
|
165
|
+
readonly '6.1/4': "If an STS header field contains directives not recognized by the UA, the UA MUST ignore them and process the recognized ones.";
|
|
166
|
+
readonly '6.1.1/1': "The REQUIRED max-age directive specifies how many seconds the UA regards the host as a Known HSTS Host.";
|
|
167
|
+
readonly '6.1.1/2': "The max-age directive's REQUIRED value is delta-seconds (1*DIGIT), after quoted-string unescaping.";
|
|
168
|
+
readonly '6.1.2/1': "The OPTIONAL includeSubDomains directive is a valueless directive that extends the HSTS Policy to subdomains.";
|
|
169
|
+
readonly '7.1/1': "Over secure transport, an HSTS Host SHOULD include an STS header field that MUST satisfy the §6.1 grammar, and MUST include only one.";
|
|
170
|
+
readonly '7.1/2': "Establishing a Known HSTS Host MAY be accomplished by returning a valid STS header field over secure transport; a pre-loaded list MAY also be used.";
|
|
171
|
+
readonly '7.1/3': "NOTE: including the STS header field is a SHOULD to accommodate caches and load balancing.";
|
|
172
|
+
readonly '7.2/1': "Over non-secure transport, an HSTS Host SHOULD answer with a permanent redirect whose Location has the https scheme.";
|
|
173
|
+
readonly '7.2/2': "NOTE: the redirect is a SHOULD rather than a MUST because of redirect risks and deployment characteristics.";
|
|
174
|
+
readonly '7.2/3': "An HSTS Host MUST NOT include the STS header field in HTTP responses conveyed over non-secure transport.";
|
|
175
|
+
readonly '9.2/1': "Effective request URIs are compared per RFC 2616 §3.2.3, except that empty path components MUST NOT be treated as equivalent to an absolute path of \"/\".";
|
|
176
|
+
}>;
|
|
177
|
+
readonly 'rfc6797/sts-header-inclusion-is-should-to-accommodate-caches': import("@thymian/core").CoverageEntry<{
|
|
178
|
+
readonly '6.1/1': "The STS header field indicates to a UA that it MUST enforce the HSTS Policy in regards to the host emitting the response.";
|
|
179
|
+
readonly '6.1/2': "All directives MUST appear only once in an STS header field.";
|
|
180
|
+
readonly '6.1/3': "UAs MUST ignore any STS header field containing directives, or other header field value data, that does not conform to the syntax.";
|
|
181
|
+
readonly '6.1/4': "If an STS header field contains directives not recognized by the UA, the UA MUST ignore them and process the recognized ones.";
|
|
182
|
+
readonly '6.1.1/1': "The REQUIRED max-age directive specifies how many seconds the UA regards the host as a Known HSTS Host.";
|
|
183
|
+
readonly '6.1.1/2': "The max-age directive's REQUIRED value is delta-seconds (1*DIGIT), after quoted-string unescaping.";
|
|
184
|
+
readonly '6.1.2/1': "The OPTIONAL includeSubDomains directive is a valueless directive that extends the HSTS Policy to subdomains.";
|
|
185
|
+
readonly '7.1/1': "Over secure transport, an HSTS Host SHOULD include an STS header field that MUST satisfy the §6.1 grammar, and MUST include only one.";
|
|
186
|
+
readonly '7.1/2': "Establishing a Known HSTS Host MAY be accomplished by returning a valid STS header field over secure transport; a pre-loaded list MAY also be used.";
|
|
187
|
+
readonly '7.1/3': "NOTE: including the STS header field is a SHOULD to accommodate caches and load balancing.";
|
|
188
|
+
readonly '7.2/1': "Over non-secure transport, an HSTS Host SHOULD answer with a permanent redirect whose Location has the https scheme.";
|
|
189
|
+
readonly '7.2/2': "NOTE: the redirect is a SHOULD rather than a MUST because of redirect risks and deployment characteristics.";
|
|
190
|
+
readonly '7.2/3': "An HSTS Host MUST NOT include the STS header field in HTTP responses conveyed over non-secure transport.";
|
|
191
|
+
readonly '9.2/1': "Effective request URIs are compared per RFC 2616 §3.2.3, except that empty path components MUST NOT be treated as equivalent to an absolute path of \"/\".";
|
|
192
|
+
}>;
|
|
193
|
+
readonly 'rfc6797/hsts-host-should-redirect-insecure-requests-to-https': import("@thymian/core").CoverageEntry<{
|
|
194
|
+
readonly '6.1/1': "The STS header field indicates to a UA that it MUST enforce the HSTS Policy in regards to the host emitting the response.";
|
|
195
|
+
readonly '6.1/2': "All directives MUST appear only once in an STS header field.";
|
|
196
|
+
readonly '6.1/3': "UAs MUST ignore any STS header field containing directives, or other header field value data, that does not conform to the syntax.";
|
|
197
|
+
readonly '6.1/4': "If an STS header field contains directives not recognized by the UA, the UA MUST ignore them and process the recognized ones.";
|
|
198
|
+
readonly '6.1.1/1': "The REQUIRED max-age directive specifies how many seconds the UA regards the host as a Known HSTS Host.";
|
|
199
|
+
readonly '6.1.1/2': "The max-age directive's REQUIRED value is delta-seconds (1*DIGIT), after quoted-string unescaping.";
|
|
200
|
+
readonly '6.1.2/1': "The OPTIONAL includeSubDomains directive is a valueless directive that extends the HSTS Policy to subdomains.";
|
|
201
|
+
readonly '7.1/1': "Over secure transport, an HSTS Host SHOULD include an STS header field that MUST satisfy the §6.1 grammar, and MUST include only one.";
|
|
202
|
+
readonly '7.1/2': "Establishing a Known HSTS Host MAY be accomplished by returning a valid STS header field over secure transport; a pre-loaded list MAY also be used.";
|
|
203
|
+
readonly '7.1/3': "NOTE: including the STS header field is a SHOULD to accommodate caches and load balancing.";
|
|
204
|
+
readonly '7.2/1': "Over non-secure transport, an HSTS Host SHOULD answer with a permanent redirect whose Location has the https scheme.";
|
|
205
|
+
readonly '7.2/2': "NOTE: the redirect is a SHOULD rather than a MUST because of redirect risks and deployment characteristics.";
|
|
206
|
+
readonly '7.2/3': "An HSTS Host MUST NOT include the STS header field in HTTP responses conveyed over non-secure transport.";
|
|
207
|
+
readonly '9.2/1': "Effective request URIs are compared per RFC 2616 §3.2.3, except that empty path components MUST NOT be treated as equivalent to an absolute path of \"/\".";
|
|
208
|
+
}>;
|
|
209
|
+
readonly 'rfc6797/https-redirect-is-should-for-deployment-reasons': import("@thymian/core").CoverageEntry<{
|
|
210
|
+
readonly '6.1/1': "The STS header field indicates to a UA that it MUST enforce the HSTS Policy in regards to the host emitting the response.";
|
|
211
|
+
readonly '6.1/2': "All directives MUST appear only once in an STS header field.";
|
|
212
|
+
readonly '6.1/3': "UAs MUST ignore any STS header field containing directives, or other header field value data, that does not conform to the syntax.";
|
|
213
|
+
readonly '6.1/4': "If an STS header field contains directives not recognized by the UA, the UA MUST ignore them and process the recognized ones.";
|
|
214
|
+
readonly '6.1.1/1': "The REQUIRED max-age directive specifies how many seconds the UA regards the host as a Known HSTS Host.";
|
|
215
|
+
readonly '6.1.1/2': "The max-age directive's REQUIRED value is delta-seconds (1*DIGIT), after quoted-string unescaping.";
|
|
216
|
+
readonly '6.1.2/1': "The OPTIONAL includeSubDomains directive is a valueless directive that extends the HSTS Policy to subdomains.";
|
|
217
|
+
readonly '7.1/1': "Over secure transport, an HSTS Host SHOULD include an STS header field that MUST satisfy the §6.1 grammar, and MUST include only one.";
|
|
218
|
+
readonly '7.1/2': "Establishing a Known HSTS Host MAY be accomplished by returning a valid STS header field over secure transport; a pre-loaded list MAY also be used.";
|
|
219
|
+
readonly '7.1/3': "NOTE: including the STS header field is a SHOULD to accommodate caches and load balancing.";
|
|
220
|
+
readonly '7.2/1': "Over non-secure transport, an HSTS Host SHOULD answer with a permanent redirect whose Location has the https scheme.";
|
|
221
|
+
readonly '7.2/2': "NOTE: the redirect is a SHOULD rather than a MUST because of redirect risks and deployment characteristics.";
|
|
222
|
+
readonly '7.2/3': "An HSTS Host MUST NOT include the STS header field in HTTP responses conveyed over non-secure transport.";
|
|
223
|
+
readonly '9.2/1': "Effective request URIs are compared per RFC 2616 §3.2.3, except that empty path components MUST NOT be treated as equivalent to an absolute path of \"/\".";
|
|
224
|
+
}>;
|
|
225
|
+
readonly 'rfc6797/hsts-host-must-not-send-sts-header-over-insecure-transport': import("@thymian/core").CoverageEntry<{
|
|
226
|
+
readonly '6.1/1': "The STS header field indicates to a UA that it MUST enforce the HSTS Policy in regards to the host emitting the response.";
|
|
227
|
+
readonly '6.1/2': "All directives MUST appear only once in an STS header field.";
|
|
228
|
+
readonly '6.1/3': "UAs MUST ignore any STS header field containing directives, or other header field value data, that does not conform to the syntax.";
|
|
229
|
+
readonly '6.1/4': "If an STS header field contains directives not recognized by the UA, the UA MUST ignore them and process the recognized ones.";
|
|
230
|
+
readonly '6.1.1/1': "The REQUIRED max-age directive specifies how many seconds the UA regards the host as a Known HSTS Host.";
|
|
231
|
+
readonly '6.1.1/2': "The max-age directive's REQUIRED value is delta-seconds (1*DIGIT), after quoted-string unescaping.";
|
|
232
|
+
readonly '6.1.2/1': "The OPTIONAL includeSubDomains directive is a valueless directive that extends the HSTS Policy to subdomains.";
|
|
233
|
+
readonly '7.1/1': "Over secure transport, an HSTS Host SHOULD include an STS header field that MUST satisfy the §6.1 grammar, and MUST include only one.";
|
|
234
|
+
readonly '7.1/2': "Establishing a Known HSTS Host MAY be accomplished by returning a valid STS header field over secure transport; a pre-loaded list MAY also be used.";
|
|
235
|
+
readonly '7.1/3': "NOTE: including the STS header field is a SHOULD to accommodate caches and load balancing.";
|
|
236
|
+
readonly '7.2/1': "Over non-secure transport, an HSTS Host SHOULD answer with a permanent redirect whose Location has the https scheme.";
|
|
237
|
+
readonly '7.2/2': "NOTE: the redirect is a SHOULD rather than a MUST because of redirect risks and deployment characteristics.";
|
|
238
|
+
readonly '7.2/3': "An HSTS Host MUST NOT include the STS header field in HTTP responses conveyed over non-secure transport.";
|
|
239
|
+
readonly '9.2/1': "Effective request URIs are compared per RFC 2616 §3.2.3, except that empty path components MUST NOT be treated as equivalent to an absolute path of \"/\".";
|
|
240
|
+
}>;
|
|
241
|
+
readonly 'rfc6797/server-should-send-sts-header-over-secure-transport': import("@thymian/core").CoverageEntry<{
|
|
242
|
+
readonly '6.1/1': "The STS header field indicates to a UA that it MUST enforce the HSTS Policy in regards to the host emitting the response.";
|
|
243
|
+
readonly '6.1/2': "All directives MUST appear only once in an STS header field.";
|
|
244
|
+
readonly '6.1/3': "UAs MUST ignore any STS header field containing directives, or other header field value data, that does not conform to the syntax.";
|
|
245
|
+
readonly '6.1/4': "If an STS header field contains directives not recognized by the UA, the UA MUST ignore them and process the recognized ones.";
|
|
246
|
+
readonly '6.1.1/1': "The REQUIRED max-age directive specifies how many seconds the UA regards the host as a Known HSTS Host.";
|
|
247
|
+
readonly '6.1.1/2': "The max-age directive's REQUIRED value is delta-seconds (1*DIGIT), after quoted-string unescaping.";
|
|
248
|
+
readonly '6.1.2/1': "The OPTIONAL includeSubDomains directive is a valueless directive that extends the HSTS Policy to subdomains.";
|
|
249
|
+
readonly '7.1/1': "Over secure transport, an HSTS Host SHOULD include an STS header field that MUST satisfy the §6.1 grammar, and MUST include only one.";
|
|
250
|
+
readonly '7.1/2': "Establishing a Known HSTS Host MAY be accomplished by returning a valid STS header field over secure transport; a pre-loaded list MAY also be used.";
|
|
251
|
+
readonly '7.1/3': "NOTE: including the STS header field is a SHOULD to accommodate caches and load balancing.";
|
|
252
|
+
readonly '7.2/1': "Over non-secure transport, an HSTS Host SHOULD answer with a permanent redirect whose Location has the https scheme.";
|
|
253
|
+
readonly '7.2/2': "NOTE: the redirect is a SHOULD rather than a MUST because of redirect risks and deployment characteristics.";
|
|
254
|
+
readonly '7.2/3': "An HSTS Host MUST NOT include the STS header field in HTTP responses conveyed over non-secure transport.";
|
|
255
|
+
readonly '9.2/1': "Effective request URIs are compared per RFC 2616 §3.2.3, except that empty path components MUST NOT be treated as equivalent to an absolute path of \"/\".";
|
|
256
|
+
}>;
|
|
257
|
+
readonly 'rfc6797/server-should-redirect-insecure-requests-to-https': import("@thymian/core").CoverageEntry<{
|
|
258
|
+
readonly '6.1/1': "The STS header field indicates to a UA that it MUST enforce the HSTS Policy in regards to the host emitting the response.";
|
|
259
|
+
readonly '6.1/2': "All directives MUST appear only once in an STS header field.";
|
|
260
|
+
readonly '6.1/3': "UAs MUST ignore any STS header field containing directives, or other header field value data, that does not conform to the syntax.";
|
|
261
|
+
readonly '6.1/4': "If an STS header field contains directives not recognized by the UA, the UA MUST ignore them and process the recognized ones.";
|
|
262
|
+
readonly '6.1.1/1': "The REQUIRED max-age directive specifies how many seconds the UA regards the host as a Known HSTS Host.";
|
|
263
|
+
readonly '6.1.1/2': "The max-age directive's REQUIRED value is delta-seconds (1*DIGIT), after quoted-string unescaping.";
|
|
264
|
+
readonly '6.1.2/1': "The OPTIONAL includeSubDomains directive is a valueless directive that extends the HSTS Policy to subdomains.";
|
|
265
|
+
readonly '7.1/1': "Over secure transport, an HSTS Host SHOULD include an STS header field that MUST satisfy the §6.1 grammar, and MUST include only one.";
|
|
266
|
+
readonly '7.1/2': "Establishing a Known HSTS Host MAY be accomplished by returning a valid STS header field over secure transport; a pre-loaded list MAY also be used.";
|
|
267
|
+
readonly '7.1/3': "NOTE: including the STS header field is a SHOULD to accommodate caches and load balancing.";
|
|
268
|
+
readonly '7.2/1': "Over non-secure transport, an HSTS Host SHOULD answer with a permanent redirect whose Location has the https scheme.";
|
|
269
|
+
readonly '7.2/2': "NOTE: the redirect is a SHOULD rather than a MUST because of redirect risks and deployment characteristics.";
|
|
270
|
+
readonly '7.2/3': "An HSTS Host MUST NOT include the STS header field in HTTP responses conveyed over non-secure transport.";
|
|
271
|
+
readonly '9.2/1': "Effective request URIs are compared per RFC 2616 §3.2.3, except that empty path components MUST NOT be treated as equivalent to an absolute path of \"/\".";
|
|
272
|
+
}>;
|
|
273
|
+
readonly 'rfc6797/hsts-host-must-not-treat-empty-path-as-slash-when-comparing-effective-request-uris': import("@thymian/core").CoverageEntry<{
|
|
274
|
+
readonly '6.1/1': "The STS header field indicates to a UA that it MUST enforce the HSTS Policy in regards to the host emitting the response.";
|
|
275
|
+
readonly '6.1/2': "All directives MUST appear only once in an STS header field.";
|
|
276
|
+
readonly '6.1/3': "UAs MUST ignore any STS header field containing directives, or other header field value data, that does not conform to the syntax.";
|
|
277
|
+
readonly '6.1/4': "If an STS header field contains directives not recognized by the UA, the UA MUST ignore them and process the recognized ones.";
|
|
278
|
+
readonly '6.1.1/1': "The REQUIRED max-age directive specifies how many seconds the UA regards the host as a Known HSTS Host.";
|
|
279
|
+
readonly '6.1.1/2': "The max-age directive's REQUIRED value is delta-seconds (1*DIGIT), after quoted-string unescaping.";
|
|
280
|
+
readonly '6.1.2/1': "The OPTIONAL includeSubDomains directive is a valueless directive that extends the HSTS Policy to subdomains.";
|
|
281
|
+
readonly '7.1/1': "Over secure transport, an HSTS Host SHOULD include an STS header field that MUST satisfy the §6.1 grammar, and MUST include only one.";
|
|
282
|
+
readonly '7.1/2': "Establishing a Known HSTS Host MAY be accomplished by returning a valid STS header field over secure transport; a pre-loaded list MAY also be used.";
|
|
283
|
+
readonly '7.1/3': "NOTE: including the STS header field is a SHOULD to accommodate caches and load balancing.";
|
|
284
|
+
readonly '7.2/1': "Over non-secure transport, an HSTS Host SHOULD answer with a permanent redirect whose Location has the https scheme.";
|
|
285
|
+
readonly '7.2/2': "NOTE: the redirect is a SHOULD rather than a MUST because of redirect risks and deployment characteristics.";
|
|
286
|
+
readonly '7.2/3': "An HSTS Host MUST NOT include the STS header field in HTTP responses conveyed over non-secure transport.";
|
|
287
|
+
readonly '9.2/1': "Effective request URIs are compared per RFC 2616 §3.2.3, except that empty path components MUST NOT be treated as equivalent to an absolute path of \"/\".";
|
|
288
|
+
}>;
|
|
289
|
+
}>;
|
|
290
|
+
export default _default;
|
|
291
|
+
//# sourceMappingURL=coverage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"coverage.d.ts","sourceRoot":"","sources":["../src/coverage.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyDA,wBAyHG"}
|