@aws-sdk/client-securityhub 3.916.0 → 3.918.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/dist-cjs/endpoint/ruleset.js +1 -1
- package/dist-cjs/index.js +116 -53
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_2.js +76 -8
- package/dist-es/models/models_3.js +35 -46
- package/dist-es/protocols/Aws_restJson1.js +8 -3
- package/dist-types/commands/BatchUpdateFindingsV2Command.d.ts +1 -1
- package/dist-types/commands/CreateAggregatorV2Command.d.ts +1 -1
- package/dist-types/commands/CreateAutomationRuleV2Command.d.ts +81 -6
- package/dist-types/commands/DeleteAggregatorV2Command.d.ts +1 -1
- package/dist-types/commands/DeleteAutomationRuleV2Command.d.ts +1 -1
- package/dist-types/commands/DescribeProductsV2Command.d.ts +1 -1
- package/dist-types/commands/DescribeSecurityHubV2Command.d.ts +1 -1
- package/dist-types/commands/DisableSecurityHubV2Command.d.ts +1 -1
- package/dist-types/commands/EnableSecurityHubV2Command.d.ts +1 -1
- package/dist-types/commands/GetAggregatorV2Command.d.ts +1 -1
- package/dist-types/commands/GetAutomationRuleV2Command.d.ts +81 -6
- package/dist-types/commands/GetFindingStatisticsV2Command.d.ts +80 -6
- package/dist-types/commands/GetFindingsCommand.d.ts +1 -1
- package/dist-types/commands/GetFindingsV2Command.d.ts +79 -5
- package/dist-types/commands/GetResourcesStatisticsV2Command.d.ts +56 -6
- package/dist-types/commands/GetResourcesV2Command.d.ts +56 -6
- package/dist-types/commands/ListAggregatorsV2Command.d.ts +1 -1
- package/dist-types/commands/ListAutomationRulesV2Command.d.ts +1 -1
- package/dist-types/commands/UpdateAggregatorV2Command.d.ts +1 -1
- package/dist-types/commands/UpdateAutomationRuleV2Command.d.ts +79 -5
- package/dist-types/models/models_2.d.ts +164 -186
- package/dist-types/models/models_3.d.ts +476 -345
- package/dist-types/ts3.4/commands/CreateAutomationRuleV2Command.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetAutomationRuleV2Command.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_2.d.ts +92 -55
- package/dist-types/ts3.4/models/models_3.d.ts +140 -111
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { AccountDetails, Action, ActionTarget, Adjustment,
|
|
2
|
+
import { AccountDetails, Action, ActionTarget, Adjustment, AssociationStatus, AssociationType, AutoEnableStandards, AutomationRulesAction, AutomationRulesConfig, AutomationRulesFindingFilters, AwsAmazonMqBrokerDetails, AwsApiGatewayRestApiDetails, AwsApiGatewayStageDetails, AwsApiGatewayV2ApiDetails, AwsApiGatewayV2StageDetails, AwsAppSyncGraphQlApiDetails, AwsAthenaWorkGroupDetails, AwsAutoScalingAutoScalingGroupDetails, AwsAutoScalingLaunchConfigurationDetails, AwsBackupBackupPlanDetails, AwsBackupBackupVaultDetails, AwsBackupRecoveryPointDetails, AwsCertificateManagerCertificateDetails, AwsCloudFormationStackDetails, AwsCloudFrontDistributionDetails, AwsCloudTrailTrailDetails, AwsCloudWatchAlarmDetails, AwsCodeBuildProjectDetails, AwsDmsEndpointDetails, AwsDmsReplicationInstanceDetails, AwsDmsReplicationTaskDetails, AwsDynamoDbTableDetails, AwsEc2ClientVpnEndpointDetails, AwsEc2EipDetails, AwsEc2InstanceDetails, AwsEc2LaunchTemplateDetails, AwsEc2NetworkAclDetails, AwsEc2NetworkInterfaceDetails, AwsEc2RouteTableDetails, AwsEc2SecurityGroupDetails, AwsEc2SubnetDetails, AwsEc2TransitGatewayDetails, AwsEc2VolumeDetails, AwsEc2VpcDetails, AwsEc2VpcEndpointServiceDetails, AwsEc2VpcPeeringConnectionDetails, AwsEc2VpnConnectionDetails, AwsEcrContainerImageDetails, AwsEcrRepositoryDetails, AwsEcsClusterDetails, AwsEcsContainerDetails, AwsEcsServiceDetails, ConfigurationPolicyAssociationStatus, DateFilter, MapFilter, NoteUpdate, NumberFilter, RelatedFinding, RuleStatus, SeverityLabel, SeverityUpdate, StringFilter, VerificationState, WorkflowStatus, WorkflowUpdate } from "./models_0";
|
|
3
3
|
import { AwsEcsTaskDefinitionDetails, AwsEcsTaskDetails, AwsEfsAccessPointDetails, AwsEksClusterDetails, AwsElasticBeanstalkEnvironmentDetails, AwsElasticsearchDomainDetails, AwsElbLoadBalancerDetails, AwsElbv2LoadBalancerDetails, AwsEventSchemasRegistryDetails, AwsEventsEndpointDetails, AwsEventsEventbusDetails, AwsGuardDutyDetectorDetails, AwsIamAccessKeyDetails, AwsIamGroupDetails, AwsIamPolicyDetails, AwsIamRoleDetails, AwsIamUserDetails, AwsKinesisStreamDetails, AwsKmsKeyDetails, AwsLambdaFunctionDetails, AwsLambdaLayerVersionDetails, AwsMskClusterDetails, AwsNetworkFirewallFirewallDetails, AwsNetworkFirewallFirewallPolicyDetails, AwsNetworkFirewallRuleGroupDetails, AwsOpenSearchServiceDomainDetails, AwsRdsDbClusterDetails, AwsRdsDbClusterSnapshotDetails, AwsRdsDbInstanceDetails, AwsRdsDbSecurityGroupDetails, AwsRdsDbSnapshotDetails, AwsRdsEventSubscriptionDetails, AwsRedshiftClusterDetails, AwsRoute53HostedZoneDetails, AwsS3AccessPointDetails, AwsS3AccountPublicAccessBlockDetails, AwsS3BucketDetails, AwsS3ObjectDetails, AwsSageMakerNotebookInstanceDetails, AwsSecretsManagerSecretDetails, ClassificationResult, Compliance, Detection, FindingProviderFields, GeneratorDetails, Malware, Network, NetworkPathComponent, Note, PatchSummary, ProcessDetails, RecordState, Remediation } from "./models_1";
|
|
4
4
|
import { SecurityHubServiceException as __BaseException } from "./SecurityHubServiceException";
|
|
5
5
|
/**
|
|
@@ -4909,7 +4909,8 @@ export interface UnprocessedSecurityControl {
|
|
|
4909
4909
|
SecurityControlId: string | undefined;
|
|
4910
4910
|
/**
|
|
4911
4911
|
* <p>
|
|
4912
|
-
* The error code for the unprocessed security control.
|
|
4912
|
+
* The error code for the unprocessed security control. The <code>NOT_FOUND</code> value has been deprecated and
|
|
4913
|
+
* replaced by the <code>RESOURCE_NOT_FOUND</code> value.
|
|
4913
4914
|
* </p>
|
|
4914
4915
|
* @public
|
|
4915
4916
|
*/
|
|
@@ -5074,7 +5075,8 @@ export interface UnprocessedStandardsControlAssociation {
|
|
|
5074
5075
|
*/
|
|
5075
5076
|
StandardsControlAssociationId: StandardsControlAssociationId | undefined;
|
|
5076
5077
|
/**
|
|
5077
|
-
* <p>The error code for the unprocessed standard and control association.
|
|
5078
|
+
* <p>The error code for the unprocessed standard and control association. The <code>NOT_FOUND</code> value has been deprecated and
|
|
5079
|
+
* replaced by the <code>RESOURCE_NOT_FOUND</code> value.
|
|
5078
5080
|
* </p>
|
|
5079
5081
|
* @public
|
|
5080
5082
|
*/
|
|
@@ -5723,7 +5725,8 @@ export interface UnprocessedStandardsControlAssociationUpdate {
|
|
|
5723
5725
|
StandardsControlAssociationUpdate: StandardsControlAssociationUpdate | undefined;
|
|
5724
5726
|
/**
|
|
5725
5727
|
* <p>The error code for the unprocessed update of the control's enablement status in the
|
|
5726
|
-
* specified standard
|
|
5728
|
+
* specified standard. The <code>NOT_FOUND</code> value has been deprecated and
|
|
5729
|
+
* replaced by the <code>RESOURCE_NOT_FOUND</code> value.</p>
|
|
5727
5730
|
* @public
|
|
5728
5731
|
*/
|
|
5729
5732
|
ErrorCode: UnprocessedErrorCode | undefined;
|
|
@@ -5799,6 +5802,9 @@ export declare const OcsfDateField: {
|
|
|
5799
5802
|
readonly FINDING_INFO_FIRST_SEEN_TIME_DT: "finding_info.first_seen_time_dt";
|
|
5800
5803
|
readonly FINDING_INFO_LAST_SEEN_TIME_DT: "finding_info.last_seen_time_dt";
|
|
5801
5804
|
readonly FINDING_INFO_MODIFIED_TIME_DT: "finding_info.modified_time_dt";
|
|
5805
|
+
readonly RESOURCES_IMAGE_CREATED_TIME_DT: "resources.image.created_time_dt";
|
|
5806
|
+
readonly RESOURCES_IMAGE_LAST_USED_TIME_DT: "resources.image.last_used_time_dt";
|
|
5807
|
+
readonly RESOURCES_MODIFIED_TIME_DT: "resources.modified_time_dt";
|
|
5802
5808
|
};
|
|
5803
5809
|
/**
|
|
5804
5810
|
* @public
|
|
@@ -5820,11 +5826,42 @@ export interface OcsfDateFilter {
|
|
|
5820
5826
|
*/
|
|
5821
5827
|
Filter?: DateFilter | undefined;
|
|
5822
5828
|
}
|
|
5829
|
+
/**
|
|
5830
|
+
* @public
|
|
5831
|
+
* @enum
|
|
5832
|
+
*/
|
|
5833
|
+
export declare const OcsfIpField: {
|
|
5834
|
+
readonly EVIDENCES_DST_ENDPOINT_IP: "evidences.dst_endpoint.ip";
|
|
5835
|
+
readonly EVIDENCES_SRC_ENDPOINT_IP: "evidences.src_endpoint.ip";
|
|
5836
|
+
};
|
|
5837
|
+
/**
|
|
5838
|
+
* @public
|
|
5839
|
+
*/
|
|
5840
|
+
export type OcsfIpField = (typeof OcsfIpField)[keyof typeof OcsfIpField];
|
|
5841
|
+
/**
|
|
5842
|
+
* <p>The structure for filtering findings based on IP address attributes.</p>
|
|
5843
|
+
* @public
|
|
5844
|
+
*/
|
|
5845
|
+
export interface OcsfIpFilter {
|
|
5846
|
+
/**
|
|
5847
|
+
* <p>The name of the IP address field to filter on.</p>
|
|
5848
|
+
* @public
|
|
5849
|
+
*/
|
|
5850
|
+
FieldName?: OcsfIpField | undefined;
|
|
5851
|
+
/**
|
|
5852
|
+
* <p>The IP filter for querying findings.</p>
|
|
5853
|
+
* @public
|
|
5854
|
+
*/
|
|
5855
|
+
Filter?: IpFilter | undefined;
|
|
5856
|
+
}
|
|
5823
5857
|
/**
|
|
5824
5858
|
* @public
|
|
5825
5859
|
* @enum
|
|
5826
5860
|
*/
|
|
5827
5861
|
export declare const OcsfMapField: {
|
|
5862
|
+
readonly COMPLIANCE_CONTROL_PARAMETERS: "compliance.control_parameters";
|
|
5863
|
+
readonly DATABUCKET_TAGS: "databucket.tags";
|
|
5864
|
+
readonly FINDING_INFO_TAGS: "finding_info.tags";
|
|
5828
5865
|
readonly RESOURCES_TAGS: "resources.tags";
|
|
5829
5866
|
};
|
|
5830
5867
|
/**
|
|
@@ -5856,7 +5893,13 @@ export declare const OcsfNumberField: {
|
|
|
5856
5893
|
readonly ACTIVITY_ID: "activity_id";
|
|
5857
5894
|
readonly COMPLIANCE_STATUS_ID: "compliance.status_id";
|
|
5858
5895
|
readonly CONFIDENCE_SCORE: "confidence_score";
|
|
5896
|
+
readonly EVIDENCES_API_RESPONSE_CODE: "evidences.api.response.code";
|
|
5897
|
+
readonly EVIDENCES_DST_ENDPOINT_AUTONOMOUS_SYSTEM_NUMBER: "evidences.dst_endpoint.autonomous_system.number";
|
|
5898
|
+
readonly EVIDENCES_DST_ENDPOINT_PORT: "evidences.dst_endpoint.port";
|
|
5899
|
+
readonly EVIDENCES_SRC_ENDPOINT_AUTONOMOUS_SYSTEM_NUMBER: "evidences.src_endpoint.autonomous_system.number";
|
|
5900
|
+
readonly EVIDENCES_SRC_ENDPOINT_PORT: "evidences.src_endpoint.port";
|
|
5859
5901
|
readonly FINDING_INFO_RELATED_EVENTS_COUNT: "finding_info.related_events_count";
|
|
5902
|
+
readonly RESOURCES_IMAGE_IN_USE_COUNT: "resources.image.in_use_count";
|
|
5860
5903
|
readonly SEVERITY_ID: "severity_id";
|
|
5861
5904
|
readonly STATUS_ID: "status_id";
|
|
5862
5905
|
};
|
|
@@ -5887,6 +5930,7 @@ export interface OcsfNumberFilter {
|
|
|
5887
5930
|
export declare const OcsfStringField: {
|
|
5888
5931
|
readonly ACTIVITY_NAME: "activity_name";
|
|
5889
5932
|
readonly CLASS_NAME: "class_name";
|
|
5933
|
+
readonly CLOUD_ACCOUNT_NAME: "cloud.account.name";
|
|
5890
5934
|
readonly CLOUD_ACCOUNT_UID: "cloud.account.uid";
|
|
5891
5935
|
readonly CLOUD_PROVIDER: "cloud.provider";
|
|
5892
5936
|
readonly CLOUD_REGION: "cloud.region";
|
|
@@ -5896,6 +5940,23 @@ export declare const OcsfStringField: {
|
|
|
5896
5940
|
readonly COMPLIANCE_CONTROL: "compliance.control";
|
|
5897
5941
|
readonly COMPLIANCE_STANDARDS: "compliance.standards";
|
|
5898
5942
|
readonly COMPLIANCE_STATUS: "compliance.status";
|
|
5943
|
+
readonly DATABUCKET_ENCRYPTION_DETAILS_ALGORITHM: "databucket.encryption_details.algorithm";
|
|
5944
|
+
readonly DATABUCKET_ENCRYPTION_DETAILS_KEY_UID: "databucket.encryption_details.key_uid";
|
|
5945
|
+
readonly DATABUCKET_FILE_DATA_CLASSIFICATIONS_CLASSIFIER_DETAILS_TYPE: "databucket.file.data_classifications.classifier_details.type";
|
|
5946
|
+
readonly EVIDENCES_ACTOR_USER_ACCOUNT_UID: "evidences.actor.user.account.uid";
|
|
5947
|
+
readonly EVIDENCES_API_OPERATION: "evidences.api.operation";
|
|
5948
|
+
readonly EVIDENCES_API_RESPONSE_ERROR_MESSAGE: "evidences.api.response.error_message";
|
|
5949
|
+
readonly EVIDENCES_API_SERVICE_NAME: "evidences.api.service.name";
|
|
5950
|
+
readonly EVIDENCES_CONNECTION_INFO_DIRECTION: "evidences.connection_info.direction";
|
|
5951
|
+
readonly EVIDENCES_CONNECTION_INFO_PROTOCOL_NAME: "evidences.connection_info.protocol_name";
|
|
5952
|
+
readonly EVIDENCES_DST_ENDPOINT_AUTONOMOUS_SYSTEM_NAME: "evidences.dst_endpoint.autonomous_system.name";
|
|
5953
|
+
readonly EVIDENCES_DST_ENDPOINT_LOCATION_CITY: "evidences.dst_endpoint.location.city";
|
|
5954
|
+
readonly EVIDENCES_DST_ENDPOINT_LOCATION_COUNTRY: "evidences.dst_endpoint.location.country";
|
|
5955
|
+
readonly EVIDENCES_SRC_ENDPOINT_AUTONOMOUS_SYSTEM_NAME: "evidences.src_endpoint.autonomous_system.name";
|
|
5956
|
+
readonly EVIDENCES_SRC_ENDPOINT_HOSTNAME: "evidences.src_endpoint.hostname";
|
|
5957
|
+
readonly EVIDENCES_SRC_ENDPOINT_LOCATION_CITY: "evidences.src_endpoint.location.city";
|
|
5958
|
+
readonly EVIDENCES_SRC_ENDPOINT_LOCATION_COUNTRY: "evidences.src_endpoint.location.country";
|
|
5959
|
+
readonly FINDING_INFO_ANALYTIC_NAME: "finding_info.analytic.name";
|
|
5899
5960
|
readonly FINDING_INFO_DESC: "finding_info.desc";
|
|
5900
5961
|
readonly FINDING_INFO_RELATED_EVENTS_PRODUCT_UID: "finding_info.related_events.product.uid";
|
|
5901
5962
|
readonly FINDING_INFO_RELATED_EVENTS_TITLE: "finding_info.related_events.title";
|
|
@@ -5904,19 +5965,38 @@ export declare const OcsfStringField: {
|
|
|
5904
5965
|
readonly FINDING_INFO_TITLE: "finding_info.title";
|
|
5905
5966
|
readonly FINDING_INFO_TYPES: "finding_info.types";
|
|
5906
5967
|
readonly FINDING_INFO_UID: "finding_info.uid";
|
|
5968
|
+
readonly MALWARE_NAME: "malware.name";
|
|
5969
|
+
readonly MALWARE_SCAN_INFO_UID: "malware_scan_info.uid";
|
|
5970
|
+
readonly MALWARE_SEVERITY: "malware.severity";
|
|
5907
5971
|
readonly METADATA_PRODUCT_NAME: "metadata.product.name";
|
|
5908
5972
|
readonly METADATA_PRODUCT_UID: "metadata.product.uid";
|
|
5909
5973
|
readonly METADATA_PRODUCT_VENDOR_NAME: "metadata.product.vendor_name";
|
|
5910
5974
|
readonly METADATA_UID: "metadata.uid";
|
|
5911
5975
|
readonly REMEDIATION_DESC: "remediation.desc";
|
|
5912
5976
|
readonly REMEDIATION_REFERENCES: "remediation.references";
|
|
5977
|
+
readonly RESOURCES_CLOUD_FUNCTION_LAYERS_UID_ALT: "resources.cloud_function.layers.uid_alt";
|
|
5978
|
+
readonly RESOURCES_CLOUD_FUNCTION_RUNTIME: "resources.cloud_function.runtime";
|
|
5979
|
+
readonly RESOURCES_CLOUD_FUNCTION_USER_UID: "resources.cloud_function.user.uid";
|
|
5913
5980
|
readonly RESOURCES_CLOUD_PARTITION: "resources.cloud_partition";
|
|
5981
|
+
readonly RESOURCES_DEVICE_ENCRYPTION_DETAILS_KEY_UID: "resources.device.encryption_details.key_uid";
|
|
5982
|
+
readonly RESOURCES_DEVICE_IMAGE_UID: "resources.device.image.uid";
|
|
5983
|
+
readonly RESOURCES_IMAGE_ARCHITECTURE: "resources.image.architecture";
|
|
5984
|
+
readonly RESOURCES_IMAGE_REGISTRY_UID: "resources.image.registry_uid";
|
|
5985
|
+
readonly RESOURCES_IMAGE_REPOSITORY_NAME: "resources.image.repository_name";
|
|
5986
|
+
readonly RESOURCES_IMAGE_UID: "resources.image.uid";
|
|
5914
5987
|
readonly RESOURCES_REGION: "resources.region";
|
|
5988
|
+
readonly RESOURCES_SUBNET_INFO_UID: "resources.subnet_info.uid";
|
|
5915
5989
|
readonly RESOURCES_TYPE: "resources.type";
|
|
5916
5990
|
readonly RESOURCES_UID: "resources.uid";
|
|
5991
|
+
readonly RESOURCES_VPC_UID: "resources.vpc_uid";
|
|
5917
5992
|
readonly SEVERITY: "severity";
|
|
5918
5993
|
readonly STATUS: "status";
|
|
5994
|
+
readonly VULNERABILITIES_AFFECTED_CODE_FILE_PATH: "vulnerabilities.affected_code.file.path";
|
|
5995
|
+
readonly VULNERABILITIES_AFFECTED_PACKAGES_NAME: "vulnerabilities.affected_packages.name";
|
|
5996
|
+
readonly VULNERABILITIES_CVE_EPSS_SCORE: "vulnerabilities.cve.epss.score";
|
|
5997
|
+
readonly VULNERABILITIES_CVE_UID: "vulnerabilities.cve.uid";
|
|
5919
5998
|
readonly VULNERABILITIES_FIX_COVERAGE: "vulnerabilities.fix_coverage";
|
|
5999
|
+
readonly VULNERABILITIES_RELATED_VULNERABILITIES: "vulnerabilities.related_vulnerabilities";
|
|
5920
6000
|
};
|
|
5921
6001
|
/**
|
|
5922
6002
|
* @public
|
|
@@ -5938,42 +6018,6 @@ export interface OcsfStringFilter {
|
|
|
5938
6018
|
*/
|
|
5939
6019
|
Filter?: StringFilter | undefined;
|
|
5940
6020
|
}
|
|
5941
|
-
/**
|
|
5942
|
-
* <p>Enables the creation of filtering criteria for security findings.</p>
|
|
5943
|
-
* @public
|
|
5944
|
-
*/
|
|
5945
|
-
export interface CompositeFilter {
|
|
5946
|
-
/**
|
|
5947
|
-
* <p>Enables filtering based on string field values.</p>
|
|
5948
|
-
* @public
|
|
5949
|
-
*/
|
|
5950
|
-
StringFilters?: OcsfStringFilter[] | undefined;
|
|
5951
|
-
/**
|
|
5952
|
-
* <p>Enables filtering based on date and timestamp fields.</p>
|
|
5953
|
-
* @public
|
|
5954
|
-
*/
|
|
5955
|
-
DateFilters?: OcsfDateFilter[] | undefined;
|
|
5956
|
-
/**
|
|
5957
|
-
* <p>Enables filtering based on boolean field values.</p>
|
|
5958
|
-
* @public
|
|
5959
|
-
*/
|
|
5960
|
-
BooleanFilters?: OcsfBooleanFilter[] | undefined;
|
|
5961
|
-
/**
|
|
5962
|
-
* <p>Enables filtering based on numerical field values.</p>
|
|
5963
|
-
* @public
|
|
5964
|
-
*/
|
|
5965
|
-
NumberFilters?: OcsfNumberFilter[] | undefined;
|
|
5966
|
-
/**
|
|
5967
|
-
* <p>Enables filtering based on map field values.</p>
|
|
5968
|
-
* @public
|
|
5969
|
-
*/
|
|
5970
|
-
MapFilters?: OcsfMapFilter[] | undefined;
|
|
5971
|
-
/**
|
|
5972
|
-
* <p>The logical operator used to combine multiple filter conditions.</p>
|
|
5973
|
-
* @public
|
|
5974
|
-
*/
|
|
5975
|
-
Operator?: AllowedOperators | undefined;
|
|
5976
|
-
}
|
|
5977
6021
|
/**
|
|
5978
6022
|
* <p>
|
|
5979
6023
|
* The options for customizing a security control parameter that is a double.
|
|
@@ -6720,97 +6764,6 @@ export interface CreateAutomationRuleResponse {
|
|
|
6720
6764
|
*/
|
|
6721
6765
|
RuleArn?: string | undefined;
|
|
6722
6766
|
}
|
|
6723
|
-
/**
|
|
6724
|
-
* <p>Specifies the filtering criteria for security findings using OCSF.</p>
|
|
6725
|
-
* @public
|
|
6726
|
-
*/
|
|
6727
|
-
export interface OcsfFindingFilters {
|
|
6728
|
-
/**
|
|
6729
|
-
* <p>Enables the creation of complex filtering conditions by combining filter criteria.</p>
|
|
6730
|
-
* @public
|
|
6731
|
-
*/
|
|
6732
|
-
CompositeFilters?: CompositeFilter[] | undefined;
|
|
6733
|
-
/**
|
|
6734
|
-
* <p>The logical operators used to combine the filtering on multiple <code>CompositeFilters</code>.</p>
|
|
6735
|
-
* @public
|
|
6736
|
-
*/
|
|
6737
|
-
CompositeOperator?: AllowedOperators | undefined;
|
|
6738
|
-
}
|
|
6739
|
-
/**
|
|
6740
|
-
* <p>Defines the parameters and conditions used to evaluate and filter security findings.</p>
|
|
6741
|
-
* @public
|
|
6742
|
-
*/
|
|
6743
|
-
export type Criteria = Criteria.OcsfFindingCriteriaMember | Criteria.$UnknownMember;
|
|
6744
|
-
/**
|
|
6745
|
-
* @public
|
|
6746
|
-
*/
|
|
6747
|
-
export declare namespace Criteria {
|
|
6748
|
-
/**
|
|
6749
|
-
* <p>The filtering conditions that align with OCSF standards.</p>
|
|
6750
|
-
* @public
|
|
6751
|
-
*/
|
|
6752
|
-
interface OcsfFindingCriteriaMember {
|
|
6753
|
-
OcsfFindingCriteria: OcsfFindingFilters;
|
|
6754
|
-
$unknown?: never;
|
|
6755
|
-
}
|
|
6756
|
-
/**
|
|
6757
|
-
* @public
|
|
6758
|
-
*/
|
|
6759
|
-
interface $UnknownMember {
|
|
6760
|
-
OcsfFindingCriteria?: never;
|
|
6761
|
-
$unknown: [string, any];
|
|
6762
|
-
}
|
|
6763
|
-
interface Visitor<T> {
|
|
6764
|
-
OcsfFindingCriteria: (value: OcsfFindingFilters) => T;
|
|
6765
|
-
_: (name: string, value: any) => T;
|
|
6766
|
-
}
|
|
6767
|
-
const visit: <T>(value: Criteria, visitor: Visitor<T>) => T;
|
|
6768
|
-
}
|
|
6769
|
-
/**
|
|
6770
|
-
* @public
|
|
6771
|
-
*/
|
|
6772
|
-
export interface CreateAutomationRuleV2Request {
|
|
6773
|
-
/**
|
|
6774
|
-
* <p>The name of the V2 automation rule.</p>
|
|
6775
|
-
* @public
|
|
6776
|
-
*/
|
|
6777
|
-
RuleName: string | undefined;
|
|
6778
|
-
/**
|
|
6779
|
-
* <p>The status of the V2 automation rule.</p>
|
|
6780
|
-
* @public
|
|
6781
|
-
*/
|
|
6782
|
-
RuleStatus?: RuleStatusV2 | undefined;
|
|
6783
|
-
/**
|
|
6784
|
-
* <p>A description of the V2 automation rule.</p>
|
|
6785
|
-
* @public
|
|
6786
|
-
*/
|
|
6787
|
-
Description: string | undefined;
|
|
6788
|
-
/**
|
|
6789
|
-
* <p>The value for the rule priority.</p>
|
|
6790
|
-
* @public
|
|
6791
|
-
*/
|
|
6792
|
-
RuleOrder: number | undefined;
|
|
6793
|
-
/**
|
|
6794
|
-
* <p>The filtering type and configuration of the automation rule.</p>
|
|
6795
|
-
* @public
|
|
6796
|
-
*/
|
|
6797
|
-
Criteria: Criteria | undefined;
|
|
6798
|
-
/**
|
|
6799
|
-
* <p>A list of actions to be performed when the rule criteria is met.</p>
|
|
6800
|
-
* @public
|
|
6801
|
-
*/
|
|
6802
|
-
Actions: AutomationRulesActionV2[] | undefined;
|
|
6803
|
-
/**
|
|
6804
|
-
* <p>A list of key-value pairs associated with the V2 automation rule.</p>
|
|
6805
|
-
* @public
|
|
6806
|
-
*/
|
|
6807
|
-
Tags?: Record<string, string> | undefined;
|
|
6808
|
-
/**
|
|
6809
|
-
* <p>A unique identifier used to ensure idempotency.</p>
|
|
6810
|
-
* @public
|
|
6811
|
-
*/
|
|
6812
|
-
ClientToken?: string | undefined;
|
|
6813
|
-
}
|
|
6814
6767
|
/**
|
|
6815
6768
|
* @public
|
|
6816
6769
|
*/
|
|
@@ -8615,61 +8568,6 @@ export interface GetAutomationRuleV2Request {
|
|
|
8615
8568
|
*/
|
|
8616
8569
|
Identifier: string | undefined;
|
|
8617
8570
|
}
|
|
8618
|
-
/**
|
|
8619
|
-
* @public
|
|
8620
|
-
*/
|
|
8621
|
-
export interface GetAutomationRuleV2Response {
|
|
8622
|
-
/**
|
|
8623
|
-
* <p>The ARN of the V2 automation rule.</p>
|
|
8624
|
-
* @public
|
|
8625
|
-
*/
|
|
8626
|
-
RuleArn?: string | undefined;
|
|
8627
|
-
/**
|
|
8628
|
-
* <p>The ID of the V2 automation rule.</p>
|
|
8629
|
-
* @public
|
|
8630
|
-
*/
|
|
8631
|
-
RuleId?: string | undefined;
|
|
8632
|
-
/**
|
|
8633
|
-
* <p>The value for the rule priority.</p>
|
|
8634
|
-
* @public
|
|
8635
|
-
*/
|
|
8636
|
-
RuleOrder?: number | undefined;
|
|
8637
|
-
/**
|
|
8638
|
-
* <p>The name of the V2 automation rule.</p>
|
|
8639
|
-
* @public
|
|
8640
|
-
*/
|
|
8641
|
-
RuleName?: string | undefined;
|
|
8642
|
-
/**
|
|
8643
|
-
* <p>The status of the V2 automation automation rule.</p>
|
|
8644
|
-
* @public
|
|
8645
|
-
*/
|
|
8646
|
-
RuleStatus?: RuleStatusV2 | undefined;
|
|
8647
|
-
/**
|
|
8648
|
-
* <p>A description of the automation rule.</p>
|
|
8649
|
-
* @public
|
|
8650
|
-
*/
|
|
8651
|
-
Description?: string | undefined;
|
|
8652
|
-
/**
|
|
8653
|
-
* <p>The filtering type and configuration of the V2 automation rule.</p>
|
|
8654
|
-
* @public
|
|
8655
|
-
*/
|
|
8656
|
-
Criteria?: Criteria | undefined;
|
|
8657
|
-
/**
|
|
8658
|
-
* <p>A list of actions performed when the rule criteria is met.</p>
|
|
8659
|
-
* @public
|
|
8660
|
-
*/
|
|
8661
|
-
Actions?: AutomationRulesActionV2[] | undefined;
|
|
8662
|
-
/**
|
|
8663
|
-
* <p>The timestamp when the V2 automation rule was created.</p>
|
|
8664
|
-
* @public
|
|
8665
|
-
*/
|
|
8666
|
-
CreatedAt?: Date | undefined;
|
|
8667
|
-
/**
|
|
8668
|
-
* <p>The timestamp when the V2 automation rule was updated.</p>
|
|
8669
|
-
* @public
|
|
8670
|
-
*/
|
|
8671
|
-
UpdatedAt?: Date | undefined;
|
|
8672
|
-
}
|
|
8673
8571
|
/**
|
|
8674
8572
|
* @public
|
|
8675
8573
|
*/
|
|
@@ -9161,6 +9059,86 @@ export interface SortCriterion {
|
|
|
9161
9059
|
*/
|
|
9162
9060
|
SortOrder?: SortOrder | undefined;
|
|
9163
9061
|
}
|
|
9062
|
+
/**
|
|
9063
|
+
* @public
|
|
9064
|
+
*/
|
|
9065
|
+
export interface GetFindingsRequest {
|
|
9066
|
+
/**
|
|
9067
|
+
* <p>The finding attributes used to define a condition to filter the returned
|
|
9068
|
+
* findings.</p>
|
|
9069
|
+
* <p>You can filter by up to 10 finding attributes. For each attribute, you can provide up to
|
|
9070
|
+
* 20 filter values.</p>
|
|
9071
|
+
* <p>Note that in the available filter fields, <code>WorkflowState</code> is deprecated. To
|
|
9072
|
+
* search for a finding based on its workflow status, use <code>WorkflowStatus</code>.</p>
|
|
9073
|
+
* @public
|
|
9074
|
+
*/
|
|
9075
|
+
Filters?: AwsSecurityFindingFilters | undefined;
|
|
9076
|
+
/**
|
|
9077
|
+
* <p>The finding attributes used to sort the list of returned findings.</p>
|
|
9078
|
+
* @public
|
|
9079
|
+
*/
|
|
9080
|
+
SortCriteria?: SortCriterion[] | undefined;
|
|
9081
|
+
/**
|
|
9082
|
+
* <p>The token that is required for pagination. On your first call to the
|
|
9083
|
+
* <code>GetFindings</code> operation, set the value of this parameter to
|
|
9084
|
+
* <code>NULL</code>.</p>
|
|
9085
|
+
* <p>For subsequent calls to the operation, to continue listing data, set the value of this
|
|
9086
|
+
* parameter to the value returned from the previous response.</p>
|
|
9087
|
+
* @public
|
|
9088
|
+
*/
|
|
9089
|
+
NextToken?: string | undefined;
|
|
9090
|
+
/**
|
|
9091
|
+
* <p>The maximum number of findings to return.</p>
|
|
9092
|
+
* @public
|
|
9093
|
+
*/
|
|
9094
|
+
MaxResults?: number | undefined;
|
|
9095
|
+
}
|
|
9096
|
+
/**
|
|
9097
|
+
* @public
|
|
9098
|
+
*/
|
|
9099
|
+
export interface GetFindingsResponse {
|
|
9100
|
+
/**
|
|
9101
|
+
* <p>The findings that matched the filters specified in the request.</p>
|
|
9102
|
+
* @public
|
|
9103
|
+
*/
|
|
9104
|
+
Findings: AwsSecurityFinding[] | undefined;
|
|
9105
|
+
/**
|
|
9106
|
+
* <p>The pagination token to use to request the next page of results.</p>
|
|
9107
|
+
* @public
|
|
9108
|
+
*/
|
|
9109
|
+
NextToken?: string | undefined;
|
|
9110
|
+
}
|
|
9111
|
+
/**
|
|
9112
|
+
* @public
|
|
9113
|
+
* @enum
|
|
9114
|
+
*/
|
|
9115
|
+
export declare const GroupByField: {
|
|
9116
|
+
readonly ACTIVITY_NAME: "activity_name";
|
|
9117
|
+
readonly CLASS_NAME: "class_name";
|
|
9118
|
+
readonly CLOUD_ACCOUNT_NAME: "cloud.account.name";
|
|
9119
|
+
readonly CLOUD_ACCOUNT_UID: "cloud.account.uid";
|
|
9120
|
+
readonly CLOUD_PROVIDER: "cloud.provider";
|
|
9121
|
+
readonly CLOUD_REGION: "cloud.region";
|
|
9122
|
+
readonly COMPLIANCE_ASSESSMENTS_NAME: "compliance.assessments.name";
|
|
9123
|
+
readonly COMPLIANCE_CONTROL: "compliance.control";
|
|
9124
|
+
readonly COMPLIANCE_STANDARDS: "compliance.standards";
|
|
9125
|
+
readonly COMPLIANCE_STATUS: "compliance.status";
|
|
9126
|
+
readonly FINDING_INFO_ANALYTIC_NAME: "finding_info.analytic.name";
|
|
9127
|
+
readonly FINDING_INFO_TITLE: "finding_info.title";
|
|
9128
|
+
readonly FINDING_INFO_TYPES: "finding_info.types";
|
|
9129
|
+
readonly METADATA_PRODUCT_NAME: "metadata.product.name";
|
|
9130
|
+
readonly METADATA_PRODUCT_UID: "metadata.product.uid";
|
|
9131
|
+
readonly RESOURCES_TYPE: "resources.type";
|
|
9132
|
+
readonly RESOURCES_UID: "resources.uid";
|
|
9133
|
+
readonly SEVERITY: "severity";
|
|
9134
|
+
readonly STATUS: "status";
|
|
9135
|
+
readonly VULNERABILITIES_AFFECTED_PACKAGES_NAME: "vulnerabilities.affected_packages.name";
|
|
9136
|
+
readonly VULNERABILITIES_FIX_COVERAGE: "vulnerabilities.fix_coverage";
|
|
9137
|
+
};
|
|
9138
|
+
/**
|
|
9139
|
+
* @public
|
|
9140
|
+
*/
|
|
9141
|
+
export type GroupByField = (typeof GroupByField)[keyof typeof GroupByField];
|
|
9164
9142
|
/**
|
|
9165
9143
|
* @internal
|
|
9166
9144
|
*/
|