shield
This commit is contained in:
@@ -24,6 +24,7 @@
|
|||||||
"drupal/page_manager": "^4.0@RC",
|
"drupal/page_manager": "^4.0@RC",
|
||||||
"drupal/paragraphs": "^1.20",
|
"drupal/paragraphs": "^1.20",
|
||||||
"drupal/redirect": "^1.12",
|
"drupal/redirect": "^1.12",
|
||||||
|
"drupal/shield": "^1.8",
|
||||||
"drupal/upgrade_status": "^4.3",
|
"drupal/upgrade_status": "^4.3",
|
||||||
"wikimedia/composer-merge-plugin": "^2.1"
|
"wikimedia/composer-merge-plugin": "^2.1"
|
||||||
},
|
},
|
||||||
|
|||||||
76
composer.lock
generated
76
composer.lock
generated
@@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "e3713c236ff05fa58bb8c392621b49c7",
|
"content-hash": "22d13c8520e4cf5ccfd938823e0ca9b7",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "asm89/stack-cors",
|
"name": "asm89/stack-cors",
|
||||||
@@ -6321,6 +6321,80 @@
|
|||||||
"source": "https://git.drupalcode.org/project/seven"
|
"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",
|
"name": "drupal/smart_trim",
|
||||||
"version": "2.3.1",
|
"version": "2.3.1",
|
||||||
|
|||||||
@@ -86,6 +86,7 @@ module:
|
|||||||
search: 0
|
search: 0
|
||||||
search_api: 0
|
search_api: 0
|
||||||
search_api_db: 0
|
search_api_db: 0
|
||||||
|
shield: 0
|
||||||
smart_trim: 0
|
smart_trim: 0
|
||||||
smtp: 0
|
smtp: 0
|
||||||
system: 0
|
system: 0
|
||||||
|
|||||||
17
config/sync/shield.settings.yml
Normal file
17
config/sync/shield.settings.yml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
_core:
|
||||||
|
default_config_hash: FLJZME3II5fjmMSrdEvJHp95ZJf8V_X0jbX0VdVU1BU
|
||||||
|
shield_enable: false
|
||||||
|
credential_provider: shield
|
||||||
|
credentials:
|
||||||
|
shield:
|
||||||
|
user: ''
|
||||||
|
pass: ''
|
||||||
|
allow_cli: true
|
||||||
|
debug_header: false
|
||||||
|
unset_basic_auth_headers: true
|
||||||
|
print: Hello!
|
||||||
|
method: 0
|
||||||
|
paths: ''
|
||||||
|
allowlist: ''
|
||||||
|
http_method_allowlist: { }
|
||||||
|
domains: ''
|
||||||
@@ -184,12 +184,3 @@ AddEncoding gzip svgz
|
|||||||
# Disable Proxy header, since it's an attack vector.
|
# Disable Proxy header, since it's an attack vector.
|
||||||
RequestHeader unset Proxy
|
RequestHeader unset Proxy
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
|
|
||||||
AuthUserFile /site/mathallo/.htpasswd
|
|
||||||
AuthGroupFile /dev/null
|
|
||||||
AuthName "Accès restreints - Veuillez vous authentifier"
|
|
||||||
AuthType Basic
|
|
||||||
require valid-user
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user