Skip to content

Commit

Permalink
feat(client-guardduty): Add new Multi Domain Correlation findings.
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Dec 2, 2024
1 parent 9f110aa commit b2a4c95
Show file tree
Hide file tree
Showing 11 changed files with 4,372 additions and 1,618 deletions.
172 changes: 172 additions & 0 deletions clients/client-guardduty/src/commands/GetFindingsCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -813,6 +813,177 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
* // },
* // },
* // },
* // Sequence: { // Sequence
* // Uid: "STRING_VALUE", // required
* // Description: "STRING_VALUE", // required
* // Actors: [ // Actors
* // { // Actor
* // Id: "STRING_VALUE", // required
* // User: { // User
* // Name: "STRING_VALUE", // required
* // Uid: "STRING_VALUE", // required
* // Type: "STRING_VALUE", // required
* // CredentialUid: "STRING_VALUE",
* // Account: { // Account
* // Uid: "STRING_VALUE", // required
* // Name: "STRING_VALUE",
* // },
* // },
* // Session: { // Session
* // Uid: "STRING_VALUE",
* // MfaStatus: "ENABLED" || "DISABLED",
* // CreatedTime: new Date("TIMESTAMP"),
* // Issuer: "STRING_VALUE",
* // },
* // },
* // ],
* // Resources: [ // Resources
* // { // ResourceV2
* // Uid: "STRING_VALUE", // required
* // Name: "STRING_VALUE",
* // AccountId: "STRING_VALUE",
* // ResourceType: "EC2_INSTANCE" || "EC2_NETWORK_INTERFACE" || "S3_BUCKET" || "S3_OBJECT" || "ACCESS_KEY", // required
* // Region: "STRING_VALUE",
* // Service: "STRING_VALUE",
* // CloudPartition: "STRING_VALUE",
* // Tags: "<Tags>",
* // Data: { // ResourceData
* // S3Bucket: { // S3Bucket
* // OwnerId: "STRING_VALUE",
* // CreatedAt: new Date("TIMESTAMP"),
* // EncryptionType: "STRING_VALUE",
* // EncryptionKeyArn: "STRING_VALUE",
* // EffectivePermission: "STRING_VALUE",
* // PublicReadAccess: "BLOCKED" || "ALLOWED",
* // PublicWriteAccess: "BLOCKED" || "ALLOWED",
* // AccountPublicAccess: { // PublicAccessConfiguration
* // PublicAclAccess: "BLOCKED" || "ALLOWED",
* // PublicPolicyAccess: "BLOCKED" || "ALLOWED",
* // PublicAclIgnoreBehavior: "IGNORED" || "NOT_IGNORED",
* // PublicBucketRestrictBehavior: "RESTRICTED" || "NOT_RESTRICTED",
* // },
* // BucketPublicAccess: {
* // PublicAclAccess: "BLOCKED" || "ALLOWED",
* // PublicPolicyAccess: "BLOCKED" || "ALLOWED",
* // PublicAclIgnoreBehavior: "IGNORED" || "NOT_IGNORED",
* // PublicBucketRestrictBehavior: "RESTRICTED" || "NOT_RESTRICTED",
* // },
* // S3ObjectUids: [ // S3ObjectUids
* // "STRING_VALUE",
* // ],
* // },
* // Ec2Instance: { // Ec2Instance
* // AvailabilityZone: "STRING_VALUE",
* // ImageDescription: "STRING_VALUE",
* // InstanceState: "STRING_VALUE",
* // IamInstanceProfile: {
* // Arn: "STRING_VALUE",
* // Id: "STRING_VALUE",
* // },
* // InstanceType: "STRING_VALUE",
* // OutpostArn: "STRING_VALUE",
* // Platform: "STRING_VALUE",
* // ProductCodes: [
* // {
* // Code: "STRING_VALUE",
* // ProductType: "STRING_VALUE",
* // },
* // ],
* // Ec2NetworkInterfaceUids: [ // Ec2NetworkInterfaceUids
* // "STRING_VALUE",
* // ],
* // },
* // AccessKey: { // AccessKey
* // PrincipalId: "STRING_VALUE",
* // UserName: "STRING_VALUE",
* // UserType: "STRING_VALUE",
* // },
* // Ec2NetworkInterface: { // Ec2NetworkInterface
* // Ipv6Addresses: [
* // "STRING_VALUE",
* // ],
* // PrivateIpAddresses: [
* // {
* // PrivateDnsName: "STRING_VALUE",
* // PrivateIpAddress: "STRING_VALUE",
* // },
* // ],
* // PublicIp: "STRING_VALUE",
* // SecurityGroups: "<SecurityGroups>",
* // SubNetId: "STRING_VALUE",
* // VpcId: "STRING_VALUE",
* // },
* // S3Object: { // S3Object
* // ETag: "STRING_VALUE",
* // Key: "STRING_VALUE",
* // VersionId: "STRING_VALUE",
* // },
* // },
* // },
* // ],
* // Endpoints: [ // NetworkEndpoints
* // { // NetworkEndpoint
* // Id: "STRING_VALUE", // required
* // Ip: "STRING_VALUE",
* // Domain: "STRING_VALUE",
* // Port: Number("int"),
* // Location: { // NetworkGeoLocation
* // City: "STRING_VALUE", // required
* // Country: "STRING_VALUE", // required
* // Latitude: Number("double"), // required
* // Longitude: Number("double"), // required
* // },
* // AutonomousSystem: { // AutonomousSystem
* // Name: "STRING_VALUE", // required
* // Number: Number("int"), // required
* // },
* // Connection: { // NetworkConnection
* // Direction: "INBOUND" || "OUTBOUND", // required
* // },
* // },
* // ],
* // Signals: [ // Signals // required
* // { // Signal
* // Uid: "STRING_VALUE", // required
* // Type: "FINDING" || "CLOUD_TRAIL" || "S3_DATA_EVENTS", // required
* // Description: "STRING_VALUE",
* // Name: "STRING_VALUE", // required
* // CreatedAt: new Date("TIMESTAMP"), // required
* // UpdatedAt: new Date("TIMESTAMP"), // required
* // FirstSeenAt: new Date("TIMESTAMP"), // required
* // LastSeenAt: new Date("TIMESTAMP"), // required
* // Severity: Number("double"),
* // Count: Number("int"), // required
* // ResourceUids: [ // ResourceUids
* // "STRING_VALUE",
* // ],
* // ActorIds: [ // ActorIds
* // "STRING_VALUE",
* // ],
* // EndpointIds: [ // EndpointIds
* // "STRING_VALUE",
* // ],
* // SignalIndicators: [ // Indicators
* // { // Indicator
* // Key: "SUSPICIOUS_USER_AGENT" || "SUSPICIOUS_NETWORK" || "MALICIOUS_IP" || "TOR_IP" || "ATTACK_TACTIC" || "HIGH_RISK_API" || "ATTACK_TECHNIQUE" || "UNUSUAL_API_FOR_ACCOUNT" || "UNUSUAL_ASN_FOR_ACCOUNT" || "UNUSUAL_ASN_FOR_USER", // required
* // Values: [ // IndicatorValues
* // "STRING_VALUE",
* // ],
* // Title: "STRING_VALUE",
* // },
* // ],
* // },
* // ],
* // SequenceIndicators: [
* // {
* // Key: "SUSPICIOUS_USER_AGENT" || "SUSPICIOUS_NETWORK" || "MALICIOUS_IP" || "TOR_IP" || "ATTACK_TACTIC" || "HIGH_RISK_API" || "ATTACK_TECHNIQUE" || "UNUSUAL_API_FOR_ACCOUNT" || "UNUSUAL_ASN_FOR_ACCOUNT" || "UNUSUAL_ASN_FOR_USER", // required
* // Values: [
* // "STRING_VALUE",
* // ],
* // Title: "STRING_VALUE",
* // },
* // ],
* // },
* // },
* // MalwareScanDetails: { // MalwareScanDetails
* // Threats: [ // Threats
Expand All @@ -833,6 +1004,7 @@ export interface GetFindingsCommandOutput extends GetFindingsResponse, __Metadat
* // Title: "STRING_VALUE",
* // Type: "STRING_VALUE", // required
* // UpdatedAt: "STRING_VALUE", // required
* // AssociatedAttackSequenceArn: "STRING_VALUE",
* // },
* // ],
* // };
Expand Down
2 changes: 1 addition & 1 deletion clients/client-guardduty/src/commands/GetIPSetCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { commonParams } from "../endpoint/EndpointParameters";
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
import { GetIPSetRequest, GetIPSetResponse } from "../models/models_0";
import { GetIPSetRequest, GetIPSetResponse } from "../models/models_1";
import { de_GetIPSetCommand, se_GetIPSetCommand } from "../protocols/Aws_restJson1";

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { commonParams } from "../endpoint/EndpointParameters";
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
import { GetMalwareProtectionPlanRequest, GetMalwareProtectionPlanResponse } from "../models/models_0";
import { GetMalwareProtectionPlanRequest, GetMalwareProtectionPlanResponse } from "../models/models_1";
import { de_GetMalwareProtectionPlanCommand, se_GetMalwareProtectionPlanCommand } from "../protocols/Aws_restJson1";

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { commonParams } from "../endpoint/EndpointParameters";
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
import { GetMalwareScanSettingsRequest, GetMalwareScanSettingsResponse } from "../models/models_0";
import { GetMalwareScanSettingsRequest, GetMalwareScanSettingsResponse } from "../models/models_1";
import { de_GetMalwareScanSettingsCommand, se_GetMalwareScanSettingsCommand } from "../protocols/Aws_restJson1";

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { commonParams } from "../endpoint/EndpointParameters";
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
import { GetMasterAccountRequest, GetMasterAccountResponse } from "../models/models_0";
import { GetMasterAccountRequest, GetMasterAccountResponse } from "../models/models_1";
import { de_GetMasterAccountCommand, se_GetMasterAccountCommand } from "../protocols/Aws_restJson1";

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { commonParams } from "../endpoint/EndpointParameters";
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
import { GetMemberDetectorsRequest, GetMemberDetectorsResponse } from "../models/models_0";
import { GetMemberDetectorsRequest, GetMemberDetectorsResponse } from "../models/models_1";
import { de_GetMemberDetectorsCommand, se_GetMemberDetectorsCommand } from "../protocols/Aws_restJson1";

/**
Expand Down
2 changes: 1 addition & 1 deletion clients/client-guardduty/src/commands/GetMembersCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { commonParams } from "../endpoint/EndpointParameters";
import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
import { GetMembersRequest, GetMembersResponse, GetMembersResponseFilterSensitiveLog } from "../models/models_0";
import { GetMembersRequest, GetMembersResponse, GetMembersResponseFilterSensitiveLog } from "../models/models_1";
import { de_GetMembersCommand, se_GetMembersCommand } from "../protocols/Aws_restJson1";

/**
Expand Down
Loading

0 comments on commit b2a4c95

Please sign in to comment.