-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
192 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
Terraform_Examples/resource_files/data_label_rego/cardholder_name_test.rego
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
package classifier_cardholder_name | ||
|
||
test_dob_pattern { | ||
test_chn_pattern { | ||
output.cardholder_name == "CARDHOLDER_NAME" with input as {"cardholder_name":"John Doe"} | ||
} | ||
|
||
test_dob_pattern { | ||
test_chn_pattern { | ||
output.cardholder_name == "CARDHOLDER_NAME" with input as {"cardholder_name":"Robert Williams-Brown"} | ||
} | ||
|
||
test_dob_pattern { | ||
test_chn_pattern { | ||
output.cardholdername == "CARDHOLDER_NAME" with input as {"cardholdername":"Robert Williams-Brown"} | ||
} | ||
|
||
test_dob_pattern { | ||
test_chn_pattern { | ||
output.cardholderName == "CARDHOLDER_NAME" with input as {"cardholderName":"Robert Williams-Brown"} | ||
} | ||
|
||
test_dob_pattern { | ||
test_chn_pattern { | ||
output.cardholder_Name == "CARDHOLDER_NAME" with input as {"cardholder_Name":"Robert Williams-Brown"} | ||
} | ||
|
||
test_dob_pattern { | ||
test_chn_pattern { | ||
output.cardholderName == "CARDHOLDER_NAME" with input as {"cardholderName":"Robert Williams-Brown"} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
Terraform_Examples/resource_files/data_label_rego/first_name_test.rego
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
package classifier_first_name | ||
|
||
test_dob_pattern { | ||
test_fn_pattern { | ||
output.first_name == "FIRST_NAME" with input as {"first_name":"John"} | ||
} | ||
|
||
test_dob_pattern { | ||
test_fn_pattern { | ||
output.first_name == "FIRST_NAME" with input as {"first_name":"Robert"} | ||
} | ||
|
||
test_dob_pattern { | ||
test_fn_pattern { | ||
output.firstname == "FIRST_NAME" with input as {"firstname":"Robert"} | ||
} | ||
|
||
test_dob_pattern { | ||
test_fn_pattern { | ||
output.firstName == "FIRST_NAME" with input as {"firstName":"Robert"} | ||
} | ||
|
||
test_dob_pattern { | ||
test_fn_pattern { | ||
output.First_Name == "FIRST_NAME" with input as {"First_Name":"Robert"} | ||
} | ||
|
||
test_dob_pattern { | ||
test_fn_pattern { | ||
output.FirstName == "FIRST_NAME" with input as {"FirstName":"Robert"} | ||
} |
12 changes: 6 additions & 6 deletions
12
Terraform_Examples/resource_files/data_label_rego/full_name_test.rego
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
package classifier_full_name | ||
|
||
test_dob_pattern { | ||
test_fullname_pattern { | ||
output.full_name == "FULL_NAME" with input as {"full_name":"John Doe"} | ||
} | ||
|
||
test_dob_pattern { | ||
test_fullname_pattern { | ||
output.full_name == "FULL_NAME" with input as {"full_name":"Robert Williams-Brown"} | ||
} | ||
|
||
test_dob_pattern { | ||
test_fullname_pattern { | ||
output.fullname == "FULL_NAME" with input as {"fullname":"Robert Williams-Brown"} | ||
} | ||
|
||
test_dob_pattern { | ||
test_fullname_pattern { | ||
output.fullName == "FULL_NAME" with input as {"fullName":"Robert Williams-Brown"} | ||
} | ||
|
||
test_dob_pattern { | ||
test_fullname_pattern { | ||
output.Full_Name == "FULL_NAME" with input as {"Full_Name":"Robert Williams-Brown"} | ||
} | ||
|
||
test_dob_pattern { | ||
test_fullname_pattern { | ||
output.FullName == "FULL_NAME" with input as {"FullName":"Robert Williams-Brown"} | ||
} |
12 changes: 6 additions & 6 deletions
12
Terraform_Examples/resource_files/data_label_rego/last_name_test.rego
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
package classifier_last_name | ||
|
||
test_dob_pattern { | ||
test_ln_pattern { | ||
output.last_name == "LAST_NAME" with input as {"last_name":"Doe"} | ||
} | ||
|
||
test_dob_pattern { | ||
test_ln_pattern { | ||
output.last_name == "LAST_NAME" with input as {"last_name":"Williams-Brown"} | ||
} | ||
|
||
test_dob_pattern { | ||
test_ln_pattern { | ||
output.lastname == "LAST_NAME" with input as {"lastname":"Williams-Brown"} | ||
} | ||
|
||
test_dob_pattern { | ||
test_ln_pattern { | ||
output.lastName == "LAST_NAME" with input as {"lastName":"Williams-Brown"} | ||
} | ||
|
||
test_dob_pattern { | ||
test_ln_pattern { | ||
output.Last_Name == "LAST_NAME" with input as {"Last_Name":"Williams-Brown"} | ||
} | ||
|
||
test_dob_pattern { | ||
test_ln_pattern { | ||
output.LastName == "LAST_NAME" with input as {"LastName":"Williams-Brown"} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
Terraform_Examples/resource_files/data_label_rego/surname_test.rego
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
package classifier_surname | ||
|
||
test_dob_pattern { | ||
test_sn_pattern { | ||
output.surname == "SURNAME" with input as {"surname":"Doe"} | ||
} | ||
|
||
test_dob_pattern { | ||
test_sn_pattern { | ||
output.surname == "SURNAME" with input as {"surname":"Williams-Brown"} | ||
} | ||
|
||
test_dob_pattern { | ||
test_sn_pattern { | ||
output.surname == "SURNAME" with input as {"surname":"Williams-Brown"} | ||
} | ||
|
||
test_dob_pattern { | ||
test_sn_pattern { | ||
output.SurName == "SURNAME" with input as {"SurName":"Williams-Brown"} | ||
} | ||
|
||
test_dob_pattern { | ||
test_sn_pattern { | ||
output.SurName == "SURNAME" with input as {"SurName":"Williams-Brown"} | ||
} |
Oops, something went wrong.