From c8a0fbf28bb09c710b99e52d5cfc6b5b9743128d Mon Sep 17 00:00:00 2001 From: bach Date: Mon, 13 Jul 2026 18:01:40 +0200 Subject: [PATCH] activated shield --- composer.json | 1 + composer.lock | 76 ++++++++++++++++++++++++++++++++- config/sync/core.extension.yml | 1 + config/sync/shield.settings.yml | 17 ++++++++ 4 files changed, 94 insertions(+), 1 deletion(-) create mode 100644 config/sync/shield.settings.yml diff --git a/composer.json b/composer.json index 8ae5611..f4dc2fa 100644 --- a/composer.json +++ b/composer.json @@ -24,6 +24,7 @@ "drupal/migrate_google_sheets": "^2.3", "drupal/migrate_tools": "^6.1", "drupal/page_manager": "^4.0@RC", + "drupal/shield": "^1.8", "wikimedia/composer-merge-plugin": "^2.1" }, "conflict": { diff --git a/composer.lock b/composer.lock index 8693010..a401432 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "106972960801f7381a1a67ec42c2c2ec", + "content-hash": "0b0b3210b893eaaa833b27f1e6fae4c9", "packages": [ { "name": "asm89/stack-cors", @@ -6241,6 +6241,80 @@ "source": "https://git.drupalcode.org/project/seven" } }, + { + "name": "drupal/shield", + "version": "1.8.0", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/shield.git", + "reference": "8.x-1.8" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/shield-8.x-1.8.zip", + "reference": "8.x-1.8", + "shasum": "709b5580790a3b5bd8dda26f722cdb5a9c3911c5" + }, + "require": { + "drupal/core": "^9.2 || ^10 || ^11" + }, + "require-dev": { + "drupal/key": "^1.16" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "8.x-1.8", + "datestamp": "1719947682", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + }, + "branch-alias": { + "dev-8.x-1.x": "1.x-dev" + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "badjava", + "homepage": "https://www.drupal.org/user/83372" + }, + { + "name": "chx", + "homepage": "https://www.drupal.org/user/9446" + }, + { + "name": "geek-merlin", + "homepage": "https://www.drupal.org/user/229048" + }, + { + "name": "japerry", + "homepage": "https://www.drupal.org/user/45640" + }, + { + "name": "kalman.hosszu", + "homepage": "https://www.drupal.org/user/267481" + }, + { + "name": "pkiraly", + "homepage": "https://www.drupal.org/user/352587" + }, + { + "name": "vbouchet", + "homepage": "https://www.drupal.org/user/1671428" + } + ], + "description": "Creates a general shield for the site.", + "homepage": "https://www.drupal.org/project/shield", + "support": { + "source": "https://git.drupalcode.org/project/shield" + } + }, { "name": "drupal/smart_trim", "version": "2.3.1", diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index 46e9051..e213ce8 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -87,6 +87,7 @@ module: responsive_image: 0 search_api: 0 search_api_db: 0 + shield: 0 smart_trim: 0 smtp: 0 system: 0 diff --git a/config/sync/shield.settings.yml b/config/sync/shield.settings.yml new file mode 100644 index 0000000..c66a7e9 --- /dev/null +++ b/config/sync/shield.settings.yml @@ -0,0 +1,17 @@ +_core: + default_config_hash: FLJZME3II5fjmMSrdEvJHp95ZJf8V_X0jbX0VdVU1BU +shield_enable: true +credential_provider: shield +credentials: + shield: + user: leshed + pass: ztE5cpdhHdfY5w +allow_cli: true +debug_header: false +unset_basic_auth_headers: true +print: Hello! +method: 0 +paths: '' +allowlist: '' +http_method_allowlist: { } +domains: ''