netherframe.lint.hashicorp.aws 0.2.0__tar.gz
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.
- netherframe_lint_hashicorp_aws-0.2.0/LICENSE +21 -0
- netherframe_lint_hashicorp_aws-0.2.0/PKG-INFO +76 -0
- netherframe_lint_hashicorp_aws-0.2.0/README.md +64 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/__init__.py +7 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/attribute_data.py +12981 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/aws.py +48 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/catalogue.py +64 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/checks.py +223 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/configured.py +53 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/eks_support.py +90 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/formats.py +484 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/naming.py +70 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/platform_facts.py +242 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/policy_data.py +247 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/policy_functions.py +1016 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/prefixes.py +21 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/py.typed +0 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema.py +2494 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_00.py +1009 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_01.py +1004 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_02.py +1046 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_03.py +1006 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_04.py +1007 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_05.py +1014 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_06.py +1011 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_07.py +1014 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_08.py +1162 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_09.py +1242 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_10.py +1124 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_11.py +1165 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_12.py +1068 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_13.py +1072 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_14.py +1071 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_15.py +1145 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_16.py +1318 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_17.py +1301 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_18.py +1021 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_19.py +1014 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_20.py +1272 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_21.py +1195 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_22.py +1023 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_23.py +1175 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_24.py +1243 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_25.py +1123 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_26.py +1192 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_27.py +1443 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_28.py +1401 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_29.py +1331 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_30.py +1695 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_31.py +1564 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/python_schema_32.py +402 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/schema.py +45 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/schema_model.py +271 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/security_policies.py +295 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/service_requirements.py +129 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/tags.py +56 -0
- netherframe_lint_hashicorp_aws-0.2.0/netherframe/lint/hashicorp/aws/values.py +142 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/__init__.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/attribute_data.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/aws.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/catalogue.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/checks.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/configured.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/eks_support.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/formats.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/naming.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/platform_facts.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/policy_data.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/policy_functions.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/prefixes.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/py.typed +0 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_00.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_01.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_02.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_03.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_04.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_05.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_06.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_07.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_08.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_09.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_10.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_11.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_12.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_13.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_14.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_15.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_16.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_17.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_18.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_19.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_20.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_21.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_22.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_23.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_24.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_25.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_26.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_27.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_28.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_29.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_30.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_31.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/python_schema_32.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/schema.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/schema_model.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/security_policies.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/service_requirements.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/tags.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/nf/lint/hashicorp/aws/values.py +4 -0
- netherframe_lint_hashicorp_aws-0.2.0/pyproject.toml +41 -0
- netherframe_lint_hashicorp_aws-0.2.0/pyproject.toml.orig +31 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Netherframe
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: netherframe.lint.hashicorp.aws
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: Netherframe lint rules and schemas for the HashiCorp AWS provider
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
License-File: LICENSE
|
|
7
|
+
Requires-Dist: netherframe-core>=0.9.0
|
|
8
|
+
Requires-Python: >=3.14
|
|
9
|
+
Project-URL: Homepage, https://netherframe.arsenal.sh
|
|
10
|
+
Project-URL: Repository, https://github.com/arsenal-sh/netherframe
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
|
|
13
|
+
# NF checks for the HashiCorp AWS provider
|
|
14
|
+
|
|
15
|
+
`netherframe.lint.hashicorp.aws` is an MIT-licensed Netherframe lint pack for
|
|
16
|
+
`hashicorp/aws`. It registers the `hashicorp.aws` plugin with `nf lint`.
|
|
17
|
+
|
|
18
|
+
```python
|
|
19
|
+
from nf.lint.hashicorp.aws import lint_aws_app
|
|
20
|
+
|
|
21
|
+
report = lint_aws_app(app)
|
|
22
|
+
report.assert_valid()
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
The catalogue contains **4,354 default checks**: 1,899 policy/argument checks and
|
|
26
|
+
2,455 structural schemas. Nine additional checks require explicit opt-in with
|
|
27
|
+
`aws_rules(include_disabled=True)`. Public `NF_AWS_*` IDs, resource scopes and
|
|
28
|
+
default settings are pinned in `tests/fixtures/nf_coverage.csv`. Implementations
|
|
29
|
+
follow current service requirements; the contract preserves coverage rather than
|
|
30
|
+
historical pass/fail edge cases.
|
|
31
|
+
|
|
32
|
+
Requirements execute as native Python predicates and resource/graph policies.
|
|
33
|
+
Field checks combine API formats, bounds and enum values with NF policy settings.
|
|
34
|
+
Formats use Python character, identifier and structure validators.
|
|
35
|
+
Structural schemas describe the provider's public configuration interface.
|
|
36
|
+
Structural facts are pinned to AWS provider 6.73.0; they include types, required/computed flags, nesting and cardinality.
|
|
37
|
+
They contain no provider implementation code or documentation text. Linting does
|
|
38
|
+
not start providers, configure credentials, read state, query AWS or load JSON
|
|
39
|
+
assets. Structural checks do not cover every provider custom validator.
|
|
40
|
+
|
|
41
|
+
`aws_rules(sources=("native",))` selects policies/argument checks;
|
|
42
|
+
`sources=("schema",)` selects structural checks. `aws_inventory()["rules"]`
|
|
43
|
+
contains one NF requirement per row, with its resource scopes and default setting.
|
|
44
|
+
The catalogue has no scanner aliases, source-family selectors or compliance-pack
|
|
45
|
+
inventories. These reporting/selection interfaces replace the previous import
|
|
46
|
+
interfaces; public NF rule IDs remain stable.
|
|
47
|
+
|
|
48
|
+
`lint_tag_policy(..., required_tags=..., provider_config=...)` checks an explicit
|
|
49
|
+
operator policy, including provider default tags. `bucket_prefix_rule(prefix)`
|
|
50
|
+
provides an optional naming policy. Neither helper invents organizational naming
|
|
51
|
+
or tag requirements.
|
|
52
|
+
|
|
53
|
+
Resource policies follow AWS service and provider configuration requirements.
|
|
54
|
+
Known violations take precedence over unresolved siblings. Only exact references
|
|
55
|
+
establish managed graph relationships; external IDs, transformed references and
|
|
56
|
+
data sources cannot prove them. IAM analysis handles supported static policy
|
|
57
|
+
forms conservatively. Static checks do not replace service-side authorization,
|
|
58
|
+
regional availability checks, aggregate quotas or live security assessments.
|
|
59
|
+
EKS and Lambda support calendars defer when stale or when a future runtime/version
|
|
60
|
+
is unknown. Calendar dates must be refreshed from the AWS service documentation.
|
|
61
|
+
|
|
62
|
+
Maintain requirements directly in `attribute_data.py`, `policy_functions.py`,
|
|
63
|
+
`security_policies.py`, `formats.py`, `service_requirements.py` and `naming.py`. Update the
|
|
64
|
+
coverage contract only for deliberate changes to public requirements. Refresh
|
|
65
|
+
provider interface facts with an offline schema export:
|
|
66
|
+
|
|
67
|
+
```sh
|
|
68
|
+
uv run python tools/generate_schema.py /tmp/aws-schema.json --version 6.73.0 --provider-binary /path/to/terraform-provider-aws
|
|
69
|
+
uv run python ../../tools/scripts/generate_nf_alias_shims.py
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
The schema compiler discards documentation and retains only interface facts.
|
|
73
|
+
No scanner definitions, scanner import tools, source snapshots, replay fixtures,
|
|
74
|
+
third-party license files or attribution inventories are distributed in this
|
|
75
|
+
package. See [LICENSE](LICENSE) for the MIT terms. Dependency distributions retain
|
|
76
|
+
their own licenses.
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# NF checks for the HashiCorp AWS provider
|
|
2
|
+
|
|
3
|
+
`netherframe.lint.hashicorp.aws` is an MIT-licensed Netherframe lint pack for
|
|
4
|
+
`hashicorp/aws`. It registers the `hashicorp.aws` plugin with `nf lint`.
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
from nf.lint.hashicorp.aws import lint_aws_app
|
|
8
|
+
|
|
9
|
+
report = lint_aws_app(app)
|
|
10
|
+
report.assert_valid()
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
The catalogue contains **4,354 default checks**: 1,899 policy/argument checks and
|
|
14
|
+
2,455 structural schemas. Nine additional checks require explicit opt-in with
|
|
15
|
+
`aws_rules(include_disabled=True)`. Public `NF_AWS_*` IDs, resource scopes and
|
|
16
|
+
default settings are pinned in `tests/fixtures/nf_coverage.csv`. Implementations
|
|
17
|
+
follow current service requirements; the contract preserves coverage rather than
|
|
18
|
+
historical pass/fail edge cases.
|
|
19
|
+
|
|
20
|
+
Requirements execute as native Python predicates and resource/graph policies.
|
|
21
|
+
Field checks combine API formats, bounds and enum values with NF policy settings.
|
|
22
|
+
Formats use Python character, identifier and structure validators.
|
|
23
|
+
Structural schemas describe the provider's public configuration interface.
|
|
24
|
+
Structural facts are pinned to AWS provider 6.73.0; they include types, required/computed flags, nesting and cardinality.
|
|
25
|
+
They contain no provider implementation code or documentation text. Linting does
|
|
26
|
+
not start providers, configure credentials, read state, query AWS or load JSON
|
|
27
|
+
assets. Structural checks do not cover every provider custom validator.
|
|
28
|
+
|
|
29
|
+
`aws_rules(sources=("native",))` selects policies/argument checks;
|
|
30
|
+
`sources=("schema",)` selects structural checks. `aws_inventory()["rules"]`
|
|
31
|
+
contains one NF requirement per row, with its resource scopes and default setting.
|
|
32
|
+
The catalogue has no scanner aliases, source-family selectors or compliance-pack
|
|
33
|
+
inventories. These reporting/selection interfaces replace the previous import
|
|
34
|
+
interfaces; public NF rule IDs remain stable.
|
|
35
|
+
|
|
36
|
+
`lint_tag_policy(..., required_tags=..., provider_config=...)` checks an explicit
|
|
37
|
+
operator policy, including provider default tags. `bucket_prefix_rule(prefix)`
|
|
38
|
+
provides an optional naming policy. Neither helper invents organizational naming
|
|
39
|
+
or tag requirements.
|
|
40
|
+
|
|
41
|
+
Resource policies follow AWS service and provider configuration requirements.
|
|
42
|
+
Known violations take precedence over unresolved siblings. Only exact references
|
|
43
|
+
establish managed graph relationships; external IDs, transformed references and
|
|
44
|
+
data sources cannot prove them. IAM analysis handles supported static policy
|
|
45
|
+
forms conservatively. Static checks do not replace service-side authorization,
|
|
46
|
+
regional availability checks, aggregate quotas or live security assessments.
|
|
47
|
+
EKS and Lambda support calendars defer when stale or when a future runtime/version
|
|
48
|
+
is unknown. Calendar dates must be refreshed from the AWS service documentation.
|
|
49
|
+
|
|
50
|
+
Maintain requirements directly in `attribute_data.py`, `policy_functions.py`,
|
|
51
|
+
`security_policies.py`, `formats.py`, `service_requirements.py` and `naming.py`. Update the
|
|
52
|
+
coverage contract only for deliberate changes to public requirements. Refresh
|
|
53
|
+
provider interface facts with an offline schema export:
|
|
54
|
+
|
|
55
|
+
```sh
|
|
56
|
+
uv run python tools/generate_schema.py /tmp/aws-schema.json --version 6.73.0 --provider-binary /path/to/terraform-provider-aws
|
|
57
|
+
uv run python ../../tools/scripts/generate_nf_alias_shims.py
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
The schema compiler discards documentation and retains only interface facts.
|
|
61
|
+
No scanner definitions, scanner import tools, source snapshots, replay fixtures,
|
|
62
|
+
third-party license files or attribution inventories are distributed in this
|
|
63
|
+
package. See [LICENSE](LICENSE) for the MIT terms. Dependency distributions retain
|
|
64
|
+
their own licenses.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"""MIT-licensed NF checks for the HashiCorp AWS provider."""
|
|
2
|
+
|
|
3
|
+
from .aws import DEFAULT_SOURCES, aws_inventory, aws_rules, lint_aws_app, rule_pack
|
|
4
|
+
from .prefixes import bucket_prefix_rule
|
|
5
|
+
from .tags import lint_tag_policy
|
|
6
|
+
|
|
7
|
+
__all__ = ["DEFAULT_SOURCES", "aws_inventory", "aws_rules", "bucket_prefix_rule", "lint_aws_app", "lint_tag_policy", "rule_pack"]
|