Skip to content

Commit

Permalink
feat(client-wafv2): You can now detect and block fraudulent account c…
Browse files Browse the repository at this point in the history
…reation attempts with the new AWS WAF Fraud Control account creation fraud prevention (ACFP) managed rule group AWSManagedRulesACFPRuleSet.
  • Loading branch information
awstools committed Jun 13, 2023
1 parent 9d51aa1 commit 4439cfd
Show file tree
Hide file tree
Showing 10 changed files with 1,531 additions and 153 deletions.
124 changes: 124 additions & 0 deletions clients/client-wafv2/src/commands/CheckCapacityCommand.ts
Expand Up @@ -646,6 +646,70 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
* ],
* },
* },
* EnableRegexInPath: true || false,
* },
* AWSManagedRulesACFPRuleSet: { // AWSManagedRulesACFPRuleSet
* CreationPath: "STRING_VALUE", // required
* RegistrationPagePath: "STRING_VALUE", // required
* RequestInspection: { // RequestInspectionACFP
* PayloadType: "JSON" || "FORM_ENCODED", // required
* UsernameField: {
* Identifier: "STRING_VALUE", // required
* },
* PasswordField: {
* Identifier: "STRING_VALUE", // required
* },
* EmailField: { // EmailField
* Identifier: "STRING_VALUE", // required
* },
* PhoneNumberFields: [ // PhoneNumberFields
* { // PhoneNumberField
* Identifier: "STRING_VALUE", // required
* },
* ],
* AddressFields: [ // AddressFields
* { // AddressField
* Identifier: "STRING_VALUE", // required
* },
* ],
* },
* ResponseInspection: {
* StatusCode: {
* SuccessCodes: [ // required
* Number("int"),
* ],
* FailureCodes: [ // required
* Number("int"),
* ],
* },
* Header: {
* Name: "STRING_VALUE", // required
* SuccessValues: [ // required
* "STRING_VALUE",
* ],
* FailureValues: [ // required
* "STRING_VALUE",
* ],
* },
* BodyContains: {
* SuccessStrings: [ // required
* "STRING_VALUE",
* ],
* FailureStrings: [ // required
* "STRING_VALUE",
* ],
* },
* Json: {
* Identifier: "STRING_VALUE", // required
* SuccessValues: [ // required
* "STRING_VALUE",
* ],
* FailureValues: [ // required
* "STRING_VALUE",
* ],
* },
* },
* EnableRegexInPath: true || false,
* },
* },
* ],
Expand Down Expand Up @@ -791,6 +855,66 @@ export interface CheckCapacityCommandOutput extends CheckCapacityResponse, __Met
* ],
* },
* },
* EnableRegexInPath: true || false,
* },
* AWSManagedRulesACFPRuleSet: {
* CreationPath: "STRING_VALUE", // required
* RegistrationPagePath: "STRING_VALUE", // required
* RequestInspection: {
* PayloadType: "JSON" || "FORM_ENCODED", // required
* UsernameField: "<UsernameField>",
* PasswordField: "<PasswordField>",
* EmailField: {
* Identifier: "STRING_VALUE", // required
* },
* PhoneNumberFields: [
* {
* Identifier: "STRING_VALUE", // required
* },
* ],
* AddressFields: [
* {
* Identifier: "STRING_VALUE", // required
* },
* ],
* },
* ResponseInspection: {
* StatusCode: {
* SuccessCodes: [ // required
* Number("int"),
* ],
* FailureCodes: [ // required
* Number("int"),
* ],
* },
* Header: {
* Name: "STRING_VALUE", // required
* SuccessValues: [ // required
* "STRING_VALUE",
* ],
* FailureValues: [ // required
* "STRING_VALUE",
* ],
* },
* BodyContains: {
* SuccessStrings: [ // required
* "STRING_VALUE",
* ],
* FailureStrings: [ // required
* "STRING_VALUE",
* ],
* },
* Json: {
* Identifier: "STRING_VALUE", // required
* SuccessValues: [ // required
* "STRING_VALUE",
* ],
* FailureValues: [ // required
* "STRING_VALUE",
* ],
* },
* },
* EnableRegexInPath: true || false,
* },
* },
* ],
Expand Down
124 changes: 124 additions & 0 deletions clients/client-wafv2/src/commands/CreateRuleGroupCommand.ts
Expand Up @@ -639,6 +639,70 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
* ],
* },
* },
* EnableRegexInPath: true || false,
* },
* AWSManagedRulesACFPRuleSet: { // AWSManagedRulesACFPRuleSet
* CreationPath: "STRING_VALUE", // required
* RegistrationPagePath: "STRING_VALUE", // required
* RequestInspection: { // RequestInspectionACFP
* PayloadType: "JSON" || "FORM_ENCODED", // required
* UsernameField: {
* Identifier: "STRING_VALUE", // required
* },
* PasswordField: {
* Identifier: "STRING_VALUE", // required
* },
* EmailField: { // EmailField
* Identifier: "STRING_VALUE", // required
* },
* PhoneNumberFields: [ // PhoneNumberFields
* { // PhoneNumberField
* Identifier: "STRING_VALUE", // required
* },
* ],
* AddressFields: [ // AddressFields
* { // AddressField
* Identifier: "STRING_VALUE", // required
* },
* ],
* },
* ResponseInspection: {
* StatusCode: {
* SuccessCodes: [ // required
* Number("int"),
* ],
* FailureCodes: [ // required
* Number("int"),
* ],
* },
* Header: {
* Name: "STRING_VALUE", // required
* SuccessValues: [ // required
* "STRING_VALUE",
* ],
* FailureValues: [ // required
* "STRING_VALUE",
* ],
* },
* BodyContains: {
* SuccessStrings: [ // required
* "STRING_VALUE",
* ],
* FailureStrings: [ // required
* "STRING_VALUE",
* ],
* },
* Json: {
* Identifier: "STRING_VALUE", // required
* SuccessValues: [ // required
* "STRING_VALUE",
* ],
* FailureValues: [ // required
* "STRING_VALUE",
* ],
* },
* },
* EnableRegexInPath: true || false,
* },
* },
* ],
Expand Down Expand Up @@ -784,6 +848,66 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
* ],
* },
* },
* EnableRegexInPath: true || false,
* },
* AWSManagedRulesACFPRuleSet: {
* CreationPath: "STRING_VALUE", // required
* RegistrationPagePath: "STRING_VALUE", // required
* RequestInspection: {
* PayloadType: "JSON" || "FORM_ENCODED", // required
* UsernameField: "<UsernameField>",
* PasswordField: "<PasswordField>",
* EmailField: {
* Identifier: "STRING_VALUE", // required
* },
* PhoneNumberFields: [
* {
* Identifier: "STRING_VALUE", // required
* },
* ],
* AddressFields: [
* {
* Identifier: "STRING_VALUE", // required
* },
* ],
* },
* ResponseInspection: {
* StatusCode: {
* SuccessCodes: [ // required
* Number("int"),
* ],
* FailureCodes: [ // required
* Number("int"),
* ],
* },
* Header: {
* Name: "STRING_VALUE", // required
* SuccessValues: [ // required
* "STRING_VALUE",
* ],
* FailureValues: [ // required
* "STRING_VALUE",
* ],
* },
* BodyContains: {
* SuccessStrings: [ // required
* "STRING_VALUE",
* ],
* FailureStrings: [ // required
* "STRING_VALUE",
* ],
* },
* Json: {
* Identifier: "STRING_VALUE", // required
* SuccessValues: [ // required
* "STRING_VALUE",
* ],
* FailureValues: [ // required
* "STRING_VALUE",
* ],
* },
* },
* EnableRegexInPath: true || false,
* },
* },
* ],
Expand Down

0 comments on commit 4439cfd

Please sign in to comment.