@aws-sdk/client-securityhub 3.363.0 → 3.366.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.
|
@@ -662,8 +662,7 @@ export interface WorkflowUpdate {
|
|
|
662
662
|
/**
|
|
663
663
|
* @public
|
|
664
664
|
* <p>
|
|
665
|
-
* Identifies the finding fields that the automation rule action
|
|
666
|
-
* finding matches the defined criteria.
|
|
665
|
+
* Identifies the finding fields that the automation rule action updates when a finding matches the defined criteria.
|
|
667
666
|
* </p>
|
|
668
667
|
*/
|
|
669
668
|
export interface AutomationRulesFindingFieldsUpdate {
|
|
@@ -677,31 +676,31 @@ export interface AutomationRulesFindingFieldsUpdate {
|
|
|
677
676
|
Severity?: SeverityUpdate;
|
|
678
677
|
/**
|
|
679
678
|
* <p>
|
|
680
|
-
* The rule action
|
|
679
|
+
* The rule action updates the <code>VerificationState</code> field of a finding.
|
|
681
680
|
* </p>
|
|
682
681
|
*/
|
|
683
682
|
VerificationState?: VerificationState | string;
|
|
684
683
|
/**
|
|
685
684
|
* <p>
|
|
686
|
-
* The rule action
|
|
685
|
+
* The rule action updates the <code>Confidence</code> field of a finding.
|
|
687
686
|
* </p>
|
|
688
687
|
*/
|
|
689
688
|
Confidence?: number;
|
|
690
689
|
/**
|
|
691
690
|
* <p>
|
|
692
|
-
* The rule action
|
|
691
|
+
* The rule action updates the <code>Criticality</code> field of a finding.
|
|
693
692
|
* </p>
|
|
694
693
|
*/
|
|
695
694
|
Criticality?: number;
|
|
696
695
|
/**
|
|
697
696
|
* <p>
|
|
698
|
-
* The rule action
|
|
697
|
+
* The rule action updates the <code>Types</code> field of a finding.
|
|
699
698
|
* </p>
|
|
700
699
|
*/
|
|
701
700
|
Types?: string[];
|
|
702
701
|
/**
|
|
703
702
|
* <p>
|
|
704
|
-
* The rule action
|
|
703
|
+
* The rule action updates the <code>UserDefinedFields</code> field of a finding.
|
|
705
704
|
* </p>
|
|
706
705
|
*/
|
|
707
706
|
UserDefinedFields?: Record<string, string>;
|
|
@@ -711,7 +710,7 @@ export interface AutomationRulesFindingFieldsUpdate {
|
|
|
711
710
|
Workflow?: WorkflowUpdate;
|
|
712
711
|
/**
|
|
713
712
|
* <p>
|
|
714
|
-
*
|
|
713
|
+
* The rule action updates the <code>RelatedFindings</code> field of a finding.
|
|
715
714
|
* </p>
|
|
716
715
|
*/
|
|
717
716
|
RelatedFindings?: RelatedFinding[];
|
|
@@ -738,8 +737,7 @@ export interface AutomationRulesAction {
|
|
|
738
737
|
/**
|
|
739
738
|
* <p>
|
|
740
739
|
* Specifies that the rule action should update the <code>Types</code> finding field. The <code>Types</code>
|
|
741
|
-
* finding field
|
|
742
|
-
* namespace/category/classifier that classify a finding. For more information, see
|
|
740
|
+
* finding field classifies findings in the format of namespace/category/classifier. For more information, see
|
|
743
741
|
* <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-findings-format-type-taxonomy.html">Types taxonomy for ASFF</a> in
|
|
744
742
|
* the <i>Security Hub User Guide</i>.
|
|
745
743
|
* </p>
|
|
@@ -1415,7 +1413,7 @@ export interface AutomationRulesConfig {
|
|
|
1415
1413
|
/**
|
|
1416
1414
|
* <p>
|
|
1417
1415
|
* Whether the rule is active after it is created. If
|
|
1418
|
-
* this parameter is equal to <code
|
|
1416
|
+
* this parameter is equal to <code>ENABLED</code>, Security Hub starts applying the rule to findings
|
|
1419
1417
|
* and finding updates after the rule is created.
|
|
1420
1418
|
* </p>
|
|
1421
1419
|
*/
|
|
@@ -1442,15 +1440,16 @@ export interface AutomationRulesConfig {
|
|
|
1442
1440
|
* <p>Specifies whether a rule is the last to be applied with respect to a finding that matches the rule criteria. This is useful
|
|
1443
1441
|
* when a finding matches the criteria for multiple rules, and each rule has different actions. If the value of this
|
|
1444
1442
|
* field is set to <code>true</code> for a rule, Security Hub applies the rule action to a finding that matches
|
|
1445
|
-
* the rule criteria and
|
|
1443
|
+
* the rule criteria and doesn't evaluate other rules for the finding.
|
|
1446
1444
|
The default value of this field is <code>false</code>.
|
|
1447
1445
|
* </p>
|
|
1448
1446
|
*/
|
|
1449
1447
|
IsTerminal?: boolean;
|
|
1450
1448
|
/**
|
|
1451
1449
|
* <p>
|
|
1452
|
-
* A set of <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-findings-format.html">Amazon Web Services
|
|
1453
|
-
*
|
|
1450
|
+
* A set of <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-findings-format.html">Amazon Web Services
|
|
1451
|
+
* Security Finding Format</a> finding field attributes and corresponding expected values that
|
|
1452
|
+
* Security Hub uses to filter findings. If a rule is enabled and a finding matches the conditions specified in
|
|
1454
1453
|
* this parameter, Security Hub applies the rule action to the finding.
|
|
1455
1454
|
* </p>
|
|
1456
1455
|
*/
|
|
@@ -1504,9 +1503,11 @@ export interface AutomationRulesMetadata {
|
|
|
1504
1503
|
/**
|
|
1505
1504
|
* <p>
|
|
1506
1505
|
* Whether the rule is active after it is created. If
|
|
1507
|
-
* this parameter is equal to <code>ENABLED</code>, Security Hub
|
|
1506
|
+
* this parameter is equal to <code>ENABLED</code>, Security Hub starts applying the rule to findings
|
|
1508
1507
|
* and finding updates after the rule is created. To change the value of this
|
|
1509
|
-
* parameter after creating a rule, use <
|
|
1508
|
+
* parameter after creating a rule, use <a href="https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_BatchUpdateAutomationRules.html">
|
|
1509
|
+
* <code>BatchUpdateAutomationRules</code>
|
|
1510
|
+
* </a>.
|
|
1510
1511
|
* </p>
|
|
1511
1512
|
*/
|
|
1512
1513
|
RuleStatus?: RuleStatus | string;
|
|
@@ -1533,7 +1534,7 @@ export interface AutomationRulesMetadata {
|
|
|
1533
1534
|
* Specifies whether a rule is the last to be applied with respect to a finding that matches the rule criteria. This is useful
|
|
1534
1535
|
* when a finding matches the criteria for multiple rules, and each rule has different actions. If the value of this
|
|
1535
1536
|
* field is set to <code>true</code> for a rule, Security Hub applies the rule action to a finding that matches
|
|
1536
|
-
* the rule criteria and
|
|
1537
|
+
* the rule criteria and doesn't evaluate other rules for the finding.
|
|
1537
1538
|
The default value of this field is <code>false</code>.
|
|
1538
1539
|
* </p>
|
|
1539
1540
|
*/
|
|
@@ -324,9 +324,7 @@ export interface SecurityControl {
|
|
|
324
324
|
SeverityRating: SeverityRating | string | undefined;
|
|
325
325
|
/**
|
|
326
326
|
* <p>
|
|
327
|
-
* The status of a security control
|
|
328
|
-
* status is determined, see <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/controls-overall-status.html">Determining the overall status of a control from its findings</a> in the
|
|
329
|
-
* <i>Security Hub User Guide</i>.
|
|
327
|
+
* The enablement status of a security control in a specific standard.
|
|
330
328
|
* </p>
|
|
331
329
|
*/
|
|
332
330
|
SecurityControlStatus: ControlStatus | string | undefined;
|
|
@@ -595,9 +593,11 @@ export interface UpdateAutomationRulesRequestItem {
|
|
|
595
593
|
/**
|
|
596
594
|
* <p>
|
|
597
595
|
* Whether the rule is active after it is created. If
|
|
598
|
-
* this parameter is equal to <code>ENABLED</code>, Security Hub
|
|
596
|
+
* this parameter is equal to <code>ENABLED</code>, Security Hub starts applying the rule to findings
|
|
599
597
|
* and finding updates after the rule is created. To change the value of this
|
|
600
|
-
* parameter after creating a rule, use <
|
|
598
|
+
* parameter after creating a rule, use <a href="https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_BatchUpdateAutomationRules.html">
|
|
599
|
+
* <code>BatchUpdateAutomationRules</code>
|
|
600
|
+
* </a>.
|
|
601
601
|
* </p>
|
|
602
602
|
*/
|
|
603
603
|
RuleStatus?: RuleStatus | string;
|
|
@@ -623,7 +623,7 @@ export interface UpdateAutomationRulesRequestItem {
|
|
|
623
623
|
* <p>Specifies whether a rule is the last to be applied with respect to a finding that matches the rule criteria. This is useful
|
|
624
624
|
* when a finding matches the criteria for multiple rules, and each rule has different actions. If the value of this
|
|
625
625
|
* field is set to <code>true</code> for a rule, Security Hub applies the rule action to a finding that matches
|
|
626
|
-
* the rule criteria and
|
|
626
|
+
* the rule criteria and doesn't evaluate other rules for the finding.
|
|
627
627
|
The default value of this field is <code>false</code>.
|
|
628
628
|
* </p>
|
|
629
629
|
*/
|
|
@@ -631,7 +631,7 @@ export interface UpdateAutomationRulesRequestItem {
|
|
|
631
631
|
/**
|
|
632
632
|
* <p>
|
|
633
633
|
* A set of ASFF finding field attributes and corresponding expected values that
|
|
634
|
-
* Security Hub uses to filter findings. If a finding matches the conditions specified in
|
|
634
|
+
* Security Hub uses to filter findings. If a rule is enabled and a finding matches the conditions specified in
|
|
635
635
|
* this parameter, Security Hub applies the rule action to the finding.
|
|
636
636
|
* </p>
|
|
637
637
|
*/
|
|
@@ -1002,9 +1002,11 @@ export interface CreateAutomationRuleRequest {
|
|
|
1002
1002
|
/**
|
|
1003
1003
|
* <p>
|
|
1004
1004
|
* Whether the rule is active after it is created. If
|
|
1005
|
-
* this parameter is equal to <code>
|
|
1005
|
+
* this parameter is equal to <code>ENABLED</code>, Security Hub starts applying the rule to findings
|
|
1006
1006
|
* and finding updates after the rule is created. To change the value of this
|
|
1007
|
-
* parameter after creating a rule, use <
|
|
1007
|
+
* parameter after creating a rule, use <a href="https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_BatchUpdateAutomationRules.html">
|
|
1008
|
+
* <code>BatchUpdateAutomationRules</code>
|
|
1009
|
+
* </a>.
|
|
1008
1010
|
* </p>
|
|
1009
1011
|
*/
|
|
1010
1012
|
RuleStatus?: RuleStatus | string;
|
|
@@ -1030,14 +1032,14 @@ export interface CreateAutomationRuleRequest {
|
|
|
1030
1032
|
* <p>Specifies whether a rule is the last to be applied with respect to a finding that matches the rule criteria. This is useful when a finding
|
|
1031
1033
|
* matches the criteria for multiple rules, and each rule has different actions. If the value of this field is
|
|
1032
1034
|
* set to <code>true</code> for a rule, Security Hub applies the rule action to a finding that matches
|
|
1033
|
-
* the rule criteria and
|
|
1035
|
+
* the rule criteria and doesn't evaluate other rules for the finding. The default value of this field is <code>false</code>.
|
|
1034
1036
|
* </p>
|
|
1035
1037
|
*/
|
|
1036
1038
|
IsTerminal?: boolean;
|
|
1037
1039
|
/**
|
|
1038
1040
|
* <p>
|
|
1039
1041
|
* A set of ASFF finding field attributes and corresponding expected values that
|
|
1040
|
-
* Security Hub uses to filter findings. If a finding matches the conditions specified in
|
|
1042
|
+
* Security Hub uses to filter findings. If a rule is enabled and a finding matches the conditions specified in
|
|
1041
1043
|
* this parameter, Security Hub applies the rule action to the finding.
|
|
1042
1044
|
* </p>
|
|
1043
1045
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-securityhub",
|
|
3
3
|
"description": "AWS SDK for JavaScript Securityhub Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.366.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|