diff --git a/pebblo/entity_classifier/entity_classifier.py b/pebblo/entity_classifier/entity_classifier.py index 2552457a..34fd19e6 100644 --- a/pebblo/entity_classifier/entity_classifier.py +++ b/pebblo/entity_classifier/entity_classifier.py @@ -200,14 +200,14 @@ def presidio_entity_classifier_and_anonymizer( input_text = " My SSN is 222-85-4836. ITIN number 993-77 0690 - And AWS Access Key is: AKIAQIPT4PDORIRTV6PH." # NOSONAR + And AWS Access Key is: AKIAQIPT4PDORIRTV6PH." response: entities = {'aws-access-key': 1, 'us-itin': 1, 'us-ssn': 1} total_count = 3 anonymized_text = "My SSN is <US_SSN>. ITIN number <US_ITIN> And AWS Access Key is: <AWS_ACCESS_KEY>." - """ + """ #NOSONAR entities = {} total_count = 0 try: diff --git a/tests/entity_classifier/test_data.py b/tests/entity_classifier/test_data.py index 0296b86f..86ca7b7a 100644 --- a/tests/entity_classifier/test_data.py +++ b/tests/entity_classifier/test_data.py @@ -3,7 +3,7 @@ ITIN number 993-77 0690 His AWS Access Key is: AKIAQIPT4PDORIRTV6PH. And Github Token is: ghp_hgu657yiujgwfrtigu3ver238765tyuhygvtrder6t7gyvhbuy5e676578976tyghy76578uygfyfgcyturtdf -""" # NOSONAR +""" #NOSONAR input_text2 = """ Content @@ -26,7 +26,7 @@ Slack Token - xoxb-3204014939555-4519358291237-TTIf0243T8YFSAGEVr1wBrWE Google API key- KLzaSyB_tWrbmfWx8g2bzL7Vhq7znuTUn0JPKmY" My IP Address - 10.55.60.61 -""" # NOSONAR +""" #NOSONAR negative_data = """ Sachin's SSN is 222-85.