From: Robert Waffen Date: Fri, 14 Sep 2018 15:06:11 +0000 (+0200) Subject: fix lint for mobile-aem X-Git-Tag: v0.1.0~17^2~34 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=533506523a15b7426ec6323d78730f3e425f9803;p=pixelpark%2Fhiera.git fix lint for mobile-aem --- diff --git a/customer/mobile-aem/common.yaml b/customer/mobile-aem/common.yaml index 2fee15e7..1d19fb04 100644 --- a/customer/mobile-aem/common.yaml +++ b/customer/mobile-aem/common.yaml @@ -11,11 +11,11 @@ puppetconf::server: puppetmaster01.pixelpark.com infra::profile::logstash::apache::resources: log4j: resource: log4j - order: 10 # Input + order: 10 # Input parameters: host: '127.0.0.1' type: log4j - tags: + tags: - "%{customer}" - "%{tier}" @@ -113,21 +113,19 @@ infra::profile::aem::author::admin_pass: ENC[PKCS7,MIIBiQYJKoZIhvcNAQcDoIIBejCCA infra::profile::aem::author::jvm_opts: '-d64 -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9010 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -XX:SurvivorRatio=20 -XX:TargetSurvivorRatio=0 -XX:MaxTenuringThreshold=8 -XX:+UseParNewGC -XX:ParallelGCThreads=4 -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+CMSCompactWhenClearAllSoftRefs -XX:CMSInitiatingOccupancyFraction=85 -XX:+CMSScavengeBeforeRemark -XX:+UseCompressedOops -XX:+DisableExplicitGC -Doak.queryLimitInMemory=500000 -Doak.queryLimitReads=100000 -Doak.fastQuerySize=true' -#aem::author::install_packages: +# aem::author::install_packages: infra::profile::aem::author::instance_name: author infra::profile::aem::author::install_mode: 'quickstart' infra::profile::aem::author::install_options: download_type: maven download_uri: com.adobe.aem:aem-quickstart:6.3:jar - - # Compaction & Backup for Author infra::profile::aem::author::oak_version: '1.6.1' -#infra::profile::aem::author::backup_command: '/usr/bin/sudo -n /usr/local/sbin/zfs_rotation.sh datapool 2592000' -#infra::profile::aem::author::compaction_timeout: 21600 # 6h Timeout -#infra::profile::aem::author::mail_to: -# - philipp.dallig@pixelpark.com +# infra::profile::aem::author::backup_command: '/usr/bin/sudo -n /usr/local/sbin/zfs_rotation.sh datapool 2592000' +# infra::profile::aem::author::compaction_timeout: 21600 # 6h Timeout +# infra::profile::aem::author::mail_to: +# - philipp.dallig@pixelpark.com # # Publisher @@ -148,10 +146,10 @@ infra::profile::aem::publish::install_options: # Compaction & Backup for Publisher infra::profile::aem::publish::oak_version: '1.6.1' -#infra::profile::aem::publish::backup_command: '/usr/bin/sudo -n /usr/local/sbin/zfs_rotation.sh datapool 2592000' -#infra::profile::aem::publish::compaction_timeout: 21600 # 6h Timeout -#infra::profile::aem::publish::mail_to: -# - philipp.dallig@pixelpark.com +# infra::profile::aem::publish::backup_command: '/usr/bin/sudo -n /usr/local/sbin/zfs_rotation.sh datapool 2592000' +# infra::profile::aem::publish::compaction_timeout: 21600 # 6h Timeout +# infra::profile::aem::publish::mail_to: +# - philipp.dallig@pixelpark.com # # dispatcher # @@ -161,5 +159,3 @@ aem::dispatcher::download_type_options: version: 4.2.2 packaging: so repos: https://nexus.pixelpark.com/content/groups/public/ - - diff --git a/customer/mobile-aem/prod01-author-mobile.pixelpark.net.yaml b/customer/mobile-aem/prod01-author-mobile.pixelpark.net.yaml index 36597fc9..8441a110 100644 --- a/customer/mobile-aem/prod01-author-mobile.pixelpark.net.yaml +++ b/customer/mobile-aem/prod01-author-mobile.pixelpark.net.yaml @@ -1,5 +1,5 @@ --- -infra::role: base_for_old_systems # because we don't need xymon +infra::role: base_for_old_systems # because we don't need xymon infra::additional_classes: - accounts # Disable because of extra 7.3 download path @@ -10,7 +10,7 @@ infra::additional_classes: infra::profile::cron::cronjobs: zfs_rotation: user: root - command: '/usr/local/sbin/zfs_rotation.sh datapool 2592000' # 30 days + command: '/usr/local/sbin/zfs_rotation.sh datapool 2592000' # 30 days minute: 0 hour: '0,12' description: ZFS Snapshot diff --git a/customer/mobile-aem/prod01-publish-mobile.pixelpark.net.yaml b/customer/mobile-aem/prod01-publish-mobile.pixelpark.net.yaml index 7e78af44..443533b3 100644 --- a/customer/mobile-aem/prod01-publish-mobile.pixelpark.net.yaml +++ b/customer/mobile-aem/prod01-publish-mobile.pixelpark.net.yaml @@ -1,5 +1,5 @@ --- -infra::role: base_for_old_systems # because we don't need xymon +infra::role: base_for_old_systems # because we don't need xymon infra::additional_classes: - accounts # Disable because of extra 7.3 download path @@ -10,7 +10,7 @@ infra::additional_classes: infra::profile::cron::cronjobs: zfs_rotation: user: root - command: '/usr/local/sbin/zfs_rotation.sh datapool 2592000' # 30 days + command: '/usr/local/sbin/zfs_rotation.sh datapool 2592000' # 30 days minute: 0 hour: '0,12' - description: ZFS Snapshot \ No newline at end of file + description: ZFS Snapshot diff --git a/customer/mobile-aem/production.yaml b/customer/mobile-aem/production.yaml index caebebf0..5f875247 100644 --- a/customer/mobile-aem/production.yaml +++ b/customer/mobile-aem/production.yaml @@ -210,56 +210,56 @@ aem::dispatcher::publish_farm: - { type: 'deny', glob: '*' } - { type: 'allow', url: '/' } - { type: 'allow', url: '*.html' } - - { type: 'allow', url: '*.css' } # enable css - - { type: 'allow', url: '*.gif' } # enable gifs - - { type: 'allow', url: '*.ico' } # enable icos - - { type: 'allow', url: '*.js' } # enable javascript - - { type: 'allow', url: '*.png' } # enable png - - { type: 'allow', url: '*.swf' } # enable flash - - { type: 'allow', url: '*.jpg' } # enable jpg - - { type: 'allow', url: '*.jpeg' } # enable jpeg - - { type: 'allow', url: '*.svg' } # enable svg - - { type: 'allow', url: '*.ttf' } # enable ttf - - { type: 'allow', url: '*.woff' } # enable woff - - { type: 'allow', url: '*.woff2' } # enable woff2 - - { type: 'allow', url: '*.eot' } # enable eot - - { type: 'allow', url: '*.pdf' } # enable pdf - - { type: 'allow', url: '*.wmv' } # enable wmv - - { type: 'allow', url: '*.psd' } # enable psd (Adobe Photoshop Dokument) - - { type: 'allow', url: '*.tif' } # enable tif - - { type: 'allow', url: '*.zip' } # enable zip - - { type: 'allow', url: '*.exe' } # enable exe - - { type: 'allow', url: '*.msi' } # enable msi - - { type: 'allow', url: '*.indd' } # enable indd (Adobe Indesign Dokument) + - { type: 'allow', url: '*.css' } # enable css + - { type: 'allow', url: '*.gif' } # enable gifs + - { type: 'allow', url: '*.ico' } # enable icos + - { type: 'allow', url: '*.js' } # enable javascript + - { type: 'allow', url: '*.png' } # enable png + - { type: 'allow', url: '*.swf' } # enable flash + - { type: 'allow', url: '*.jpg' } # enable jpg + - { type: 'allow', url: '*.jpeg' } # enable jpeg + - { type: 'allow', url: '*.svg' } # enable svg + - { type: 'allow', url: '*.ttf' } # enable ttf + - { type: 'allow', url: '*.woff' } # enable woff + - { type: 'allow', url: '*.woff2' } # enable woff2 + - { type: 'allow', url: '*.eot' } # enable eot + - { type: 'allow', url: '*.pdf' } # enable pdf + - { type: 'allow', url: '*.wmv' } # enable wmv + - { type: 'allow', url: '*.psd' } # enable psd (Adobe Photoshop Dokument) + - { type: 'allow', url: '*.tif' } # enable tif + - { type: 'allow', url: '*.zip' } # enable zip + - { type: 'allow', url: '*.exe' } # enable exe + - { type: 'allow', url: '*.msi' } # enable msi + - { type: 'allow', url: '*.indd' } # enable indd (Adobe Indesign Dokument) # Enable features - - { type: 'allow', url: '/libs/cq/personalization/*' } # enable personalization - - { type: 'allow', url: '/content/dam/api.json' } # enable generic asset JSON API - - { type: 'allow', url: '/content/articles/api.json' } # enable generic article JSON API - - { type: 'allow', url: '*.assetlibrary.json' } # enable asset library JSON API - - { type: 'allow', url: '*.articlelibrary.json' } # enable article library JSON API - - { type: 'allow', url: '*.assetdata.json' } # enable download basket JSON API - - { type: 'allow', method: 'post', url: '*.forms.html' } # enable forms + - { type: 'allow', url: '/libs/cq/personalization/*' } # enable personalization + - { type: 'allow', url: '/content/dam/api.json' } # enable generic asset JSON API + - { type: 'allow', url: '/content/articles/api.json' } # enable generic article JSON API + - { type: 'allow', url: '*.assetlibrary.json' } # enable asset library JSON API + - { type: 'allow', url: '*.articlelibrary.json' } # enable article library JSON API + - { type: 'allow', url: '*.assetdata.json' } # enable download basket JSON API + - { type: 'allow', method: 'post', url: '*.forms.html' } # enable forms # Security Rules - - { type: 'deny', url: '/etc/' } - - { type: 'deny', url: '/libs/' } - - { type: 'allow', url: '/etc/designs/*' } - - { type: 'allow', url: '/etc/clientlibs/*' } - - { type: 'allow', url: '/etc/segmentation.segment.js' } - - { type: 'allow', url: '/libs/cq/personalization/components/clickstreamcloud/content/config.json' } - - { type: 'allow', url: '/libs/wcm/stats/tracker.js' } - - { type: 'allow', url: '/libs/cq/personalization/*' } # (JS, CSS and JSON) - - { type: 'allow', url: '/libs/cq/security/userinfo.json' } # (CQ user information) - - { type: 'allow', url: '/libs/granite/security/currentuser.json' } # (data must not be cached) - - { type: 'allow', url: '/libs/cq/i18n/*' } # (Internalization) + - { type: 'deny', url: '/etc/' } + - { type: 'deny', url: '/libs/' } + - { type: 'allow', url: '/etc/designs/*' } + - { type: 'allow', url: '/etc/clientlibs/*' } + - { type: 'allow', url: '/etc/segmentation.segment.js' } + - { type: 'allow', url: '/libs/cq/personalization/components/clickstreamcloud/content/config.json' } + - { type: 'allow', url: '/libs/wcm/stats/tracker.js' } + - { type: 'allow', url: '/libs/cq/personalization/*' } # (JS, CSS and JSON) + - { type: 'allow', url: '/libs/cq/security/userinfo.json' } # (CQ user information) + - { type: 'allow', url: '/libs/granite/security/currentuser.json' } # (data must not be cached) + - { type: 'allow', url: '/libs/cq/i18n/*' } # (Internalization) # CSRF - - { type: 'allow', url: '/libs/granite/csrf/token.json' } # enable CSRF token + - { type: 'allow', url: '/libs/granite/csrf/token.json' } # enable CSRF token # Deny content grabbing - { type: 'deny', url: '*.infinity.json' } - - { type: 'deny', url: '*.tidy.json' } - - { type: 'deny', url: '*.sysview.xml' } - - { type: 'deny', url: '*.docview.json' } - - { type: 'deny', url: '*.docview.xml' } - - { type: 'deny', url: '*.*[0-9].json' } + - { type: 'deny', url: '*.tidy.json' } + - { type: 'deny', url: '*.sysview.xml' } + - { type: 'deny', url: '*.docview.json' } + - { type: 'deny', url: '*.docview.xml' } + - { type: 'deny', url: '*.*[0-9].json' } # Deny query - { type: 'deny', url: '*.query.json' } cache_docroot: '/opt/adobe/www/cache/content/mobile' @@ -292,56 +292,56 @@ aem::dispatcher::publish_farm: - { type: 'deny', glob: '*' } - { type: 'allow', url: '/' } - { type: 'allow', url: '*.html' } - - { type: 'allow', url: '*.css' } # enable css - - { type: 'allow', url: '*.gif' } # enable gifs - - { type: 'allow', url: '*.ico' } # enable icos - - { type: 'allow', url: '*.js' } # enable javascript - - { type: 'allow', url: '*.png' } # enable png - - { type: 'allow', url: '*.swf' } # enable flash - - { type: 'allow', url: '*.jpg' } # enable jpg - - { type: 'allow', url: '*.jpeg' } # enable jpeg - - { type: 'allow', url: '*.svg' } # enable svg - - { type: 'allow', url: '*.ttf' } # enable ttf - - { type: 'allow', url: '*.woff' } # enable woff - - { type: 'allow', url: '*.woff2' } # enable woff2 - - { type: 'allow', url: '*.eot' } # enable eot - - { type: 'allow', url: '*.pdf' } # enable pdf - - { type: 'allow', url: '*.wmv' } # enable wmv - - { type: 'allow', url: '*.psd' } # enable psd (Adobe Photoshop Dokument) - - { type: 'allow', url: '*.tif' } # enable tif - - { type: 'allow', url: '*.zip' } # enable zip - - { type: 'allow', url: '*.exe' } # enable exe - - { type: 'allow', url: '*.msi' } # enable msi - - { type: 'allow', url: '*.indd' } # enable indd (Adobe Indesign Dokument) + - { type: 'allow', url: '*.css' } # enable css + - { type: 'allow', url: '*.gif' } # enable gifs + - { type: 'allow', url: '*.ico' } # enable icos + - { type: 'allow', url: '*.js' } # enable javascript + - { type: 'allow', url: '*.png' } # enable png + - { type: 'allow', url: '*.swf' } # enable flash + - { type: 'allow', url: '*.jpg' } # enable jpg + - { type: 'allow', url: '*.jpeg' } # enable jpeg + - { type: 'allow', url: '*.svg' } # enable svg + - { type: 'allow', url: '*.ttf' } # enable ttf + - { type: 'allow', url: '*.woff' } # enable woff + - { type: 'allow', url: '*.woff2' } # enable woff2 + - { type: 'allow', url: '*.eot' } # enable eot + - { type: 'allow', url: '*.pdf' } # enable pdf + - { type: 'allow', url: '*.wmv' } # enable wmv + - { type: 'allow', url: '*.psd' } # enable psd (Adobe Photoshop Dokument) + - { type: 'allow', url: '*.tif' } # enable tif + - { type: 'allow', url: '*.zip' } # enable zip + - { type: 'allow', url: '*.exe' } # enable exe + - { type: 'allow', url: '*.msi' } # enable msi + - { type: 'allow', url: '*.indd' } # enable indd (Adobe Indesign Dokument) # Enable features - - { type: 'allow', url: '/libs/cq/personalization/*' } # enable personalization - - { type: 'allow', url: '/content/dam/api.json' } # enable generic asset JSON API - - { type: 'allow', url: '/content/articles/api.json' } # enable generic article JSON API - - { type: 'allow', url: '*.assetlibrary.json' } # enable asset library JSON API - - { type: 'allow', url: '*.articlelibrary.json' } # enable article library JSON API - - { type: 'allow', url: '*.assetdata.json' } # enable download basket JSON API - - { type: 'allow', method: 'post', url: '*.forms.html' } # enable forms + - { type: 'allow', url: '/libs/cq/personalization/*' } # enable personalization + - { type: 'allow', url: '/content/dam/api.json' } # enable generic asset JSON API + - { type: 'allow', url: '/content/articles/api.json' } # enable generic article JSON API + - { type: 'allow', url: '*.assetlibrary.json' } # enable asset library JSON API + - { type: 'allow', url: '*.articlelibrary.json' } # enable article library JSON API + - { type: 'allow', url: '*.assetdata.json' } # enable download basket JSON API + - { type: 'allow', method: 'post', url: '*.forms.html' } # enable forms # Security Rules - - { type: 'deny', url: '/etc/' } - - { type: 'deny', url: '/libs/' } - - { type: 'allow', url: '/etc/designs/*' } - - { type: 'allow', url: '/etc/clientlibs/*' } - - { type: 'allow', url: '/etc/segmentation.segment.js' } - - { type: 'allow', url: '/libs/cq/personalization/components/clickstreamcloud/content/config.json' } - - { type: 'allow', url: '/libs/wcm/stats/tracker.js' } - - { type: 'allow', url: '/libs/cq/personalization/*' } # (JS, CSS and JSON) - - { type: 'allow', url: '/libs/cq/security/userinfo.json' } # (CQ user information) - - { type: 'allow', url: '/libs/granite/security/currentuser.json' } # (data must not be cached) - - { type: 'allow', url: '/libs/cq/i18n/*' } # (Internalization) + - { type: 'deny', url: '/etc/' } + - { type: 'deny', url: '/libs/' } + - { type: 'allow', url: '/etc/designs/*' } + - { type: 'allow', url: '/etc/clientlibs/*' } + - { type: 'allow', url: '/etc/segmentation.segment.js' } + - { type: 'allow', url: '/libs/cq/personalization/components/clickstreamcloud/content/config.json' } + - { type: 'allow', url: '/libs/wcm/stats/tracker.js' } + - { type: 'allow', url: '/libs/cq/personalization/*' } # (JS, CSS and JSON) + - { type: 'allow', url: '/libs/cq/security/userinfo.json' } # (CQ user information) + - { type: 'allow', url: '/libs/granite/security/currentuser.json' } # (data must not be cached) + - { type: 'allow', url: '/libs/cq/i18n/*' } # (Internalization) # CSRF - - { type: 'allow', url: '/libs/granite/csrf/token.json' } # enable CSRF token + - { type: 'allow', url: '/libs/granite/csrf/token.json' } # enable CSRF token # Deny content grabbing - { type: 'deny', url: '*.infinity.json' } - - { type: 'deny', url: '*.tidy.json' } - - { type: 'deny', url: '*.sysview.xml' } - - { type: 'deny', url: '*.docview.json' } - - { type: 'deny', url: '*.docview.xml' } - - { type: 'deny', url: '*.*[0-9].json' } + - { type: 'deny', url: '*.tidy.json' } + - { type: 'deny', url: '*.sysview.xml' } + - { type: 'deny', url: '*.docview.json' } + - { type: 'deny', url: '*.docview.xml' } + - { type: 'deny', url: '*.*[0-9].json' } # Deny query - { type: 'deny', url: '*.query.json' } cache_docroot: '/opt/adobe/www/cache/content/motor-talk/de' @@ -374,56 +374,56 @@ aem::dispatcher::publish_farm: - { type: 'deny', glob: '*' } - { type: 'allow', url: '/' } - { type: 'allow', url: '*.html' } - - { type: 'allow', url: '*.css' } # enable css - - { type: 'allow', url: '*.gif' } # enable gifs - - { type: 'allow', url: '*.ico' } # enable icos - - { type: 'allow', url: '*.js' } # enable javascript - - { type: 'allow', url: '*.png' } # enable png - - { type: 'allow', url: '*.swf' } # enable flash - - { type: 'allow', url: '*.jpg' } # enable jpg - - { type: 'allow', url: '*.jpeg' } # enable jpeg - - { type: 'allow', url: '*.svg' } # enable svg - - { type: 'allow', url: '*.ttf' } # enable ttf - - { type: 'allow', url: '*.woff' } # enable woff - - { type: 'allow', url: '*.woff2' } # enable woff2 - - { type: 'allow', url: '*.eot' } # enable eot - - { type: 'allow', url: '*.pdf' } # enable pdf - - { type: 'allow', url: '*.wmv' } # enable wmv - - { type: 'allow', url: '*.psd' } # enable psd (Adobe Photoshop Dokument) - - { type: 'allow', url: '*.tif' } # enable tif - - { type: 'allow', url: '*.zip' } # enable zip - - { type: 'allow', url: '*.exe' } # enable exe - - { type: 'allow', url: '*.msi' } # enable msi - - { type: 'allow', url: '*.indd' } # enable indd (Adobe Indesign Dokument) + - { type: 'allow', url: '*.css' } # enable css + - { type: 'allow', url: '*.gif' } # enable gifs + - { type: 'allow', url: '*.ico' } # enable icos + - { type: 'allow', url: '*.js' } # enable javascript + - { type: 'allow', url: '*.png' } # enable png + - { type: 'allow', url: '*.swf' } # enable flash + - { type: 'allow', url: '*.jpg' } # enable jpg + - { type: 'allow', url: '*.jpeg' } # enable jpeg + - { type: 'allow', url: '*.svg' } # enable svg + - { type: 'allow', url: '*.ttf' } # enable ttf + - { type: 'allow', url: '*.woff' } # enable woff + - { type: 'allow', url: '*.woff2' } # enable woff2 + - { type: 'allow', url: '*.eot' } # enable eot + - { type: 'allow', url: '*.pdf' } # enable pdf + - { type: 'allow', url: '*.wmv' } # enable wmv + - { type: 'allow', url: '*.psd' } # enable psd (Adobe Photoshop Dokument) + - { type: 'allow', url: '*.tif' } # enable tif + - { type: 'allow', url: '*.zip' } # enable zip + - { type: 'allow', url: '*.exe' } # enable exe + - { type: 'allow', url: '*.msi' } # enable msi + - { type: 'allow', url: '*.indd' } # enable indd (Adobe Indesign Dokument) # Enable features - - { type: 'allow', url: '/libs/cq/personalization/*' } # enable personalization - - { type: 'allow', url: '/content/dam/api.json' } # enable generic asset JSON API - - { type: 'allow', url: '/content/articles/api.json' } # enable generic article JSON API - - { type: 'allow', url: '*.assetlibrary.json' } # enable asset library JSON API - - { type: 'allow', url: '*.articlelibrary.json' } # enable article library JSON API - - { type: 'allow', url: '*.assetdata.json' } # enable download basket JSON API - - { type: 'allow', method: 'post', url: '*.forms.html' } # enable forms + - { type: 'allow', url: '/libs/cq/personalization/*' } # enable personalization + - { type: 'allow', url: '/content/dam/api.json' } # enable generic asset JSON API + - { type: 'allow', url: '/content/articles/api.json' } # enable generic article JSON API + - { type: 'allow', url: '*.assetlibrary.json' } # enable asset library JSON API + - { type: 'allow', url: '*.articlelibrary.json' } # enable article library JSON API + - { type: 'allow', url: '*.assetdata.json' } # enable download basket JSON API + - { type: 'allow', method: 'post', url: '*.forms.html' } # enable forms # Security Rules - - { type: 'deny', url: '/etc/' } - - { type: 'deny', url: '/libs/' } - - { type: 'allow', url: '/etc/designs/*' } - - { type: 'allow', url: '/etc/clientlibs/*' } - - { type: 'allow', url: '/etc/segmentation.segment.js' } - - { type: 'allow', url: '/libs/cq/personalization/components/clickstreamcloud/content/config.json' } - - { type: 'allow', url: '/libs/wcm/stats/tracker.js' } - - { type: 'allow', url: '/libs/cq/personalization/*' } # (JS, CSS and JSON) - - { type: 'allow', url: '/libs/cq/security/userinfo.json' } # (CQ user information) - - { type: 'allow', url: '/libs/granite/security/currentuser.json' } # (data must not be cached) - - { type: 'allow', url: '/libs/cq/i18n/*' } # (Internalization) + - { type: 'deny', url: '/etc/' } + - { type: 'deny', url: '/libs/' } + - { type: 'allow', url: '/etc/designs/*' } + - { type: 'allow', url: '/etc/clientlibs/*' } + - { type: 'allow', url: '/etc/segmentation.segment.js' } + - { type: 'allow', url: '/libs/cq/personalization/components/clickstreamcloud/content/config.json' } + - { type: 'allow', url: '/libs/wcm/stats/tracker.js' } + - { type: 'allow', url: '/libs/cq/personalization/*' } # (JS, CSS and JSON) + - { type: 'allow', url: '/libs/cq/security/userinfo.json' } # (CQ user information) + - { type: 'allow', url: '/libs/granite/security/currentuser.json' } # (data must not be cached) + - { type: 'allow', url: '/libs/cq/i18n/*' } # (Internalization) # CSRF - - { type: 'allow', url: '/libs/granite/csrf/token.json' } # enable CSRF token + - { type: 'allow', url: '/libs/granite/csrf/token.json' } # enable CSRF token # Deny content grabbing - { type: 'deny', url: '*.infinity.json' } - - { type: 'deny', url: '*.tidy.json' } - - { type: 'deny', url: '*.sysview.xml' } - - { type: 'deny', url: '*.docview.json' } - - { type: 'deny', url: '*.docview.xml' } - - { type: 'deny', url: '*.*[0-9].json' } + - { type: 'deny', url: '*.tidy.json' } + - { type: 'deny', url: '*.sysview.xml' } + - { type: 'deny', url: '*.docview.json' } + - { type: 'deny', url: '*.docview.xml' } + - { type: 'deny', url: '*.*[0-9].json' } # Deny query - { type: 'deny', url: '*.query.json' } cache_docroot: '/opt/adobe/www/cache/content/microsite/de'