@candidpartners/snitch-types
Advanced tools
Comparing version 3.0.0 to 3.1.0
@@ -7,2 +7,7 @@ # Changelog | ||
## [3.1.0] - 2021-08-23 | ||
### Added: | ||
- Updated expressions to allow an array of ITerraformConfigExpression | ||
- Added pathBFS to the ITerraformGraph interface | ||
## [3.0.0] - 2021-06-28 | ||
@@ -16,3 +21,3 @@ ### Added: | ||
### Added: | ||
- terraform-plan: Update planned_values to support optional resources as configurations which only use modules do not create | ||
- terraform-plan: Update planned_values to support optional resources as configurations which only use modules do not create | ||
planned_values resources. | ||
@@ -148,3 +153,3 @@ | ||
- IIAMPolicy - isLimitedToKnownAccounts | ||
- IStatistics - conditionallyCompliantResourceCount | ||
- IStatistics - conditionallyCompliantResourceCount | ||
- TSnitchConfigMetadata - silent property used to silence logging output | ||
@@ -154,3 +159,3 @@ | ||
### Added: | ||
- providers/aws/index.ts - Implemented the following interfaces and types to support complex AWS IAM Policy Statement | ||
- providers/aws/index.ts - Implemented the following interfaces and types to support complex AWS IAM Policy Statement | ||
conditions and principals: | ||
@@ -170,3 +175,3 @@ - `ICondition` | ||
* undefined - Resource-based policy wildcard (*) anonymous (public) principal specifying all users or public access. | ||
- rule-results.ts - Implemented the following interfaces to facilitate working with Matter Compliance CLI rule evaluation | ||
- rule-results.ts - Implemented the following interfaces to facilitate working with Matter Compliance CLI rule evaluation | ||
results (Livecheck and Static): | ||
@@ -182,6 +187,6 @@ - `ICliResponse` - Matter CLI command interface exit code and user message. | ||
### Changed: | ||
- `IAMPolicyActionParams` - refactored principal to be optional string | IPrincipal union type to support principal type and | ||
- `IAMPolicyActionParams` - refactored principal to be optional string | IPrincipal union type to support principal type and | ||
one or more identifiers and align with [AWS IAM JSON policy Principal](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html). | ||
- `IPolicyStatement` | ||
- `Condition` - refactored to be optional ICondition to support complex type safe conditions aligned with | ||
- `Condition` - refactored to be optional ICondition to support complex type safe conditions aligned with | ||
[AWS IAM JSON policy Condition](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition.html). | ||
@@ -197,3 +202,3 @@ - `Principal` - refactored to be optional string | IPrincipal union type to support principal type and one or more identifiers. | ||
com/IAM/latest/UserGuide/reference_policies_elements_sid.html). | ||
- `ISnitchReporter` - expanded reportResults to enable optional reporting for rule statistics, scan results, | ||
- `ISnitchReporter` - expanded reportResults to enable optional reporting for rule statistics, scan results, | ||
scan statistics and messages. | ||
@@ -237,3 +242,3 @@ - Moved the following interfaces from snitch-core to snitch-types: | ||
- Removed `resource` from `ITerraformPlanResource`, we want consumers to use `resource.get` and `resource.getUnknown`. | ||
## [2.9.2] - 2021-04-27 | ||
@@ -240,0 +245,0 @@ ### Added: |
@@ -34,2 +34,3 @@ /** | ||
getChildrenOfType(node: string, type: string): string[]; | ||
pathBFS(start: string, end: string): string[]; | ||
} |
@@ -59,3 +59,3 @@ /** | ||
*/ | ||
[name: string]: ITerraformConfigExpression; | ||
[name: string]: ITerraformConfigExpression | ITerraformConfigExpression[]; | ||
} | ||
@@ -62,0 +62,0 @@ /** |
@@ -23,5 +23,5 @@ { | ||
"types": "./lib/types/index.d.ts", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"scripts": { | ||
"audit:ci": "audit-ci --moderate", | ||
"audit:ci": "audit-ci --moderate --config audit-ci.json", | ||
"build": "npm run build:esm && npm run build:cjs", | ||
@@ -28,0 +28,0 @@ "build:cjs": "NODE_ENV=${npm_config_node_env:-development} NODE_OPTIONS=--max-old-space-size=2048 tsc -p tsconfig-cjs.json", |
135595
2415