@arrowsphere/api-client 3.57.0 → 3.57.1
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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
4
4
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
5
5
|
|
|
6
|
+
## [3.57.1] - 2023-10-13
|
|
7
|
+
|
|
8
|
+
### Changed
|
|
9
|
+
- Fixing the missing pillar in the wellArchitected ressources endpoint
|
|
10
|
+
|
|
6
11
|
|
|
7
12
|
## [3.57.0] - 2023-10-10
|
|
8
13
|
|
|
@@ -8,7 +8,7 @@ export declare class WellArchitectedStandardsClient extends AbstractRestfulClien
|
|
|
8
8
|
* The base path of the API
|
|
9
9
|
*/
|
|
10
10
|
protected basePath: string;
|
|
11
|
-
listSecurityStandardsWithAccountReference(subscriptionReference: string, parameters: Parameters | undefined, accountReference: string): Promise<GetResult<Standards>>;
|
|
12
|
-
listSecurityChecksWithAccountReference(subscriptionReference: string, standardReference: string, accountReference: string, parameters
|
|
13
|
-
listSecurityResourcesWithAccountReference(subscriptionReference: string, standardReference: string, checkReference: string, accountReference: string, parameters?: Parameters): Promise<GetResult<Resources>>;
|
|
11
|
+
listSecurityStandardsWithAccountReference(subscriptionReference: string, parameters: Parameters | undefined, accountReference: string, pillar: string): Promise<GetResult<Standards>>;
|
|
12
|
+
listSecurityChecksWithAccountReference(subscriptionReference: string, standardReference: string, accountReference: string, parameters: Parameters | undefined, pillar: string): Promise<GetResult<Checks>>;
|
|
13
|
+
listSecurityResourcesWithAccountReference(subscriptionReference: string, standardReference: string, checkReference: string, accountReference: string, pillar: string, parameters?: Parameters): Promise<GetResult<Resources>>;
|
|
14
14
|
}
|
|
@@ -14,16 +14,16 @@ class WellArchitectedStandardsClient extends abstractRestfulClient_1.AbstractRes
|
|
|
14
14
|
*/
|
|
15
15
|
this.basePath = '/wellArchitected';
|
|
16
16
|
}
|
|
17
|
-
async listSecurityStandardsWithAccountReference(subscriptionReference, parameters = {}, accountReference) {
|
|
18
|
-
this.path = `/${subscriptionReference}/accounts/${accountReference}/standards`;
|
|
17
|
+
async listSecurityStandardsWithAccountReference(subscriptionReference, parameters = {}, accountReference, pillar) {
|
|
18
|
+
this.path = `/${subscriptionReference}/${pillar}/accounts/${accountReference}/standards`;
|
|
19
19
|
return new getResult_1.GetResult(standards_1.Standards, await this.get(parameters));
|
|
20
20
|
}
|
|
21
|
-
async listSecurityChecksWithAccountReference(subscriptionReference, standardReference, accountReference, parameters = {}) {
|
|
22
|
-
this.path = `/${subscriptionReference}/accounts/${accountReference}/standards/${standardReference}/checks`;
|
|
21
|
+
async listSecurityChecksWithAccountReference(subscriptionReference, standardReference, accountReference, parameters = {}, pillar) {
|
|
22
|
+
this.path = `/${subscriptionReference}/${pillar}/accounts/${accountReference}/standards/${standardReference}/checks`;
|
|
23
23
|
return new getResult_1.GetResult(checks_1.Checks, await this.get(parameters));
|
|
24
24
|
}
|
|
25
|
-
async listSecurityResourcesWithAccountReference(subscriptionReference, standardReference, checkReference, accountReference, parameters = {}) {
|
|
26
|
-
this.path = `/${subscriptionReference}/accounts/${accountReference}/standards/${standardReference}/checks/${checkReference}/resources`;
|
|
25
|
+
async listSecurityResourcesWithAccountReference(subscriptionReference, standardReference, checkReference, accountReference, pillar, parameters = {}) {
|
|
26
|
+
this.path = `/${subscriptionReference}/${pillar}/accounts/${accountReference}/standards/${standardReference}/checks/${checkReference}/resources`;
|
|
27
27
|
return new getResult_1.GetResult(resources_1.Resources, await this.get(parameters));
|
|
28
28
|
}
|
|
29
29
|
}
|
package/package.json
CHANGED