From 4360ccc6f363edcffd6a3811732a4a8db68e2495 Mon Sep 17 00:00:00 2001 From: Cameron Lamb Date: Thu, 5 Oct 2023 12:12:25 +0100 Subject: [PATCH] Update PII Why is `.filtered li:not([data-match` not working? --- pii-ner-exclude.txt | 68 +++++++++++++++++++++++ pii-secret-exclude.txt | 1 + src/core/templates/core/deactivated.html | 2 +- src/core/templates/includes/footer.html | 2 +- src/core/templates/includes/header.html | 3 +- src/core/templates/wagtailadmin/base.html | 2 +- 6 files changed, 73 insertions(+), 5 deletions(-) diff --git a/pii-ner-exclude.txt b/pii-ner-exclude.txt index 4fcdaba07..533922427 100644 --- a/pii-ner-exclude.txt +++ b/pii-ner-exclude.txt @@ -1,9 +1,11 @@ -O codecov.sh https://codecov.io/bash +.filtered li:not([data-match › " INSERT INTO peoplefinder_teamtree ( " INSERT INTO public.wagtaildocs_document " INSERT INTO public.wagtailimages_image " INSERT INTO public.wagtailmedia_media +"Annotate the queryset "Submit that the given person "Wordpress GUID { item.action|title } @@ -58,6 +60,7 @@ American Samoa Andorra Antarctica Antigua and Barbuda" +apply_active_classes=True %} AQ Args aria-controls="navigation @@ -70,12 +73,17 @@ ATOMIC_REBUILD AU audit log AuditLog +AUTHBROKER_CLIENT_ID AuthenticationFailed AuthenticationFailed +AuthenticationMiddleware +AutoField +AWS b"Add B006 b1b4b6 B901 +BACKEND backup_file_dev.backup backup.sql Bakery @@ -86,9 +94,11 @@ Bhutan body_no_html Botswana Bouvet Island +br>=0.4.5 django-environ>=0.4.5,<0.5 django-storages==1.11.1 +django.middleware.common DjangoCelery DjangoTemplates DK @@ -172,17 +194,26 @@ el = e.target Elastic ELASTIC_APM_SECRET_TOKEN ELLIPSIS +english EO errors.push('Photo EU +Europe event.preventDefault +F Y f"/people/{person.slug}/ f"/teams/{team.slug}/ f"Error F401 +F405 Falkland Islands Fast Track" FCO +FEEDBACK_FORMS +FEEDBACK_NOTIFICATION_EMAIL_TEMPLATE_ID +FIELD_COMMENT_LEGEND +FIELD_SATISFACTION_LEGEND +FileHandler FileReader found

network
.

href="https://www.nationalarchives.gov.uk +href="https://www.nationalarchives.gov.uk/information-management html { htmllaundry HTTP http://purl.org/dc/elements/1.1/ http://wordpress.org/export/1.2/ http://www.test.com/test/img-1.jpg +https https://docs.djangoproject.com/en/3.2/topics/http/sessions/#using-sessions-out-of-views https://pypi.org/project/django-settings-export/ https://stackoverflow.com/a/417184 @@ -248,6 +283,7 @@ https://www.googletagmanager.com/gtm.js?id='+i+dl+ ' HU IDE IGNORE_ANTI_VIRUS +img { img aria IMPLIED Import Wordpress @@ -258,7 +294,9 @@ Insert IntegerField International Trade is_superuser +item { item_id +j F Y Jan Mayen JE JM @@ -276,6 +314,7 @@ KN Lao People's Democratic Republic LearningInterest leaving{% +Level Navigation li { li class="quick-links li class="ws-whats @@ -295,9 +334,13 @@ manager_id markdown==3.3.4 Marshall Math.round((cropperData.x +max max_length=-1 +max-height +max-width McDonald Islands Mentor +MessageMiddleware method="GET Micronesia (Federated States Microsoft @@ -320,6 +363,7 @@ MZ NA NAME ner_output_file.txt +Network NetworksHome NEW_ASSET_PATH NewsPageNewsCategory @@ -339,6 +383,8 @@ Old Admiralty Building OPENSEARCH_JAVA_OPTS OPENSEARCH_JAVA_OPTS=-Xms512 OPTIONS +Order +page_tools_phrase_title_explicit Paraguay parent_id Parse Wordpress @@ -352,11 +398,13 @@ PERM_SEC_NAME person.roles.first PFM PFM_AWS_SECRET_ACCESS_KEY +Photo PHP PingdomConfig PM" PNG PoliciesHome +Polish Polynesia Privacy Policy PrivacyPolicy @@ -364,6 +412,7 @@ Private Office Profile Profile Editors" profile_completion__avg +PROFILE_DELETED_EMAIL_TEMPLATE_ID profile.contact_email ProfilePhoto Property / Estates @@ -379,21 +428,27 @@ RE re.match("documents_[0-9]+_title rect(1px RedirectMiddleware +RedisCache Relevanssi +Replicate request/ role="alert role="navigation roles__team__name +ROOT_LOG_LEVEL +rotate(90deg RS512 RU Russian S101 s3chunkuploader.fields +S3FileUploadHandler S703 SA Saint Helena @@ -413,6 +468,7 @@ self.seo_title SerializerMethodField Server-Authorization' SERVICE_NAME +SessionMiddleware Settings SG sha256 @@ -425,17 +481,24 @@ SN Software South Sudan SQL +SSO ST Stakeholder StreamHandler SV +svg { Syrian Arab Republic +taggit Tajikistan target="_blank Team +Team Admin Team Editors +Team.short_name team=1.26.5 +URLS +Use Markdown +UserConfig UUID v2 VA Valid VC VCAP S3 +VCAP_SERVICES Video Video Card Video or Audio view_howdoipreview +vimeo VU W W503 diff --git a/pii-secret-exclude.txt b/pii-secret-exclude.txt index 94267ec47..e7c47b6e8 100644 --- a/pii-secret-exclude.txt +++ b/pii-secret-exclude.txt @@ -1,6 +1,7 @@ .env.ci .env.example .pre-commit-config.yaml +docs/contributing/testing.md docs/features/search.excalidraw import_wordpress/test/wordpress_test.xml Makefile diff --git a/src/core/templates/core/deactivated.html b/src/core/templates/core/deactivated.html index 608c9b55b..b070d0157 100644 --- a/src/core/templates/core/deactivated.html +++ b/src/core/templates/core/deactivated.html @@ -6,6 +6,6 @@

Your user ({{ user }}) has been deactivated

If this is incorrect, or you wish to be reactivated, please email - datahubsupport@uktrade.zendesk.com. + datahubsupport@uktrade.zendesk.com. {# /PS-IGNORE #}

{% endblock %} diff --git a/src/core/templates/includes/footer.html b/src/core/templates/includes/footer.html index f8221c800..1d2e9d689 100644 --- a/src/core/templates/includes/footer.html +++ b/src/core/templates/includes/footer.html @@ -41,7 +41,7 @@

Support links

Feedback + href="mailto:digitalworkspace@digital.trade.gov.uk">Feedback {# /PS-IGNORE #} diff --git a/src/core/templates/includes/header.html b/src/core/templates/includes/header.html index 45455632e..6206143f8 100644 --- a/src/core/templates/includes/header.html +++ b/src/core/templates/includes/header.html @@ -10,8 +10,7 @@ Department for Business & Trade diff --git a/src/core/templates/wagtailadmin/base.html b/src/core/templates/wagtailadmin/base.html index 912296676..b6b8966be 100644 --- a/src/core/templates/wagtailadmin/base.html +++ b/src/core/templates/wagtailadmin/base.html @@ -2,7 +2,7 @@ {% load render_bundle webpack_static from webpack_loader %} {% block branding_logo %} Department for Business & Trade logo Digital Workspace CMS