pulpcore 3.123.2__tar.gz → 3.123.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pulpcore-3.123.2 → pulpcore-3.123.3}/CHANGES.md +26 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/PKG-INFO +1 -1
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/app/__init__.py +1 -1
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/app/__init__.py +1 -1
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/apps.py +1 -1
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/models/publication.py +37 -5
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/serializers/__init__.py +1 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/serializers/fields.py +11 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/serializers/publication.py +13 -2
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/settings.py +5 -0
- pulpcore-3.123.3/pulpcore/tests/unit/test_content_guard.py +379 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore.egg-info/PKG-INFO +1 -1
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pyproject.toml +2 -2
- pulpcore-3.123.2/pulpcore/tests/unit/test_content_guard.py +0 -250
- {pulpcore-3.123.2 → pulpcore-3.123.3}/CODE_OF_CONDUCT.md +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/COMMITMENT +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/CONTRIBUTING.md +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/COPYRIGHT +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/LICENSE +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/MANIFEST.in +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/README.md +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/ci_requirements.txt +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/functest_requirements.txt +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/manage.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/app/migrations/0001_initial.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/app/migrations/0002_alter_rhsmcertguard_contentguard_ptr_and_more.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/app/migrations/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/app/models.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/app/serializers.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/app/viewsets.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/pytest_plugin.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/rhsm/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/rhsm/rhsm_check_path.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/api/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/api/test_rhsm_certguard.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/api/test_x509_certguard.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/rhsm/katello-default-ca.crt +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/rhsm/katello-default-ca.key +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/rhsm/trusted_but_expired.pem +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/rhsm/uber.cert +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/rhsm/untrusted_cert-key.pem +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/rhsm/untrusted_cert.pem +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/rhsm/v1/1514454871848760713-key.pem +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/rhsm/v1/1514454871848760713.pem +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/rhsm/v1/159442575569388840-key.pem +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/rhsm/v1/159442575569388840.pem +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/rhsm/v3/4260035510644027985-key.pem +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/rhsm/v3/4260035510644027985.pem +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/rhsm/v3/5527980418107729172-key.pem +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/rhsm/v3/5527980418107729172.pem +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/thirdparty_ca/certificates/ca.pem +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/thirdparty_ca/genca.sh +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/thirdparty_ca/keys/ca.pem +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/x509/certificates/ca.pem +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/x509/certificates/client.pem +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/x509/certificates/server.pem +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/x509/certificates/un_urlencoded_cert.txt +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/x509/certificates/untrusted_client.pem +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/x509/genall.sh +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/x509/genca.sh +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/x509/genclient.sh +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/x509/gensrv.sh +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/x509/keys/ca.pem +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/x509/keys/client.pem +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/artifacts/x509/keys/server.pem +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/conftest.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/functional/constants.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/unit/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/unit/certdata.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_certguard/tests/unit/test_rhsm_check_path.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/app/migrations/0001_initial_squashed_0016_add_domain.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/app/migrations/0017_alter_filealternatecontentsource_alternatecontentsource_ptr_and_more.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/app/migrations/0018_alter_filecontent_options.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/app/migrations/0019_add_filegitremote.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/app/migrations/0020_filerepository_last_sync_details.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/app/migrations/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/app/modelresource.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/app/models.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/app/replica.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/app/serializers.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/app/settings.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/app/tasks/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/app/tasks/publishing.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/app/tasks/synchronizing.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/app/viewsets.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/manifest.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/pytest_plugin.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/functional/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/functional/api/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/functional/api/test_acs.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/functional/api/test_auto_publish.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/functional/api/test_bad_sync.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/functional/api/test_content_labels.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/functional/api/test_crud_content_unit.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/functional/api/test_crud_remotes.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/functional/api/test_distributed_publication.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/functional/api/test_domains.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/functional/api/test_download_policies.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/functional/api/test_filesystem_export.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/functional/api/test_generic_list.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/functional/api/test_git_sync.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/functional/api/test_labels.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/functional/api/test_mime_types.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/functional/api/test_overwrite_content.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/functional/api/test_publish.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/functional/api/test_pulp_export.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/functional/api/test_rbac.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/functional/api/test_remote_settings.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/functional/api/test_responses.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/functional/api/test_sync.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/functional/api/test_sync_optimization.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/unit/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/unit/test_git_sync.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/unit/test_safe_paths.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/unit/test_serializers.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulp_file/tests/unit/test_sync_optimization.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/access_policy.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/authentication.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/checks.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/contexts.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/entrypoint.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/files.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/find_url.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/global_access_conditions.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/importexport.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/loggers.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/manage.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/management/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/management/commands/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/management/commands/add-signing-service.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/management/commands/analyze-publication.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/management/commands/clean-up-progress-reports.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/management/commands/clear-cache.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/management/commands/datarepair-2327.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/management/commands/datarepair.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/management/commands/dump-permissions.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/management/commands/dump-publications-to-fs.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/management/commands/handle-artifact-checksums.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/management/commands/list-signing-services.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/management/commands/migrationstat.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/management/commands/openapi.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/management/commands/optimizemigration.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/management/commands/rebasemigrations.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/management/commands/remove-plugin.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/management/commands/remove-signing-service.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/management/commands/repository-size.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/management/commands/reset-admin-password.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/management/commands/rotate-db-key.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/management/commands/shell.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0001_squashed_0090_char_to_text_field.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0091_systemid.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0092_alter_upload_options.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0093_add_info_field_repositoryversion.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0094_protect_repository_content.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0095_artifactdistribution.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0096_alter_task_logging_cid.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0097_remove_telemetry_task_schedule.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0098_pulp_labels.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0099_versions_field.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0100_upstreampulp.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0101_add_domain.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0102_add_domain_relations.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0103_alter_export_task.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0104_delete_label.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0105_abstract_uuid_gen.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0106_alter_artifactdistribution_distribution_ptr_and_more.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0107_distribution_hidden.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0108_task_versions.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0109_contentartifact_relative_path_index.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0110_apiappstatus.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0111_task_enc_args_task_enc_kwargs.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0112_alter_upstreampulp_options.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0113_headercontentguard.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0114_remove_task_args_remove_task_kwargs.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0115_compositecontentguard.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0116_alter_remoteartifact_md5_alter_remoteartifact_sha1_and_more.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0117_task_unblocked_at.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0118_task_core_task_unblock_2276a4_idx_and_more.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0119_grouprole_core_groupr_object__250e22_idx_and_more.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0120_get_url_removal.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0121_add_profile_artifacts_table.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0122_record_last_replication_timestamp.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0123_upstreampulp_q_select.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0124_task_deferred_task_immediate.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0125_openpgpdistribution_openpgpkeyring_openpgppublickey_and_more.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0126_remoteartifact_failed_at.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0127_remove_upstreampulp_pulp_label_select.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0128_domain_pulp_labels.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0129_content_pulp_labels.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0130_upstreampulp_policy.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0131_distribution_checkpoint_publication_checkpoint.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0132_alter_content_options.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0132_task_profile_options.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0133_repositoryversion_content_ids.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0134_task_insert_trigger.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0135_task_pulp_task_resources_index.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0136_delete_basedistribution.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0137_appstatus.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0138_vulnerabilityreport.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0139_task_app_lock.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0140_require_appstatus_zdu.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0141_alter_appstatus_name.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0142_task_result.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0143_require_app_lock_zdu.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0144_delete_old_appstatus.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0145_domainize_import_export.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0146_repository_retain_checkpoints.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0147_content_pulp_labels_gin.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0148_artifact_artifact_domain_size_index.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0149_distributedpublication.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0150_taskschedule_task_kwargs.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0151_upstreampulp_connect_timeout_and_more.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0152_alter_repositoryversion_content_ids.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0153_taskschedule_pulp_domain_alter_taskschedule_name_and_more.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0154_task_api_version.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0155_create_rel_path_domains.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0156_alter_contentartifact_relative_path_and_more.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0157_distribution_base_path_constraint.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0158_domain_default_content_guard.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0159_alter_contentartifact_relative_path_and_more.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0160_envvarheadercontentguard.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/0161_upstreampulp_remote_policy.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/migrations/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/mime_types.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/modelresource.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/models/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/models/access_policy.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/models/acs.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/models/analytics.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/models/base.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/models/content.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/models/domain.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/models/exporter.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/models/fields.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/models/generic.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/models/importer.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/models/openpgp.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/models/progress.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/models/replica.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/models/repository.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/models/role.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/models/status.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/models/storage.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/models/task.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/models/upload.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/models/vulnerability_report.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/netutil.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/openpgp.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/protobuf/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/protobuf/analytics_pb2.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/pulp_hashlib.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/pulpcore_gunicorn_application.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/redis_connection.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/replica.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/response.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/role_util.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/serializers/access_policy.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/serializers/acs.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/serializers/base.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/serializers/content.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/serializers/domain.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/serializers/exporter.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/serializers/importer.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/serializers/openpgp.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/serializers/orphans.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/serializers/progress.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/serializers/purge.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/serializers/reclaim.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/serializers/repair.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/serializers/replica.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/serializers/repository.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/serializers/status.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/serializers/task.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/serializers/upload.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/serializers/user.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/serializers/vulnerability_report.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/tasks/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/tasks/analytics.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/tasks/base.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/tasks/datarepair.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/tasks/export.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/tasks/importer.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/tasks/migrate.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/tasks/orphan.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/tasks/purge.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/tasks/reclaim_space.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/tasks/replica.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/tasks/repository.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/tasks/telemetry.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/tasks/test.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/tasks/upload.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/tasks/vulnerability_report.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/templates/rest_framework/api.html +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/templatetags/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/templatetags/pulp_urls.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/urls.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/util.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/views/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/views/datarepair.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/views/importer.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/views/orphans.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/views/repair.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/views/status.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/viewsets/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/viewsets/access_policy.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/viewsets/acs.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/viewsets/base.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/viewsets/content.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/viewsets/custom_filters.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/viewsets/domain.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/viewsets/exporter.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/viewsets/importer.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/viewsets/openpgp.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/viewsets/orphans.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/viewsets/publication.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/viewsets/reclaim.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/viewsets/replica.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/viewsets/repository.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/viewsets/task.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/viewsets/upload.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/viewsets/user.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/viewsets/vulnerability_report.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/workload_identity/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/workload_identity/authentication.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/workload_identity/authz.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/workload_identity/backend.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/workload_identity/config.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/workload_identity/principal.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/workload_identity/rules.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/app/wsgi.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/backends.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/cache/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/cache/cache.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/constants.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/content/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/content/authentication.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/content/entrypoint.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/content/handler.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/content/instrumentation.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/download/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/download/base.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/download/factory.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/download/file.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/download/http.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/exceptions/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/exceptions/base.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/exceptions/plugin.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/exceptions/validation.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/filters.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/metrics.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/middleware.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/migrations.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/openapi/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/openapi/hooks.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/pagination.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/access_policy.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/actions.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/apps.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/authentication/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/cache/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/constants.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/content.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/download/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/exceptions.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/files.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/find_url.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/importexport.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/migrations.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/modelresources.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/models/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/models/role.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/publication_utils.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/pulp_hashlib.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/replica.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/repo_version_utils.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/responses.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/serializers/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/serializers/content.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/stages/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/stages/api.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/stages/artifact_stages.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/stages/content_stages.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/stages/declarative_version.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/stages/models.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/storage.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/sync.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/tasking.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/util.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/viewsets/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/plugin/viewsets/content.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/pytest_plugin.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/responses.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/saml2/backends.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tasking/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tasking/_util.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tasking/entrypoint.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tasking/kafka.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tasking/redis_locks.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tasking/redis_tasks.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tasking/redis_worker.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tasking/storage.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tasking/tasks.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tasking/worker.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/test_access_policy.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/test_api_docs.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/test_api_root_rewrite.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/test_artifact_distribution.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/test_auth.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/test_correlation_id.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/test_crd_artifacts.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/test_crud_domains.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/test_filter.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/test_login.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/test_openapi_schema.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/test_openpgp.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/test_replication.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/test_repos.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/test_role.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/test_root_endpoint.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/test_scoping.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/test_signing_service.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/test_status.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/test_task_purge.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/test_tasking.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/test_upload.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/test_users_groups.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/test_v4_status.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/test_workers.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/using_plugin/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/using_plugin/test_cdn_cache_validation.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/using_plugin/test_checkpoint.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/using_plugin/test_content_access.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/using_plugin/test_content_cache.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/using_plugin/test_content_delivery.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/using_plugin/test_content_directory.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/using_plugin/test_content_path.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/using_plugin/test_content_promotion.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/using_plugin/test_contentguard.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/using_plugin/test_crud_repos.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/using_plugin/test_distributions.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/using_plugin/test_filesystemexport.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/using_plugin/test_labels.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/using_plugin/test_migrate.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/using_plugin/test_orphans.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/using_plugin/test_pagination.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/using_plugin/test_prn.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/using_plugin/test_proxy.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/using_plugin/test_pulpimport.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/using_plugin/test_reclaim_disk_space.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/using_plugin/test_repair.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/using_plugin/test_repo_versions.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/using_plugin/test_tasks.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/api/using_plugin/test_unlinking_repo.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/assets/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/content_with_coverage.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/functional/utils.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/performance/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/performance/test_performance.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/conftest.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/content/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/content/test_handler.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/content/test_heartbeat.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/download/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/download/test_downloader_base.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/download/test_downloader_factory.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/download/test_downloader_file.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/export/test_local_fs_export.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/metrics/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/metrics/conftest.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/metrics/test_aiohttp_instrumentation.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/metrics/test_django_instrumentation.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/migration/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/models/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/models/test_base.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/models/test_caching_and_retention.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/models/test_content.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/models/test_content_ids_migration.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/models/test_distribution.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/models/test_fields.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/models/test_remote.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/models/test_repository.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/models/test_task.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/roles/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/roles/test_adjust_roles.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/roles/test_roles.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/serializers/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/serializers/test_base.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/serializers/test_domain.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/serializers/test_fields.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/serializers/test_orphans_cleanup.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/serializers/test_pulpexport.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/serializers/test_repository.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/serializers/test_user.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/stages/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/stages/test_artifactdownloader.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/stages/test_resource_budget.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/stages/test_stages.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/tasking/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/tasking/test_delete_tasks.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/tasking/test_missing_worker_cleanup.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/tasking/test_orphan_redis_locks.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/tasking/test_redis_fetch_task.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/tasking/test_waiting_tasks_metric.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/test_cache.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/test_chunked_file.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/test_clear_cache_command.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/test_fetch_task_hol_blocking.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/test_files.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/test_gpg_verify.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/test_import_checks.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/test_list_signing_services_command.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/test_middleware.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/test_pulp_urls.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/test_replica.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/test_settings.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/test_signing_service.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/test_util.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/test_viewsets.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/test_vulnerability_report.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/viewsets/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/viewsets/test_viewset_base.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/workload_identity/__init__.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore/tests/unit/workload_identity/test_workload_identity.py +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore.egg-info/SOURCES.txt +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore.egg-info/dependency_links.txt +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore.egg-info/entry_points.txt +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore.egg-info/requires.txt +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/pulpcore.egg-info/top_level.txt +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/setup.cfg +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/test_requirements.txt +0 -0
- {pulpcore-3.123.2 → pulpcore-3.123.3}/unittest_requirements.txt +0 -0
|
@@ -8,6 +8,32 @@
|
|
|
8
8
|
|
|
9
9
|
[//]: # (towncrier release notes start)
|
|
10
10
|
|
|
11
|
+
## 3.123.3 (2026-11-18) {: #3.123.3 }
|
|
12
|
+
|
|
13
|
+
### REST API {: #3.123.3-rest-api }
|
|
14
|
+
|
|
15
|
+
#### Bugfixes {: #3.123.3-rest-api-bugfix }
|
|
16
|
+
|
|
17
|
+
- Disabled complex `jq_filter` programs in `HeaderContentGuard` by default. Simple dotted paths continue to work. Use `settings.ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT` if you __need__ to use it. CVE-2026-123084
|
|
18
|
+
|
|
19
|
+
#### Deprecations {: #3.123.3-rest-api-deprecation }
|
|
20
|
+
|
|
21
|
+
- Deprecated `jq_filter` allowing to run arbitrary jq scripts for scheduled removal in 3.130. It will be removed with its feature flag `settings.ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT`. Relates to CVE-2026-123084.
|
|
22
|
+
|
|
23
|
+
### Plugin API {: #3.123.3-plugin-api }
|
|
24
|
+
|
|
25
|
+
No significant changes.
|
|
26
|
+
|
|
27
|
+
### Pulp File {: #3.123.3-pulp-file }
|
|
28
|
+
|
|
29
|
+
No significant changes.
|
|
30
|
+
|
|
31
|
+
### Pulp Cert Guard {: #3.123.3-pulp-cert-guard }
|
|
32
|
+
|
|
33
|
+
No significant changes.
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
11
37
|
## 3.123.2 (2026-11-05) {: #3.123.2 }
|
|
12
38
|
|
|
13
39
|
### REST API {: #3.123.2-rest-api }
|
|
@@ -7,10 +7,10 @@ import re
|
|
|
7
7
|
from base64 import b64decode
|
|
8
8
|
from binascii import Error as Base64DecodeError
|
|
9
9
|
from datetime import timedelta
|
|
10
|
+
from functools import reduce
|
|
10
11
|
from gettext import gettext as _
|
|
11
12
|
from urllib.parse import urljoin, urlparse
|
|
12
13
|
|
|
13
|
-
import jq
|
|
14
14
|
from aiohttp.web_exceptions import HTTPNotFound
|
|
15
15
|
from django.conf import settings
|
|
16
16
|
from django.contrib.postgres.fields import HStoreField
|
|
@@ -22,6 +22,7 @@ from rest_framework.exceptions import APIException
|
|
|
22
22
|
from url_normalize import url_normalize
|
|
23
23
|
|
|
24
24
|
from pulpcore.app.files import PulpTemporaryUploadedFile
|
|
25
|
+
from pulpcore.app.loggers import deprecation_logger
|
|
25
26
|
from pulpcore.app.models import AutoAddObjPermsMixin
|
|
26
27
|
from pulpcore.app.models.fields import RelativePathField
|
|
27
28
|
from pulpcore.app.util import cache_key, get_domain_pk, get_url, retain_distributed_pub_enabled
|
|
@@ -35,6 +36,13 @@ from .task import CreatedResource
|
|
|
35
36
|
|
|
36
37
|
_logger = logging.getLogger(__name__)
|
|
37
38
|
|
|
39
|
+
if settings.ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT: # noqa
|
|
40
|
+
import jq
|
|
41
|
+
else:
|
|
42
|
+
# Match a dotted identifier path.
|
|
43
|
+
# e.g.: "tenant.auth.token"
|
|
44
|
+
json_path_re = re.compile(r"(?:\.\w+)+", flags=re.ASCII)
|
|
45
|
+
|
|
38
46
|
|
|
39
47
|
class PublicationQuerySet(models.QuerySet):
|
|
40
48
|
"""A queryset that provides publication filtering methods."""
|
|
@@ -544,12 +552,36 @@ class HeaderContentGuard(ContentGuard, AutoAddObjPermsMixin):
|
|
|
544
552
|
|
|
545
553
|
if self.jq_filter:
|
|
546
554
|
try:
|
|
547
|
-
|
|
548
|
-
|
|
555
|
+
header_json = json.loads(header_decoded_content)
|
|
556
|
+
if settings.ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT: # noqa
|
|
557
|
+
deprecation_logger.warning(
|
|
558
|
+
"The use of actual jq filters is deprecated and scheduled for removal with "
|
|
559
|
+
"pulpcore 3.130."
|
|
560
|
+
)
|
|
561
|
+
# DISCLAIMER:
|
|
562
|
+
# The prelude attempts to strip the environment from the jq script.
|
|
563
|
+
# That does not mean it is safe to allow users to define a script to run on
|
|
564
|
+
# the content app.
|
|
565
|
+
JQ_PRELUDE = r"def env: {}; {} as $ENV |"
|
|
566
|
+
json_path = jq.compile(
|
|
567
|
+
f"{JQ_PRELUDE} {self.jq_filter}",
|
|
568
|
+
args={
|
|
569
|
+
"JQ_BUILD_CONFIGURATION": "",
|
|
570
|
+
"ARGS": {"positional": [], "named": {}},
|
|
571
|
+
},
|
|
572
|
+
)
|
|
549
573
|
|
|
550
|
-
|
|
574
|
+
header_value = json_path.input_value(header_json).first()
|
|
551
575
|
|
|
552
|
-
|
|
576
|
+
elif json_path_re.fullmatch(self.jq_filter):
|
|
577
|
+
path = self.jq_filter.lstrip(".").split(".")
|
|
578
|
+
header_value = reduce(lambda x, y: x[y], path, header_json)
|
|
579
|
+
else:
|
|
580
|
+
_logger.warning(
|
|
581
|
+
"Using 'jq_filter' is only allowed with simple paths on this installation."
|
|
582
|
+
)
|
|
583
|
+
raise PermissionError(_("ContentGuard misconfigured."))
|
|
584
|
+
except (TypeError, KeyError, ValueError, StopIteration):
|
|
553
585
|
_logger.debug("Access not allowed - Invalid JSON or Path not found.")
|
|
554
586
|
raise PermissionError(_("Access denied."))
|
|
555
587
|
else:
|
|
@@ -28,6 +28,17 @@ def relative_path_validator(relative_path):
|
|
|
28
28
|
return relative_path
|
|
29
29
|
|
|
30
30
|
|
|
31
|
+
class RegexValidator:
|
|
32
|
+
def __init__(self, regex, flags=0):
|
|
33
|
+
self.pattern = re.compile(regex, flags)
|
|
34
|
+
|
|
35
|
+
def __call__(self, value):
|
|
36
|
+
if not self.pattern.fullmatch(value):
|
|
37
|
+
raise serializers.ValidationError(
|
|
38
|
+
_("Value does not match pattern r'{}'.").format(self.pattern.pattern)
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
|
|
31
42
|
class RelativePathField(serializers.CharField):
|
|
32
43
|
"""
|
|
33
44
|
Serializer Field for the base_url field of the Distribution.
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import re
|
|
1
2
|
from gettext import gettext as _
|
|
2
3
|
|
|
3
4
|
from django.conf import settings
|
|
@@ -14,6 +15,7 @@ from pulpcore.app.serializers import (
|
|
|
14
15
|
DomainUniqueValidator,
|
|
15
16
|
GetOrCreateSerializerMixin,
|
|
16
17
|
ModelSerializer,
|
|
18
|
+
RegexValidator,
|
|
17
19
|
RelativePathField,
|
|
18
20
|
RepositoryVersionRelatedField,
|
|
19
21
|
pulp_labels_validator,
|
|
@@ -161,14 +163,23 @@ class HeaderContentGuardSerializer(ContentGuardSerializer, GetOrCreateSerializer
|
|
|
161
163
|
jq_filter = serializers.CharField(
|
|
162
164
|
help_text=_(
|
|
163
165
|
(
|
|
164
|
-
"A
|
|
165
|
-
"
|
|
166
|
+
"A simple dotted path (e.g. .a.b.c) used to extract the value from the "
|
|
167
|
+
"Base64 decoded JSON header. If jq_filter is not set, the header value "
|
|
168
|
+
"is only Base64 decoded and checked as an explicit string match."
|
|
166
169
|
)
|
|
167
170
|
),
|
|
168
171
|
allow_null=True,
|
|
169
172
|
required=False,
|
|
170
173
|
)
|
|
171
174
|
|
|
175
|
+
def validate_jq_filter(self, value):
|
|
176
|
+
if (
|
|
177
|
+
value is not None
|
|
178
|
+
and not settings.ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT
|
|
179
|
+
): # noqa
|
|
180
|
+
RegexValidator(r"(?:\.\w+)+", re.ASCII)(value)
|
|
181
|
+
return value
|
|
182
|
+
|
|
172
183
|
class Meta(ContentGuardSerializer.Meta):
|
|
173
184
|
model = models.HeaderContentGuard
|
|
174
185
|
fields = ContentGuardSerializer.Meta.fields + ("header_name", "header_value", "jq_filter")
|
|
@@ -456,6 +456,11 @@ UVLOOP_ENABLED = False
|
|
|
456
456
|
# Replaces every non PulpException error msg with "An internal error occured"
|
|
457
457
|
REDACT_UNSAFE_EXCEPTIONS = False
|
|
458
458
|
|
|
459
|
+
# JQ is a query language after all. And it should be considered on the same level as SQL.
|
|
460
|
+
# Do not allow users to write arbitrary programs to run on the content app.
|
|
461
|
+
# Exposes to at least CVE-2026-123084.
|
|
462
|
+
ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT = False
|
|
463
|
+
|
|
459
464
|
# HERE STARTS DYNACONF EXTENSION LOAD (Keep at the very bottom of settings.py)
|
|
460
465
|
# Read more at https://www.dynaconf.com/django/
|
|
461
466
|
|
|
@@ -0,0 +1,379 @@
|
|
|
1
|
+
import json
|
|
2
|
+
import os
|
|
3
|
+
import re
|
|
4
|
+
from base64 import b64encode
|
|
5
|
+
from unittest.mock import Mock
|
|
6
|
+
|
|
7
|
+
import jq
|
|
8
|
+
import pytest
|
|
9
|
+
from rest_framework.serializers import ValidationError
|
|
10
|
+
|
|
11
|
+
import pulpcore.app.models.publication
|
|
12
|
+
from pulpcore.app.models import (
|
|
13
|
+
ContentRedirectContentGuard,
|
|
14
|
+
EnvVarHeaderContentGuard,
|
|
15
|
+
HeaderContentGuard,
|
|
16
|
+
)
|
|
17
|
+
from pulpcore.app.serializers import EnvVarHeaderContentGuardSerializer
|
|
18
|
+
|
|
19
|
+
ENVVAR_HEADER = "X-Test-Content-Guard-Header"
|
|
20
|
+
ENVVAR_NAME = "ENVVAR_HEADER_GUARD_TEST_SECRET"
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def _encode_envvar_secret(secret):
|
|
24
|
+
return b64encode(secret.encode("utf-8")).decode("ascii")
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def _envvar_guard(env_var=ENVVAR_NAME):
|
|
28
|
+
return EnvVarHeaderContentGuard(
|
|
29
|
+
name="envvar_header_guard",
|
|
30
|
+
header_name=ENVVAR_HEADER,
|
|
31
|
+
env_var=env_var,
|
|
32
|
+
)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def _envvar_request(header_value=None, header_name=ENVVAR_HEADER):
|
|
36
|
+
request = Mock()
|
|
37
|
+
headers = {}
|
|
38
|
+
if header_value is not None:
|
|
39
|
+
headers[header_name] = header_value
|
|
40
|
+
request.headers = headers
|
|
41
|
+
return request
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
@pytest.fixture
|
|
45
|
+
def envvar_header_secret():
|
|
46
|
+
secret = os.environ.get(ENVVAR_NAME)
|
|
47
|
+
if secret is None or secret.rstrip("\r\n") == "":
|
|
48
|
+
pytest.skip(f"{ENVVAR_NAME} not set")
|
|
49
|
+
return secret.rstrip("\r\n")
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
def test_preauthenticate_urls(fake_domain):
|
|
53
|
+
"""Test that the redirecting content guard can produce url to the content app."""
|
|
54
|
+
|
|
55
|
+
original_url = "http://localhost:8080/pulp/content/dist/"
|
|
56
|
+
content_guard = ContentRedirectContentGuard(name="test")
|
|
57
|
+
content_guard2 = ContentRedirectContentGuard(name="test2")
|
|
58
|
+
signed_url = content_guard.preauthenticate_url(original_url)
|
|
59
|
+
signed_url2 = content_guard2.preauthenticate_url(original_url)
|
|
60
|
+
|
|
61
|
+
# analyse signed url
|
|
62
|
+
pattern = re.compile(
|
|
63
|
+
r"^(?P<url>.*)\?expires=(?P<expires>\d*)&validate_token=(?P<salt>.*):(?P<digest>.*)$"
|
|
64
|
+
)
|
|
65
|
+
url_match = pattern.match(signed_url)
|
|
66
|
+
assert bool(url_match)
|
|
67
|
+
assert url_match.group("url") == original_url
|
|
68
|
+
salt = url_match.group("salt")
|
|
69
|
+
digest = url_match.group("digest")
|
|
70
|
+
expires = url_match.group("expires")
|
|
71
|
+
|
|
72
|
+
url_match2 = pattern.match(signed_url2)
|
|
73
|
+
assert bool(url_match2)
|
|
74
|
+
assert url_match2.group("url") == original_url
|
|
75
|
+
salt2 = url_match2.group("salt")
|
|
76
|
+
digest2 = url_match2.group("digest")
|
|
77
|
+
|
|
78
|
+
request = Mock()
|
|
79
|
+
|
|
80
|
+
# Try unsigned url
|
|
81
|
+
request.url = original_url
|
|
82
|
+
request.query = {}
|
|
83
|
+
with pytest.raises(PermissionError):
|
|
84
|
+
content_guard.permit(request)
|
|
85
|
+
|
|
86
|
+
# Try valid url
|
|
87
|
+
request.url = signed_url
|
|
88
|
+
request.query = {"expires": expires, "validate_token": ":".join((salt, digest))}
|
|
89
|
+
content_guard.permit(request)
|
|
90
|
+
|
|
91
|
+
# Try changed hostname
|
|
92
|
+
request.url = signed_url.replace("localhost", "localnest")
|
|
93
|
+
request.query = {"expires": expires, "validate_token": ":".join((salt, digest))}
|
|
94
|
+
content_guard.permit(request)
|
|
95
|
+
|
|
96
|
+
# Try changed distribution
|
|
97
|
+
request.url = signed_url.replace("dist", "publication")
|
|
98
|
+
request.query = {"expires": expires, "validate_token": ":".join((salt, digest))}
|
|
99
|
+
with pytest.raises(PermissionError):
|
|
100
|
+
content_guard.permit(request)
|
|
101
|
+
|
|
102
|
+
# Try tempered salt
|
|
103
|
+
request.url = signed_url.replace(salt, salt2)
|
|
104
|
+
request.query = {"expires": expires, "validate_token": ":".join((salt2, digest))}
|
|
105
|
+
with pytest.raises(PermissionError):
|
|
106
|
+
content_guard.permit(request)
|
|
107
|
+
|
|
108
|
+
# Try tempered digest
|
|
109
|
+
request.url = signed_url.replace(digest, digest2)
|
|
110
|
+
request.query = {"expires": expires, "validate_token": ":".join((salt, digest2))}
|
|
111
|
+
with pytest.raises(PermissionError):
|
|
112
|
+
content_guard.permit(request)
|
|
113
|
+
|
|
114
|
+
# Try tempered expiry
|
|
115
|
+
request.url = signed_url.replace(digest, digest2)
|
|
116
|
+
request.query = {"expires": str(int(expires) + 1), "validate_token": ":".join((salt, digest2))}
|
|
117
|
+
with pytest.raises(PermissionError):
|
|
118
|
+
content_guard.permit(request)
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
class TestHeaderContentGuard:
|
|
122
|
+
"""Test HeaderContentGuard to protect content based on a specific header."""
|
|
123
|
+
|
|
124
|
+
@pytest.fixture()
|
|
125
|
+
def content_guard(self, fake_domain):
|
|
126
|
+
return HeaderContentGuard(
|
|
127
|
+
name="header_guard",
|
|
128
|
+
header_name="x-header-name",
|
|
129
|
+
header_value="somevalue",
|
|
130
|
+
)
|
|
131
|
+
|
|
132
|
+
def test_accepts_right_value(self, content_guard):
|
|
133
|
+
request = Mock()
|
|
134
|
+
encoded_value = b64encode(b"somevalue")
|
|
135
|
+
request.headers = {"x-header-name": encoded_value}
|
|
136
|
+
assert content_guard.permit(request) is None
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
class TestHeaderContentGuardWithJsonPath:
|
|
140
|
+
"""Test HeaderContentGuard to protect content based on a specific header."""
|
|
141
|
+
|
|
142
|
+
@pytest.fixture()
|
|
143
|
+
def content_guard(self, settings, fake_domain):
|
|
144
|
+
settings.ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT = False # noqa
|
|
145
|
+
return HeaderContentGuard(
|
|
146
|
+
name="header_guard",
|
|
147
|
+
header_name="x-header-name",
|
|
148
|
+
jq_filter=".this.is_a.path",
|
|
149
|
+
header_value="somevalue",
|
|
150
|
+
)
|
|
151
|
+
|
|
152
|
+
def test_rejects_wrong_value(self, settings, content_guard):
|
|
153
|
+
settings.ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT = False # noqa
|
|
154
|
+
|
|
155
|
+
request = Mock()
|
|
156
|
+
header_value = json.dumps({"this": {"is_a": {"path": "othervalue"}}})
|
|
157
|
+
encoded_value = b64encode(bytes(header_value, "ascii"))
|
|
158
|
+
|
|
159
|
+
request.headers = {"x-header-name": encoded_value}
|
|
160
|
+
with pytest.raises(PermissionError):
|
|
161
|
+
content_guard.permit(request)
|
|
162
|
+
|
|
163
|
+
def test_rejects_value_in_wrong_path(self, settings, content_guard):
|
|
164
|
+
settings.ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT = False # noqa
|
|
165
|
+
|
|
166
|
+
request = Mock()
|
|
167
|
+
header_value = json.dumps({"this": {"is": {"not_the": {"path": "somevalue"}}}})
|
|
168
|
+
encoded_value = b64encode(bytes(header_value, "ascii"))
|
|
169
|
+
|
|
170
|
+
request.headers = {"x-header-name": encoded_value}
|
|
171
|
+
with pytest.raises(PermissionError):
|
|
172
|
+
content_guard.permit(request)
|
|
173
|
+
|
|
174
|
+
def test_accepts_value_in_path(self, settings, content_guard):
|
|
175
|
+
settings.ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT = False # noqa
|
|
176
|
+
|
|
177
|
+
request = Mock()
|
|
178
|
+
header_value = json.dumps({"this": {"is_a": {"path": "somevalue"}}})
|
|
179
|
+
encoded_value = b64encode(bytes(header_value, "ascii"))
|
|
180
|
+
|
|
181
|
+
request.headers = {"x-header-name": encoded_value}
|
|
182
|
+
assert content_guard.permit(request) is None
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
class TestHeaderContentGuardWithJqFilter:
|
|
186
|
+
"""Test HeaderContentGuard to protect content based on a specific header using jq_filter."""
|
|
187
|
+
|
|
188
|
+
@pytest.fixture()
|
|
189
|
+
def content_guard(self, fake_domain, settings, monkeypatch):
|
|
190
|
+
settings.ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT = True # noqa
|
|
191
|
+
# Fake that we imported jq according to the (to late) changed settings.
|
|
192
|
+
monkeypatch.setattr(pulpcore.app.models.publication, "jq", jq, raising=False)
|
|
193
|
+
|
|
194
|
+
return HeaderContentGuard(
|
|
195
|
+
name="header_guard",
|
|
196
|
+
header_name="x-header-name",
|
|
197
|
+
jq_filter=".this.is.a|{path}.path",
|
|
198
|
+
header_value="somevalue",
|
|
199
|
+
)
|
|
200
|
+
|
|
201
|
+
def test_rejects_request_without_any_header(self, content_guard):
|
|
202
|
+
request = Mock()
|
|
203
|
+
request.headers = {}
|
|
204
|
+
|
|
205
|
+
with pytest.raises(PermissionError):
|
|
206
|
+
content_guard.permit(request)
|
|
207
|
+
|
|
208
|
+
def test_rejects_request_with_wrong_header(self, content_guard):
|
|
209
|
+
request = Mock()
|
|
210
|
+
request.headers = {"x-burger": "food"}
|
|
211
|
+
|
|
212
|
+
with pytest.raises(PermissionError):
|
|
213
|
+
content_guard.permit(request)
|
|
214
|
+
|
|
215
|
+
def test_rejects_request_with_value_not_base64(self, content_guard):
|
|
216
|
+
request = Mock()
|
|
217
|
+
request.headers = {"x-header-name": "somestring"}
|
|
218
|
+
|
|
219
|
+
with pytest.raises(PermissionError):
|
|
220
|
+
content_guard.permit(request)
|
|
221
|
+
|
|
222
|
+
def test_rejects_request_with_wrong_base64_value(self, content_guard):
|
|
223
|
+
request = Mock()
|
|
224
|
+
header_value = b64encode(b"anything_here")
|
|
225
|
+
request.headers = {"x-header-name": header_value}
|
|
226
|
+
|
|
227
|
+
with pytest.raises(PermissionError):
|
|
228
|
+
content_guard.permit(request)
|
|
229
|
+
|
|
230
|
+
def test_rejects_request_with_value_in_wrong_path(self, content_guard):
|
|
231
|
+
request = Mock()
|
|
232
|
+
header_value = json.dumps({"this": {"is": {"not_a": {"path": "somevalue"}}}})
|
|
233
|
+
encoded_value = b64encode(bytes(header_value, "ascii"))
|
|
234
|
+
request.headers = {"x-header-name": encoded_value}
|
|
235
|
+
|
|
236
|
+
with pytest.raises(PermissionError):
|
|
237
|
+
content_guard.permit(request)
|
|
238
|
+
|
|
239
|
+
def test_rejects_request_with_wrong_value_in_right_path(self, content_guard):
|
|
240
|
+
request = Mock()
|
|
241
|
+
header_value = json.dumps({"this": {"is": {"a": {"path": "anything_here"}}}})
|
|
242
|
+
encoded_value = b64encode(bytes(header_value, "ascii"))
|
|
243
|
+
request.headers = {"x-header-name": encoded_value}
|
|
244
|
+
|
|
245
|
+
with pytest.raises(PermissionError):
|
|
246
|
+
content_guard.permit(request)
|
|
247
|
+
|
|
248
|
+
def test_accepts_request_with_right_value_in_right_path(self, content_guard):
|
|
249
|
+
request = Mock()
|
|
250
|
+
header_value = json.dumps({"this": {"is": {"a": {"path": "somevalue"}}}})
|
|
251
|
+
encoded_value = b64encode(bytes(header_value, "ascii"))
|
|
252
|
+
request.headers = {"x-header-name": encoded_value}
|
|
253
|
+
|
|
254
|
+
assert content_guard.permit(request) is None
|
|
255
|
+
|
|
256
|
+
def test_jq_feature_flag(self, settings, caplog, content_guard):
|
|
257
|
+
settings.ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT = False # noqa
|
|
258
|
+
caplog.set_level("WARNING")
|
|
259
|
+
|
|
260
|
+
request = Mock()
|
|
261
|
+
header_value = json.dumps({"this": {"is": {"a": {"path": "somevalue"}}}})
|
|
262
|
+
encoded_value = b64encode(bytes(header_value, "ascii"))
|
|
263
|
+
request.headers = {"x-header-name": encoded_value}
|
|
264
|
+
|
|
265
|
+
with pytest.raises(PermissionError):
|
|
266
|
+
content_guard.permit(request)
|
|
267
|
+
|
|
268
|
+
print(caplog.records)
|
|
269
|
+
assert any(
|
|
270
|
+
record.levelname == "WARNING"
|
|
271
|
+
and record.message
|
|
272
|
+
== "Using 'jq_filter' is only allowed with simple paths on this installation."
|
|
273
|
+
for record in caplog.records
|
|
274
|
+
)
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
class TestHeaderContentGuardWithJqFilterExploitEnvOracle:
|
|
278
|
+
@pytest.fixture()
|
|
279
|
+
def content_guard(self, fake_domain, settings, monkeypatch):
|
|
280
|
+
monkeypatch.setenv("SECRET", "HONEYPOT")
|
|
281
|
+
settings.ALLOW_INSECURE_HEADER_CONTENT_GUARD_JQ_PROCESSING_AND_FORFEIT_ALL_COMMUNITY_SUPPORT = True # noqa
|
|
282
|
+
# Fake that we imported jq according to the (to late) changed settings.
|
|
283
|
+
monkeypatch.setattr(pulpcore.app.models.publication, "jq", jq, raising=False)
|
|
284
|
+
|
|
285
|
+
return HeaderContentGuard(
|
|
286
|
+
name="header_guard",
|
|
287
|
+
header_name="x-header-name",
|
|
288
|
+
jq_filter='"t"',
|
|
289
|
+
header_value="t",
|
|
290
|
+
)
|
|
291
|
+
|
|
292
|
+
def test_cannot_read_env(self, content_guard):
|
|
293
|
+
content_guard.jq_filter = 'if (env.SECRET[.pos:.pos+1] == .char) then "t" else "f" end'
|
|
294
|
+
|
|
295
|
+
request = Mock()
|
|
296
|
+
header_value = json.dumps({"pos": 3, "char": "E"})
|
|
297
|
+
encoded_value = b64encode(bytes(header_value, "ascii"))
|
|
298
|
+
request.headers = {"x-header-name": encoded_value}
|
|
299
|
+
|
|
300
|
+
with pytest.raises(PermissionError):
|
|
301
|
+
content_guard.permit(request)
|
|
302
|
+
|
|
303
|
+
def test_cannot_read_dollar_env(self, content_guard):
|
|
304
|
+
content_guard.jq_filter = 'if ($ENV.SECRET[.pos:.pos+1] == .char) then "t" else "f" end'
|
|
305
|
+
|
|
306
|
+
request = Mock()
|
|
307
|
+
header_value = json.dumps({"pos": 3, "char": "E"})
|
|
308
|
+
encoded_value = b64encode(bytes(header_value, "ascii"))
|
|
309
|
+
request.headers = {"x-header-name": encoded_value}
|
|
310
|
+
|
|
311
|
+
with pytest.raises(PermissionError):
|
|
312
|
+
content_guard.permit(request)
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
def test_envvar_header_content_guard_allows_matching_header(fake_domain, envvar_header_secret):
|
|
316
|
+
_envvar_guard().permit(_envvar_request(_encode_envvar_secret(envvar_header_secret)))
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
def test_envvar_header_content_guard_denies_missing_header(fake_domain, envvar_header_secret):
|
|
320
|
+
with pytest.raises(PermissionError, match="Header X-Test-Content-Guard-Header not found"):
|
|
321
|
+
_envvar_guard().permit(_envvar_request())
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
def test_envvar_header_content_guard_denies_wrong_header_name(fake_domain, envvar_header_secret):
|
|
325
|
+
with pytest.raises(PermissionError):
|
|
326
|
+
_envvar_guard().permit(
|
|
327
|
+
_envvar_request(
|
|
328
|
+
_encode_envvar_secret(envvar_header_secret), header_name="X-Other-Header"
|
|
329
|
+
)
|
|
330
|
+
)
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
def test_envvar_header_content_guard_denies_invalid_base64(fake_domain, envvar_header_secret):
|
|
334
|
+
with pytest.raises(PermissionError, match="not Base64 encoded"):
|
|
335
|
+
_envvar_guard().permit(_envvar_request("!!!c3VwZXItc2VjcmV0LXZhbHVl!!!"))
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
def test_envvar_header_content_guard_denies_non_base64_header(fake_domain, envvar_header_secret):
|
|
339
|
+
with pytest.raises(PermissionError, match="not Base64 encoded"):
|
|
340
|
+
_envvar_guard().permit(_envvar_request("A"))
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
def test_envvar_header_content_guard_denies_invalid_utf8(fake_domain, envvar_header_secret):
|
|
344
|
+
with pytest.raises(PermissionError, match="not valid UTF-8"):
|
|
345
|
+
_envvar_guard().permit(_envvar_request(b64encode(b"\xff\xfe").decode("ascii")))
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
def test_envvar_header_content_guard_denies_wrong_value(fake_domain, envvar_header_secret, caplog):
|
|
349
|
+
caplog.set_level("WARNING")
|
|
350
|
+
with pytest.raises(PermissionError, match="Access denied"):
|
|
351
|
+
_envvar_guard().permit(_envvar_request(_encode_envvar_secret("wrong-value")))
|
|
352
|
+
assert any(
|
|
353
|
+
record.levelname == "WARNING"
|
|
354
|
+
and record.message
|
|
355
|
+
== "Access not allowed. Header value does not match environment variable."
|
|
356
|
+
for record in caplog.records
|
|
357
|
+
)
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
def test_envvar_header_content_guard_denies_env_var_not_in_allowlist(fake_domain, caplog):
|
|
361
|
+
caplog.set_level("WARNING")
|
|
362
|
+
with pytest.raises(PermissionError, match="Access denied"):
|
|
363
|
+
_envvar_guard(env_var="HOME").permit(_envvar_request("not-base64"))
|
|
364
|
+
assert any(
|
|
365
|
+
record.levelname == "WARNING" and "Environment variable HOME is not in" in record.message
|
|
366
|
+
for record in caplog.records
|
|
367
|
+
)
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
def test_envvar_header_content_guard_denies_empty_env_var(fake_domain, monkeypatch):
|
|
371
|
+
monkeypatch.setenv(ENVVAR_NAME, "")
|
|
372
|
+
with pytest.raises(PermissionError, match="Access denied"):
|
|
373
|
+
_envvar_guard().permit(_envvar_request("not-base64"))
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
def test_envvar_header_content_guard_serializer_rejects_disallowed_env_var(fake_domain):
|
|
377
|
+
serializer = EnvVarHeaderContentGuardSerializer()
|
|
378
|
+
with pytest.raises(ValidationError):
|
|
379
|
+
serializer.validate_env_var("DJANGO_SECRET_KEY")
|
|
@@ -7,7 +7,7 @@ build-backend = 'setuptools.build_meta'
|
|
|
7
7
|
|
|
8
8
|
[project]
|
|
9
9
|
name = "pulpcore"
|
|
10
|
-
version = "3.123.
|
|
10
|
+
version = "3.123.3"
|
|
11
11
|
description = "Pulp Django Application and Related Modules"
|
|
12
12
|
readme = "README.md"
|
|
13
13
|
authors = [
|
|
@@ -207,7 +207,7 @@ ignore = [
|
|
|
207
207
|
[tool.bumpversion]
|
|
208
208
|
# This section is managed by the plugin template. Do not edit manually.
|
|
209
209
|
|
|
210
|
-
current_version = "3.123.
|
|
210
|
+
current_version = "3.123.3"
|
|
211
211
|
commit = false
|
|
212
212
|
tag = false
|
|
213
213
|
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<alpha>0a)?(?P<patch>\\d+)(\\.(?P<release>[a-z]+))?"
|