Browse Source

SONAR-14529 Upgrade Elasticsearch binaries to 7.11.2

new sources unpack from ElasticSearch 7.11.2 artifact for Linux only (without bundled JDK and under Elastic License 2.0)
https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.11.2-no-jdk-linux-x86_64.tar.gz
tags/8.8.0.42792
Jacek 3 years ago
parent
commit
19c40b19b8
100 changed files with 1049 additions and 364 deletions
  1. 2
    2
      sonar-application/build.gradle
  2. 92
    201
      sonar-application/src/main/assembly/elasticsearch/LICENSE.txt
  3. 59
    38
      sonar-application/src/main/assembly/elasticsearch/NOTICE.txt
  4. 10
    10
      sonar-application/src/main/assembly/elasticsearch/README.asciidoc
  5. 1
    1
      sonar-application/src/main/assembly/elasticsearch/bin/elasticsearch
  6. 12
    0
      sonar-application/src/main/assembly/elasticsearch/bin/elasticsearch-certgen
  7. 12
    0
      sonar-application/src/main/assembly/elasticsearch/bin/elasticsearch-certutil
  8. 11
    0
      sonar-application/src/main/assembly/elasticsearch/bin/elasticsearch-croneval
  9. 2
    2
      sonar-application/src/main/assembly/elasticsearch/bin/elasticsearch-env
  10. 11
    0
      sonar-application/src/main/assembly/elasticsearch/bin/elasticsearch-migrate
  11. 11
    0
      sonar-application/src/main/assembly/elasticsearch/bin/elasticsearch-saml-metadata
  12. 11
    0
      sonar-application/src/main/assembly/elasticsearch/bin/elasticsearch-setup-passwords
  13. 20
    0
      sonar-application/src/main/assembly/elasticsearch/bin/elasticsearch-sql-cli
  14. BIN
      sonar-application/src/main/assembly/elasticsearch/bin/elasticsearch-sql-cli-7.11.2.jar
  15. 11
    0
      sonar-application/src/main/assembly/elasticsearch/bin/elasticsearch-syskeygen
  16. 11
    0
      sonar-application/src/main/assembly/elasticsearch/bin/elasticsearch-users
  17. 9
    0
      sonar-application/src/main/assembly/elasticsearch/bin/x-pack-env
  18. 9
    0
      sonar-application/src/main/assembly/elasticsearch/bin/x-pack-security-env
  19. 9
    0
      sonar-application/src/main/assembly/elasticsearch/bin/x-pack-watcher-env
  20. 30
    15
      sonar-application/src/main/assembly/elasticsearch/config/jvm.options
  21. 123
    22
      sonar-application/src/main/assembly/elasticsearch/config/log4j2.properties
  22. 14
    0
      sonar-application/src/main/assembly/elasticsearch/config/role_mapping.yml
  23. 3
    0
      sonar-application/src/main/assembly/elasticsearch/config/roles.yml
  24. 0
    0
      sonar-application/src/main/assembly/elasticsearch/config/users
  25. 0
    0
      sonar-application/src/main/assembly/elasticsearch/config/users_roles
  26. BIN
      sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-7.11.2.jar
  27. BIN
      sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-cli-7.10.2.jar
  28. BIN
      sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-cli-7.11.2.jar
  29. BIN
      sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-core-7.10.2.jar
  30. BIN
      sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-core-7.11.2.jar
  31. BIN
      sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-geo-7.10.2.jar
  32. BIN
      sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-geo-7.11.2.jar
  33. BIN
      sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-launchers-7.10.2.jar
  34. BIN
      sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-launchers-7.11.2.jar
  35. BIN
      sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-plugin-classloader-7.10.2.jar
  36. BIN
      sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-plugin-classloader-7.11.2.jar
  37. BIN
      sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-secure-sm-7.10.2.jar
  38. BIN
      sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-secure-sm-7.11.2.jar
  39. BIN
      sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-x-content-7.10.2.jar
  40. BIN
      sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-x-content-7.11.2.jar
  41. BIN
      sonar-application/src/main/assembly/elasticsearch/lib/java-version-checker-7.10.2.jar
  42. BIN
      sonar-application/src/main/assembly/elasticsearch/lib/java-version-checker-7.11.2.jar
  43. BIN
      sonar-application/src/main/assembly/elasticsearch/lib/tools/keystore-cli/keystore-cli-7.10.2.jar
  44. BIN
      sonar-application/src/main/assembly/elasticsearch/lib/tools/keystore-cli/keystore-cli-7.11.2.jar
  45. BIN
      sonar-application/src/main/assembly/elasticsearch/lib/tools/plugin-cli/elasticsearch-plugin-cli-7.10.2.jar
  46. BIN
      sonar-application/src/main/assembly/elasticsearch/lib/tools/plugin-cli/elasticsearch-plugin-cli-7.11.2.jar
  47. BIN
      sonar-application/src/main/assembly/elasticsearch/lib/tools/security-cli/bcpkix-jdk15on-1.64.jar
  48. BIN
      sonar-application/src/main/assembly/elasticsearch/lib/tools/security-cli/bcprov-jdk15on-1.64.jar
  49. BIN
      sonar-application/src/main/assembly/elasticsearch/lib/tools/security-cli/elasticsearch-security-cli-7.11.2.jar
  50. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/aggs-matrix-stats/aggs-matrix-stats-client-7.10.2.jar
  51. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/aggs-matrix-stats/aggs-matrix-stats-client-7.11.2.jar
  52. 13
    3
      sonar-application/src/main/assembly/elasticsearch/modules/aggs-matrix-stats/plugin-descriptor.properties
  53. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/analysis-common/analysis-common-7.10.2.jar
  54. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/analysis-common/analysis-common-7.11.2.jar
  55. 13
    3
      sonar-application/src/main/assembly/elasticsearch/modules/analysis-common/plugin-descriptor.properties
  56. 93
    0
      sonar-application/src/main/assembly/elasticsearch/modules/constant-keyword/LICENSE.txt
  57. 4
    0
      sonar-application/src/main/assembly/elasticsearch/modules/constant-keyword/NOTICE.txt
  58. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/constant-keyword/constant-keyword-7.11.2.jar
  59. 55
    0
      sonar-application/src/main/assembly/elasticsearch/modules/constant-keyword/plugin-descriptor.properties
  60. 93
    0
      sonar-application/src/main/assembly/elasticsearch/modules/flattened/LICENSE.txt
  61. 4
    0
      sonar-application/src/main/assembly/elasticsearch/modules/flattened/NOTICE.txt
  62. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/flattened/flattened-7.11.2.jar
  63. 55
    0
      sonar-application/src/main/assembly/elasticsearch/modules/flattened/plugin-descriptor.properties
  64. 93
    0
      sonar-application/src/main/assembly/elasticsearch/modules/frozen-indices/LICENSE.txt
  65. 4
    0
      sonar-application/src/main/assembly/elasticsearch/modules/frozen-indices/NOTICE.txt
  66. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/frozen-indices/frozen-indices-7.11.2.jar
  67. 55
    0
      sonar-application/src/main/assembly/elasticsearch/modules/frozen-indices/plugin-descriptor.properties
  68. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/geo/geo-7.10.2.jar
  69. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/ingest-common/elasticsearch-dissect-7.10.2.jar
  70. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/ingest-common/elasticsearch-dissect-7.11.2.jar
  71. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/ingest-common/elasticsearch-grok-7.10.2.jar
  72. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/ingest-common/elasticsearch-grok-7.11.2.jar
  73. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/ingest-common/ingest-common-7.10.2.jar
  74. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/ingest-common/ingest-common-7.11.2.jar
  75. 13
    3
      sonar-application/src/main/assembly/elasticsearch/modules/ingest-common/plugin-descriptor.properties
  76. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/ingest-geoip/ingest-geoip-7.10.2.jar
  77. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/ingest-geoip/ingest-geoip-7.11.2.jar
  78. 13
    3
      sonar-application/src/main/assembly/elasticsearch/modules/ingest-geoip/plugin-descriptor.properties
  79. 5
    16
      sonar-application/src/main/assembly/elasticsearch/modules/ingest-geoip/plugin-security.policy
  80. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/ingest-user-agent/ingest-user-agent-7.11.2.jar
  81. 13
    3
      sonar-application/src/main/assembly/elasticsearch/modules/ingest-user-agent/plugin-descriptor.properties
  82. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/kibana/elasticsearch-rest-client-7.11.2.jar
  83. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/kibana/elasticsearch-ssl-config-7.10.2.jar
  84. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/kibana/elasticsearch-ssl-config-7.11.2.jar
  85. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/kibana/kibana-7.10.2.jar
  86. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/kibana/kibana-7.11.2.jar
  87. 13
    3
      sonar-application/src/main/assembly/elasticsearch/modules/kibana/plugin-descriptor.properties
  88. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/kibana/reindex-client-7.10.2.jar
  89. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/kibana/reindex-client-7.11.2.jar
  90. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/lang-expression-7.10.2.jar
  91. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/lang-expression-7.11.2.jar
  92. 13
    3
      sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/plugin-descriptor.properties
  93. 6
    17
      sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/plugin-security.policy
  94. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/lang-mustache/lang-mustache-client-7.10.2.jar
  95. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/lang-mustache/lang-mustache-client-7.11.2.jar
  96. 13
    3
      sonar-application/src/main/assembly/elasticsearch/modules/lang-mustache/plugin-descriptor.properties
  97. 5
    16
      sonar-application/src/main/assembly/elasticsearch/modules/lang-mustache/plugin-security.policy
  98. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/lang-painless/elasticsearch-scripting-painless-spi-7.10.2.jar
  99. BIN
      sonar-application/src/main/assembly/elasticsearch/modules/lang-painless/elasticsearch-scripting-painless-spi-7.11.2.jar
  100. 0
    0
      sonar-application/src/main/assembly/elasticsearch/modules/lang-painless/lang-painless-7.10.2.jar

+ 2
- 2
sonar-application/build.gradle View File

@@ -164,8 +164,8 @@ zip.doFirst {
}
// Check the size of the archive
zip.doLast {
def minLength = 238000000
def maxLength = 258000000
def minLength = 340000000
def maxLength = 360000000

def length = archiveFile.get().asFile.length()
if (length < minLength)

+ 92
- 201
sonar-application/src/main/assembly/elasticsearch/LICENSE.txt View File

@@ -1,202 +1,93 @@
Elastic License 2.0

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
URL: https://www.elastic.co/licensing/elastic-license

## Acceptance

By using the software, you agree to all of the terms and conditions below.

## Copyright License

The licensor grants you a non-exclusive, royalty-free, worldwide,
non-sublicensable, non-transferable license to use, copy, distribute, make
available, and prepare derivative works of the software, in each case subject to
the limitations and conditions below.

## Limitations

You may not provide the software to third parties as a hosted or managed
service, where the service provides users with access to any substantial set of
the features or functionality of the software.

You may not move, change, disable, or circumvent the license key functionality
in the software, and you may not remove or obscure any functionality in the
software that is protected by the license key.

You may not alter, remove, or obscure any licensing, copyright, or other notices
of the licensor in the software. Any use of the licensor’s trademarks is subject
to applicable law.

## Patents

The licensor grants you a license, under any patent claims the licensor can
license, or becomes able to license, to make, have made, use, sell, offer for
sale, import and have imported the software, in each case subject to the
limitations and conditions in this license. This license does not cover any
patent claims that you cause to be infringed by modifications or additions to
the software. If you or your company make any written claim that the software
infringes or contributes to infringement of any patent, your patent license for
the software granted under these terms ends immediately. If your company makes
such a claim, your patent license ends immediately for work on behalf of your
company.

## Notices

You must ensure that anyone who gets a copy of any part of the software from you
also gets a copy of these terms.

If you modify the software, you must include in any modified copies of the
software prominent notices stating that you have modified the software.

## No Other Rights

These terms do not imply any licenses other than those expressly granted in
these terms.

## Termination

If you use the software in violation of these terms, such use is not licensed,
and your licenses will automatically terminate. If the licensor provides you
with a notice of your violation, and you cease all violation of this license no
later than 30 days after you receive that notice, your licenses will be
reinstated retroactively. However, if you violate these terms after such
reinstatement, any additional violation of these terms will cause your licenses
to terminate automatically and permanently.

## No Liability

*As far as the law allows, the software comes as is, without any warranty or
condition, and the licensor will not be liable to you for any damages arising
out of these terms or the use or nature of the software, under any kind of
legal claim.*

## Definitions

The **licensor** is the entity offering these terms, and the **software** is the
software the licensor makes available under these terms, including any portion
of it.

**you** refers to the individual or entity agreeing to these terms.

**your company** is any legal entity, sole proprietorship, or other kind of
organization that you work for, plus all organizations that have control over,
are under the control of, or are under common control with that
organization. **control** means ownership of substantially all the assets of an
entity, or the power to direct its management and policies by vote, contract, or
otherwise. Control can be direct or indirect.

**your licenses** are all the licenses granted to you for the software under
these terms.

**use** means anything you do with the software requiring one of your licenses.

**trademark** means trademarks, service marks, and similar rights.

+ 59
- 38
sonar-application/src/main/assembly/elasticsearch/NOTICE.txt View File

@@ -1,5 +1,5 @@
Elasticsearch
Copyright 2009-2018 Elasticsearch
Copyright 2009-2021 Elasticsearch

This product includes software developed by The Apache Software
Foundation (http://www.apache.org/).
@@ -3002,9 +3002,29 @@ Apache License


================================================================================
StrictISODateTimeFormat.java
EvictingQueue.java
================================================================================
Copyright 2001-2009 Stephen Colebourne
Copyright (C) 2012 The Guava Authors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Modifications copyright (C) 2020 Elasticsearch B.V.


================================================================================
DateUtilsRounding.java
================================================================================
Copyright 2001-2014 Stephen Colebourne

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -3019,6 +3039,27 @@ StrictISODateTimeFormat.java
limitations under the License.


================================================================================
XMoreLikeThis.java
================================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Modifications copyright (C) 2020 Elasticsearch B.V.


================================================================================
InetAddresses.java
================================================================================
@@ -3077,9 +3118,9 @@ JsonThrowablePatternConverter.java


================================================================================
DateUtilsRounding.java
StrictISODateTimeFormat.java
================================================================================
Copyright 2001-2014 Stephen Colebourne
Copyright 2001-2009 Stephen Colebourne

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -3095,15 +3136,15 @@ DateUtilsRounding.java


================================================================================
EvictingQueue.java
FastMath.java
================================================================================
Copyright (C) 2012 The Guava Authors
Copyright 2012 Jeff Hain

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
@@ -3111,7 +3152,16 @@ EvictingQueue.java
See the License for the specific language governing permissions and
limitations under the License.

Modifications copyright (C) 2020 Elasticsearch B.V.
=============================================================================
Notice of fdlibm package this program is partially derived from:

Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.

Developed at SunSoft, a Sun Microsystems, Inc. business.
Permission to use, copy, modify, and distribute this
software is freely granted, provided that this notice
is preserved.
=============================================================================


================================================================================
@@ -3135,35 +3185,6 @@ IOUtils.java
Modifications copyright (C) 2020 Elasticsearch B.V.


================================================================================
FastMath.java
================================================================================
Copyright 2012 Jeff Hain

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

=============================================================================
Notice of fdlibm package this program is partially derived from:

Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.

Developed at SunSoft, a Sun Microsystems, Inc. business.
Permission to use, copy, modify, and distribute this
software is freely granted, provided that this notice
is preserved.
=============================================================================


================================================================================
DerParser.java
================================================================================

+ 10
- 10
sonar-application/src/main/assembly/elasticsearch/README.asciidoc View File

@@ -10,9 +10,9 @@ Elasticsearch is a distributed RESTful search engine built for the cloud. Featur
** Each index is fully sharded with a configurable number of shards.
** Each shard can have one or more replicas.
** Read / Search operations performed on any of the replica shards.
* Multi Tenant.
* Multi-tenant.
** Support for more than one index.
** Index level configuration (number of shards, index storage, ...).
** Index level configuration (number of shards, index storage, etc.).
* Various set of APIs
** HTTP RESTful API
** All APIs perform automatic node operation rerouting.
@@ -20,12 +20,12 @@ Elasticsearch is a distributed RESTful search engine built for the cloud. Featur
** No need for upfront schema definition.
** Schema can be defined for customization of the indexing process.
* Reliable, Asynchronous Write Behind for long term persistency.
* (Near) Real Time Search.
* Near real-time search.
* Built on top of Apache Lucene
** Each shard is a fully functional Lucene index
** All the power of Lucene easily exposed through simple configuration / plugins.
** All the power of Lucene easily exposed through simple configuration and plugins.
* Per operation consistency
** Single document level operations are atomic, consistent, isolated and durable.
** Single document-level operations are atomic, consistent, isolated, and durable.

== Getting Started

@@ -178,15 +178,15 @@ curl -X GET 'http://localhost:9200/_search?pretty=true' -H 'Content-Type: applic

=== Distributed, highly available

Let's face it, things will fail....
Let's face it; things will fail...

Elasticsearch is a highly available and distributed search engine. Each index is broken down into shards, and each shard can have one or more replicas. By default, an index is created with 1 shard and 1 replica per shard (1/1). There are many topologies that can be used, including 1/10 (improve search performance), or 20/1 (improve indexing performance, with search executed in a map reduce fashion across shards).
Elasticsearch is a highly available and distributed search engine. Each index is broken down into shards, and each shard can have one or more replicas. By default, an index is created with 1 shard and 1 replica per shard (1/1). Many topologies can be used, including 1/10 (improve search performance) or 20/1 (improve indexing performance, with search executed in a MapReduce fashion across shards).

In order to play with the distributed nature of Elasticsearch, simply bring more nodes up and shut down nodes. The system will continue to serve requests (make sure you use the correct http port) with the latest data indexed.
To play with the distributed nature of Elasticsearch, bring more nodes up and shut down nodes. The system will continue to serve requests (ensure you use the correct HTTP port) with the latest data indexed.

=== Where to go from here?

We have just covered a very small portion of what Elasticsearch is all about. For more information, please refer to the https://www.elastic.co/products/elasticsearch[elastic.co] website. General questions can be asked on the https://discuss.elastic.co[Elastic Forum] or https://ela.st/slack[on Slack]. The Elasticsearch GitHub repository is reserved for bug reports and feature requests only.
We have just covered a tiny portion of what Elasticsearch is all about. For more information, please refer to the https://www.elastic.co/products/elasticsearch[elastic.co] website. General questions can be asked on the https://discuss.elastic.co[Elastic Forum] or https://ela.st/slack[on Slack]. The Elasticsearch GitHub repository is reserved for bug reports and feature requests only.

=== Building from source

@@ -216,4 +216,4 @@ See the xref:TESTING.asciidoc[TESTING] for more information about running the El

=== Upgrading from older Elasticsearch versions

In order to ensure a smooth upgrade process from earlier versions of Elasticsearch, please see our https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-upgrade.html[upgrade documentation] for more details on the upgrade process.
To ensure a smooth upgrade process from earlier versions of Elasticsearch, please see our https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-upgrade.html[upgrade documentation] for more details on the upgrade process.

+ 1
- 1
sonar-application/src/main/assembly/elasticsearch/bin/elasticsearch View File

@@ -52,7 +52,7 @@ fi
# - second, JVM options are read from jvm.options and jvm.options.d/*.options
# - third, JVM options from ES_JAVA_OPTS are applied
# - fourth, ergonomic JVM options are applied
ES_JAVA_OPTS=`export ES_TMPDIR; "$JAVA" "$XSHARE" -cp "$ES_CLASSPATH" org.elasticsearch.tools.launchers.JvmOptionsParser "$ES_PATH_CONF"`
ES_JAVA_OPTS=`export ES_TMPDIR; "$JAVA" "$XSHARE" -cp "$ES_CLASSPATH" org.elasticsearch.tools.launchers.JvmOptionsParser "$ES_PATH_CONF" "$ES_HOME/plugins"`

# manual parsing to find out, if process should be detached
if [[ $DAEMONIZE = false ]]; then

+ 12
- 0
sonar-application/src/main/assembly/elasticsearch/bin/elasticsearch-certgen View File

@@ -0,0 +1,12 @@
#!/bin/bash

# Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
# or more contributor license agreements. Licensed under the Elastic License
# 2.0; you may not use this file except in compliance with the Elastic License
# 2.0.

ES_MAIN_CLASS=org.elasticsearch.xpack.security.cli.CertificateGenerateTool \
ES_ADDITIONAL_SOURCES="x-pack-env;x-pack-security-env" \
ES_ADDITIONAL_CLASSPATH_DIRECTORIES=lib/tools/security-cli \
"`dirname "$0"`"/elasticsearch-cli \
"$@"

+ 12
- 0
sonar-application/src/main/assembly/elasticsearch/bin/elasticsearch-certutil View File

@@ -0,0 +1,12 @@
#!/bin/bash

# Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
# or more contributor license agreements. Licensed under the Elastic License
# 2.0; you may not use this file except in compliance with the Elastic License
# 2.0.

ES_MAIN_CLASS=org.elasticsearch.xpack.security.cli.CertificateTool \
ES_ADDITIONAL_SOURCES="x-pack-env;x-pack-security-env" \
ES_ADDITIONAL_CLASSPATH_DIRECTORIES=lib/tools/security-cli \
"`dirname "$0"`"/elasticsearch-cli \
"$@"

+ 11
- 0
sonar-application/src/main/assembly/elasticsearch/bin/elasticsearch-croneval View File

@@ -0,0 +1,11 @@
#!/bin/bash

# Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
# or more contributor license agreements. Licensed under the Elastic License
# 2.0; you may not use this file except in compliance with the Elastic License
# 2.0.

ES_MAIN_CLASS=org.elasticsearch.xpack.watcher.trigger.schedule.tool.CronEvalTool \
ES_ADDITIONAL_SOURCES="x-pack-env;x-pack-watcher-env" \
"`dirname "$0"`"/elasticsearch-cli \
"$@"

+ 2
- 2
sonar-application/src/main/assembly/elasticsearch/bin/elasticsearch-env View File

@@ -88,7 +88,7 @@ fi
# now make ES_PATH_CONF absolute
ES_PATH_CONF=`cd "$ES_PATH_CONF"; pwd`

ES_DISTRIBUTION_FLAVOR=oss
ES_DISTRIBUTION_FLAVOR=default
ES_DISTRIBUTION_TYPE=tar
ES_BUNDLED_JDK=false

@@ -123,7 +123,7 @@ if [[ "$ES_DISTRIBUTION_TYPE" == "docker" ]]; then
es_arg_array+=("${es_opt}")
fi
fi
done < <(env)
done <<< "$(env)"

# Reset the positional parameters to the es_arg_array values and any existing positional params
set -- "$@" "${es_arg_array[@]}"

+ 11
- 0
sonar-application/src/main/assembly/elasticsearch/bin/elasticsearch-migrate View File

@@ -0,0 +1,11 @@
#!/bin/bash

# Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
# or more contributor license agreements. Licensed under the Elastic License
# 2.0; you may not use this file except in compliance with the Elastic License
# 2.0.

ES_MAIN_CLASS=org.elasticsearch.xpack.security.authc.esnative.ESNativeRealmMigrateTool \
ES_ADDITIONAL_SOURCES="x-pack-env;x-pack-security-env" \
"`dirname "$0"`"/elasticsearch-cli \
"$@"

+ 11
- 0
sonar-application/src/main/assembly/elasticsearch/bin/elasticsearch-saml-metadata View File

@@ -0,0 +1,11 @@
#!/bin/bash

# Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
# or more contributor license agreements. Licensed under the Elastic License
# 2.0; you may not use this file except in compliance with the Elastic License
# 2.0.

ES_MAIN_CLASS=org.elasticsearch.xpack.security.authc.saml.SamlMetadataCommand \
ES_ADDITIONAL_SOURCES="x-pack-env;x-pack-security-env" \
"`dirname "$0"`"/elasticsearch-cli \
"$@"

+ 11
- 0
sonar-application/src/main/assembly/elasticsearch/bin/elasticsearch-setup-passwords View File

@@ -0,0 +1,11 @@
#!/bin/bash

# Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
# or more contributor license agreements. Licensed under the Elastic License
# 2.0; you may not use this file except in compliance with the Elastic License
# 2.0.

ES_MAIN_CLASS=org.elasticsearch.xpack.security.authc.esnative.tool.SetupPasswordTool \
ES_ADDITIONAL_SOURCES="x-pack-env;x-pack-security-env" \
"`dirname "$0"`"/elasticsearch-cli \
"$@"

+ 20
- 0
sonar-application/src/main/assembly/elasticsearch/bin/elasticsearch-sql-cli View File

@@ -0,0 +1,20 @@
#!/bin/bash

# Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
# or more contributor license agreements. Licensed under the Elastic License
# 2.0; you may not use this file except in compliance with the Elastic License
# 2.0.

CLI_PARAMETERS="$@"

source "`dirname "$0"`"/elasticsearch-env

source "$ES_HOME"/bin/x-pack-env

CLI_JAR=$(ls "$ES_HOME"/bin/elasticsearch-sql-cli-*.jar)

exec \
"$JAVA" \
"$XSHARE" \
-jar "$CLI_JAR" \
$CLI_PARAMETERS

BIN
sonar-application/src/main/assembly/elasticsearch/bin/elasticsearch-sql-cli-7.11.2.jar View File


+ 11
- 0
sonar-application/src/main/assembly/elasticsearch/bin/elasticsearch-syskeygen View File

@@ -0,0 +1,11 @@
#!/bin/bash

# Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
# or more contributor license agreements. Licensed under the Elastic License
# 2.0; you may not use this file except in compliance with the Elastic License
# 2.0.

ES_MAIN_CLASS=org.elasticsearch.xpack.security.crypto.tool.SystemKeyTool \
ES_ADDITIONAL_SOURCES="x-pack-env;x-pack-security-env" \
"`dirname "$0"`"/elasticsearch-cli \
"$@"

+ 11
- 0
sonar-application/src/main/assembly/elasticsearch/bin/elasticsearch-users View File

@@ -0,0 +1,11 @@
#!/bin/bash

# Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
# or more contributor license agreements. Licensed under the Elastic License
# 2.0; you may not use this file except in compliance with the Elastic License
# 2.0.

ES_MAIN_CLASS=org.elasticsearch.xpack.security.authc.file.tool.UsersTool \
ES_ADDITIONAL_SOURCES="x-pack-env;x-pack-security-env" \
"`dirname "$0"`"/elasticsearch-cli \
"$@"

+ 9
- 0
sonar-application/src/main/assembly/elasticsearch/bin/x-pack-env View File

@@ -0,0 +1,9 @@
#!/bin/bash

# Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
# or more contributor license agreements. Licensed under the Elastic License
# 2.0; you may not use this file except in compliance with the Elastic License
# 2.0.

# include x-pack-core jars in classpath
ES_CLASSPATH="$ES_CLASSPATH:$ES_HOME/modules/x-pack-core/*"

+ 9
- 0
sonar-application/src/main/assembly/elasticsearch/bin/x-pack-security-env View File

@@ -0,0 +1,9 @@
#!/bin/bash

# Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
# or more contributor license agreements. Licensed under the Elastic License
# 2.0; you may not use this file except in compliance with the Elastic License
# 2.0.

# include x-pack-security jars in classpath
ES_CLASSPATH="$ES_CLASSPATH:$ES_HOME/modules/x-pack-security/*"

+ 9
- 0
sonar-application/src/main/assembly/elasticsearch/bin/x-pack-watcher-env View File

@@ -0,0 +1,9 @@
#!/bin/bash

# Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
# or more contributor license agreements. Licensed under the Elastic License
# 2.0; you may not use this file except in compliance with the Elastic License
# 2.0.

# include x-pack-security jars in classpath
ES_CLASSPATH="$ES_CLASSPATH:$ES_HOME/modules/x-pack-watcher/*"

+ 30
- 15
sonar-application/src/main/assembly/elasticsearch/config/jvm.options View File

@@ -1,12 +1,32 @@
################################################################
##
## JVM configuration
##
################################################################
##
## WARNING: DO NOT EDIT THIS FILE. If you want to override the
## JVM options in this file, or set any additional options, you
## should create one or more files in the jvm.options.d
## directory containing your adjustments.
##
## See https://www.elastic.co/guide/en/elasticsearch/reference/current/jvm-options.html
## for more information.
##
################################################################



################################################################
## IMPORTANT: JVM heap size
################################################################
##
## You should always set the min and max JVM heap
## size to the same value. For example, to set
## the heap to 4 GB, set:
## The heap size is automatically configured by Elasticsearch
## based on the available memory in your system and the roles
## each node is configured to fulfill. If specifying heap is
## required, it should be done through a file in jvm.options.d,
## and the min and max should be set to the same value. For
## example, to set the heap to 4 GB, create a new file in the
## jvm.options.d directory containing these lines:
##
## -Xms4g
## -Xmx4g
@@ -16,19 +36,15 @@
##
################################################################

# Xms represents the initial size of total heap space
# Xmx represents the maximum size of total heap space

-Xms1g
-Xmx1g

################################################################
## Expert settings
################################################################
##
## All settings below this section are considered
## expert settings. Don't tamper with them unless
## you understand what you are doing
## All settings below here are considered expert settings. Do
## not adjust them unless you understand what you are doing. Do
## not edit them in this file; instead, create a new file in the
## jvm.options.d directory containing your adjustments.
##
################################################################

@@ -44,16 +60,15 @@
# 10-13:-XX:-UseConcMarkSweepGC
# 10-13:-XX:-UseCMSInitiatingOccupancyOnly
14-:-XX:+UseG1GC
14-:-XX:G1ReservePercent=25
14-:-XX:InitiatingHeapOccupancyPercent=30

## JVM temporary directory
-Djava.io.tmpdir=${ES_TMPDIR}

## heap dumps

# generate a heap dump when an allocation from the Java heap fails
# heap dumps are created in the working directory of the JVM
# generate a heap dump when an allocation from the Java heap fails; heap dumps
# are created in the working directory of the JVM unless an alternative path is
# specified
-XX:+HeapDumpOnOutOfMemoryError

# specify an alternative path for heap dumps; ensure the directory exists and

+ 123
- 22
sonar-application/src/main/assembly/elasticsearch/config/log4j2.properties View File

@@ -62,25 +62,29 @@ appender.deprecation_rolling.type = RollingFile
appender.deprecation_rolling.name = deprecation_rolling
appender.deprecation_rolling.fileName = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}_deprecation.json
appender.deprecation_rolling.layout.type = ESJsonLayout
appender.deprecation_rolling.layout.type_name=deprecation
appender.deprecation_rolling.layout.type_name = deprecation
appender.deprecation_rolling.layout.esmessagefields=x-opaque-id
appender.deprecation_rolling.filter.rate_limit.type=RateLimitingFilter
appender.deprecation_rolling.filePattern=${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}_deprecation-%i.json.gz
appender.deprecation_rolling.policies.type=Policies
appender.deprecation_rolling.policies.size.type=SizeBasedTriggeringPolicy
appender.deprecation_rolling.policies.size.size=1GB
appender.deprecation_rolling.strategy.type=DefaultRolloverStrategy
appender.deprecation_rolling.strategy.max=4
appender.header_warning.type=HeaderWarningAppender
appender.header_warning.name=header_warning
appender.deprecation_rolling.filter.rate_limit.type = RateLimitingFilter

appender.deprecation_rolling.filePattern = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}_deprecation-%i.json.gz
appender.deprecation_rolling.policies.type = Policies
appender.deprecation_rolling.policies.size.type = SizeBasedTriggeringPolicy
appender.deprecation_rolling.policies.size.size = 1GB
appender.deprecation_rolling.strategy.type = DefaultRolloverStrategy
appender.deprecation_rolling.strategy.max = 4

appender.header_warning.type = HeaderWarningAppender
appender.header_warning.name = header_warning
#################################################
######## Deprecation - old style pattern #######
appender.deprecation_rolling_old.type=RollingFile
appender.deprecation_rolling_old.name=deprecation_rolling_old
appender.deprecation_rolling_old.fileName=${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}_deprecation.log
appender.deprecation_rolling_old.layout.type=PatternLayout
appender.deprecation_rolling_old.layout.pattern=[%d{ISO8601}][%-5p][%-25c{1.}] [%node_name]%marker %m%n
appender.deprecation_rolling_old.filePattern=${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}\
appender.deprecation_rolling_old.type = RollingFile
appender.deprecation_rolling_old.name = deprecation_rolling_old
appender.deprecation_rolling_old.fileName = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}_deprecation.log
appender.deprecation_rolling_old.layout.type = PatternLayout
appender.deprecation_rolling_old.layout.pattern = [%d{ISO8601}][%-5p][%-25c{1.}] [%node_name]%marker %m%n
appender.deprecation_rolling_old.filter.rate_limit.type = RateLimitingFilter

appender.deprecation_rolling_old.filePattern = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}\
_deprecation-%i.log.gz
appender.deprecation_rolling_old.policies.type = Policies
appender.deprecation_rolling_old.policies.size.type = SizeBasedTriggeringPolicy
@@ -88,12 +92,12 @@ appender.deprecation_rolling_old.policies.size.size = 1GB
appender.deprecation_rolling_old.strategy.type = DefaultRolloverStrategy
appender.deprecation_rolling_old.strategy.max = 4
#################################################
logger.deprecation.name=org.elasticsearch.deprecation
logger.deprecation.level=deprecation
logger.deprecation.appenderRef.deprecation_rolling.ref=deprecation_rolling
logger.deprecation.appenderRef.deprecation_rolling_old.ref=deprecation_rolling_old
logger.deprecation.appenderRef.header_warning.ref=header_warning
logger.deprecation.additivity=false
logger.deprecation.name = org.elasticsearch.deprecation
logger.deprecation.level = deprecation
logger.deprecation.appenderRef.deprecation_rolling.ref = deprecation_rolling
logger.deprecation.appenderRef.deprecation_rolling_old.ref = deprecation_rolling_old
logger.deprecation.appenderRef.header_warning.ref = header_warning
logger.deprecation.additivity = false

######## Search slowlog JSON ####################
appender.index_search_slowlog_rolling.type = RollingFile
@@ -173,3 +177,100 @@ logger.index_indexing_slowlog.level = trace
logger.index_indexing_slowlog.appenderRef.index_indexing_slowlog_rolling.ref = index_indexing_slowlog_rolling
logger.index_indexing_slowlog.appenderRef.index_indexing_slowlog_rolling_old.ref = index_indexing_slowlog_rolling_old
logger.index_indexing_slowlog.additivity = false


appender.audit_rolling.type = RollingFile
appender.audit_rolling.name = audit_rolling
appender.audit_rolling.fileName = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}_audit.json
appender.audit_rolling.layout.type = PatternLayout
appender.audit_rolling.layout.pattern = {\
"type":"audit", \
"timestamp":"%d{yyyy-MM-dd'T'HH:mm:ss,SSSZ}"\
%varsNotEmpty{, "node.name":"%enc{%map{node.name}}{JSON}"}\
%varsNotEmpty{, "node.id":"%enc{%map{node.id}}{JSON}"}\
%varsNotEmpty{, "host.name":"%enc{%map{host.name}}{JSON}"}\
%varsNotEmpty{, "host.ip":"%enc{%map{host.ip}}{JSON}"}\
%varsNotEmpty{, "event.type":"%enc{%map{event.type}}{JSON}"}\
%varsNotEmpty{, "event.action":"%enc{%map{event.action}}{JSON}"}\
%varsNotEmpty{, "authentication.type":"%enc{%map{authentication.type}}{JSON}"}\
%varsNotEmpty{, "user.name":"%enc{%map{user.name}}{JSON}"}\
%varsNotEmpty{, "user.run_by.name":"%enc{%map{user.run_by.name}}{JSON}"}\
%varsNotEmpty{, "user.run_as.name":"%enc{%map{user.run_as.name}}{JSON}"}\
%varsNotEmpty{, "user.realm":"%enc{%map{user.realm}}{JSON}"}\
%varsNotEmpty{, "user.run_by.realm":"%enc{%map{user.run_by.realm}}{JSON}"}\
%varsNotEmpty{, "user.run_as.realm":"%enc{%map{user.run_as.realm}}{JSON}"}\
%varsNotEmpty{, "user.roles":%map{user.roles}}\
%varsNotEmpty{, "apikey.id":"%enc{%map{apikey.id}}{JSON}"}\
%varsNotEmpty{, "apikey.name":"%enc{%map{apikey.name}}{JSON}"}\
%varsNotEmpty{, "origin.type":"%enc{%map{origin.type}}{JSON}"}\
%varsNotEmpty{, "origin.address":"%enc{%map{origin.address}}{JSON}"}\
%varsNotEmpty{, "realm":"%enc{%map{realm}}{JSON}"}\
%varsNotEmpty{, "url.path":"%enc{%map{url.path}}{JSON}"}\
%varsNotEmpty{, "url.query":"%enc{%map{url.query}}{JSON}"}\
%varsNotEmpty{, "request.method":"%enc{%map{request.method}}{JSON}"}\
%varsNotEmpty{, "request.body":"%enc{%map{request.body}}{JSON}"}\
%varsNotEmpty{, "request.id":"%enc{%map{request.id}}{JSON}"}\
%varsNotEmpty{, "action":"%enc{%map{action}}{JSON}"}\
%varsNotEmpty{, "request.name":"%enc{%map{request.name}}{JSON}"}\
%varsNotEmpty{, "indices":%map{indices}}\
%varsNotEmpty{, "opaque_id":"%enc{%map{opaque_id}}{JSON}"}\
%varsNotEmpty{, "x_forwarded_for":"%enc{%map{x_forwarded_for}}{JSON}"}\
%varsNotEmpty{, "transport.profile":"%enc{%map{transport.profile}}{JSON}"}\
%varsNotEmpty{, "rule":"%enc{%map{rule}}{JSON}"}\
%varsNotEmpty{, "put":%map{put}}\
%varsNotEmpty{, "delete":%map{delete}}\
%varsNotEmpty{, "change":%map{change}}\
%varsNotEmpty{, "create":%map{create}}\
%varsNotEmpty{, "invalidate":%map{invalidate}}\
}%n
# "node.name" node name from the `elasticsearch.yml` settings
# "node.id" node id which should not change between cluster restarts
# "host.name" unresolved hostname of the local node
# "host.ip" the local bound ip (i.e. the ip listening for connections)
# "origin.type" a received REST request is translated into one or more transport requests. This indicates which processing layer generated the event "rest" or "transport" (internal)
# "event.action" the name of the audited event, eg. "authentication_failed", "access_granted", "run_as_granted", etc.
# "authentication.type" one of "realm", "api_key", "token", "anonymous" or "internal"
# "user.name" the subject name as authenticated by a realm
# "user.run_by.name" the original authenticated subject name that is impersonating another one.
# "user.run_as.name" if this "event.action" is of a run_as type, this is the subject name to be impersonated as.
# "user.realm" the name of the realm that authenticated "user.name"
# "user.run_by.realm" the realm name of the impersonating subject ("user.run_by.name")
# "user.run_as.realm" if this "event.action" is of a run_as type, this is the realm name the impersonated user is looked up from
# "user.roles" the roles array of the user; these are the roles that are granting privileges
# "apikey.id" this field is present if and only if the "authentication.type" is "api_key"
# "apikey.name" this field is present if and only if the "authentication.type" is "api_key"
# "event.type" informs about what internal system generated the event; possible values are "rest", "transport", "ip_filter" and "security_config_change"
# "origin.address" the remote address and port of the first network hop, i.e. a REST proxy or another cluster node
# "realm" name of a realm that has generated an "authentication_failed" or an "authentication_successful"; the subject is not yet authenticated
# "url.path" the URI component between the port and the query string; it is percent (URL) encoded
# "url.query" the URI component after the path and before the fragment; it is percent (URL) encoded
# "request.method" the method of the HTTP request, i.e. one of GET, POST, PUT, DELETE, OPTIONS, HEAD, PATCH, TRACE, CONNECT
# "request.body" the content of the request body entity, JSON escaped
# "request.id" a synthentic identifier for the incoming request, this is unique per incoming request, and consistent across all audit events generated by that request
# "action" an action is the most granular operation that is authorized and this identifies it in a namespaced way (internal)
# "request.name" if the event is in connection to a transport message this is the name of the request class, similar to how rest requests are identified by the url path (internal)
# "indices" the array of indices that the "action" is acting upon
# "opaque_id" opaque value conveyed by the "X-Opaque-Id" request header
# "x_forwarded_for" the addresses from the "X-Forwarded-For" request header, as a verbatim string value (not an array)
# "transport.profile" name of the transport profile in case this is a "connection_granted" or "connection_denied" event
# "rule" name of the applied rule if the "origin.type" is "ip_filter"
# the "put", "delete", "change", "create", "invalidate" fields are only present
# when the "event.type" is "security_config_change" and contain the security config change (as an object) taking effect

appender.audit_rolling.filePattern = ${sys:es.logs.base_path}${sys:file.separator}${sys:es.logs.cluster_name}_audit-%d{yyyy-MM-dd}.json
appender.audit_rolling.policies.type = Policies
appender.audit_rolling.policies.time.type = TimeBasedTriggeringPolicy
appender.audit_rolling.policies.time.interval = 1
appender.audit_rolling.policies.time.modulate = true

logger.xpack_security_audit_logfile.name = org.elasticsearch.xpack.security.audit.logfile.LoggingAuditTrail
logger.xpack_security_audit_logfile.level = info
logger.xpack_security_audit_logfile.appenderRef.audit_rolling.ref = audit_rolling
logger.xpack_security_audit_logfile.additivity = false

logger.xmlsig.name = org.apache.xml.security.signature.XMLSignature
logger.xmlsig.level = error
logger.samlxml_decrypt.name = org.opensaml.xmlsec.encryption.support.Decrypter
logger.samlxml_decrypt.level = fatal
logger.saml2_decrypt.name = org.opensaml.saml.saml2.encryption.Decrypter
logger.saml2_decrypt.level = fatal

+ 14
- 0
sonar-application/src/main/assembly/elasticsearch/config/role_mapping.yml View File

@@ -0,0 +1,14 @@
# Role mapping configuration file which has elasticsearch roles as keys
# that map to one or more user or group distinguished names

#roleA: this is an elasticsearch role
# - groupA-DN this is a group distinguished name
# - groupB-DN
# - user1-DN this is the full user distinguished name

#power_user:
# - "cn=admins,dc=example,dc=com"
#user:
# - "cn=users,dc=example,dc=com"
# - "cn=admins,dc=example,dc=com"
# - "cn=John Doe,cn=other users,dc=example,dc=com"

+ 3
- 0
sonar-application/src/main/assembly/elasticsearch/config/roles.yml View File

@@ -0,0 +1,3 @@
# The default roles file is empty as the preferred method of defining roles is
# through the API/UI. File based roles are useful in error scenarios when the
# API based roles may not be available.

+ 0
- 0
sonar-application/src/main/assembly/elasticsearch/config/users View File


+ 0
- 0
sonar-application/src/main/assembly/elasticsearch/config/users_roles View File


BIN
sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-7.10.2.jar → sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-7.11.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-cli-7.10.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-cli-7.11.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-core-7.10.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-core-7.11.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-geo-7.10.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-geo-7.11.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-launchers-7.10.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-launchers-7.11.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-plugin-classloader-7.10.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-plugin-classloader-7.11.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-secure-sm-7.10.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-secure-sm-7.11.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-x-content-7.10.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/lib/elasticsearch-x-content-7.11.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/lib/java-version-checker-7.10.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/lib/java-version-checker-7.11.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/lib/tools/keystore-cli/keystore-cli-7.10.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/lib/tools/keystore-cli/keystore-cli-7.11.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/lib/tools/plugin-cli/elasticsearch-plugin-cli-7.10.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/lib/tools/plugin-cli/elasticsearch-plugin-cli-7.11.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/lib/tools/security-cli/bcpkix-jdk15on-1.64.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/lib/tools/security-cli/bcprov-jdk15on-1.64.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/lib/tools/security-cli/elasticsearch-security-cli-7.11.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/modules/aggs-matrix-stats/aggs-matrix-stats-client-7.10.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/modules/aggs-matrix-stats/aggs-matrix-stats-client-7.11.2.jar View File


+ 13
- 3
sonar-application/src/main/assembly/elasticsearch/modules/aggs-matrix-stats/plugin-descriptor.properties View File

@@ -16,17 +16,25 @@
#
### mandatory elements for all plugins:
#
# 'type': the type of this plugin. 'isolated' indicated a typical sandboxed plugin,
# whereas 'bootstrap' indicates a plugin whose jars are added to the JVM's boot
# classpath.
type=isolated
#
# 'description': simple summary of the plugin
description=Adds aggregations whose input are a list of numeric fields and output includes a matrix.
#
# 'version': plugin's version
version=7.10.2
version=7.11.2
#
# 'name': the plugin name
name=aggs-matrix-stats

#
# 'classname': the name of the class to load, fully-qualified.
# 'classname': the name of the class to load, fully-qualified. Only applies to
# "isolated" plugins
classname=org.elasticsearch.search.aggregations.matrix.MatrixAggregationPlugin

#
# 'java.version': version of java the code is built against
# use the system property java.specification.version
@@ -35,7 +43,7 @@ classname=org.elasticsearch.search.aggregations.matrix.MatrixAggregationPlugin
java.version=1.8
#
# 'elasticsearch.version': version of elasticsearch compiled against
elasticsearch.version=7.10.2
elasticsearch.version=7.11.2
### optional elements for plugins:
#
# 'extended.plugins': other plugins this plugin extends through SPI
@@ -43,3 +51,5 @@ extended.plugins=
#
# 'has.native.controller': whether or not the plugin has a native controller
has.native.controller=false



BIN
sonar-application/src/main/assembly/elasticsearch/modules/analysis-common/analysis-common-7.10.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/modules/analysis-common/analysis-common-7.11.2.jar View File


+ 13
- 3
sonar-application/src/main/assembly/elasticsearch/modules/analysis-common/plugin-descriptor.properties View File

@@ -16,17 +16,25 @@
#
### mandatory elements for all plugins:
#
# 'type': the type of this plugin. 'isolated' indicated a typical sandboxed plugin,
# whereas 'bootstrap' indicates a plugin whose jars are added to the JVM's boot
# classpath.
type=isolated
#
# 'description': simple summary of the plugin
description=Adds "built in" analyzers to Elasticsearch.
#
# 'version': plugin's version
version=7.10.2
version=7.11.2
#
# 'name': the plugin name
name=analysis-common

#
# 'classname': the name of the class to load, fully-qualified.
# 'classname': the name of the class to load, fully-qualified. Only applies to
# "isolated" plugins
classname=org.elasticsearch.analysis.common.CommonAnalysisPlugin

#
# 'java.version': version of java the code is built against
# use the system property java.specification.version
@@ -35,7 +43,7 @@ classname=org.elasticsearch.analysis.common.CommonAnalysisPlugin
java.version=1.8
#
# 'elasticsearch.version': version of elasticsearch compiled against
elasticsearch.version=7.10.2
elasticsearch.version=7.11.2
### optional elements for plugins:
#
# 'extended.plugins': other plugins this plugin extends through SPI
@@ -43,3 +51,5 @@ extended.plugins=lang-painless
#
# 'has.native.controller': whether or not the plugin has a native controller
has.native.controller=false



+ 93
- 0
sonar-application/src/main/assembly/elasticsearch/modules/constant-keyword/LICENSE.txt View File

@@ -0,0 +1,93 @@
Elastic License 2.0

URL: https://www.elastic.co/licensing/elastic-license

## Acceptance

By using the software, you agree to all of the terms and conditions below.

## Copyright License

The licensor grants you a non-exclusive, royalty-free, worldwide,
non-sublicensable, non-transferable license to use, copy, distribute, make
available, and prepare derivative works of the software, in each case subject to
the limitations and conditions below.

## Limitations

You may not provide the software to third parties as a hosted or managed
service, where the service provides users with access to any substantial set of
the features or functionality of the software.

You may not move, change, disable, or circumvent the license key functionality
in the software, and you may not remove or obscure any functionality in the
software that is protected by the license key.

You may not alter, remove, or obscure any licensing, copyright, or other notices
of the licensor in the software. Any use of the licensor’s trademarks is subject
to applicable law.

## Patents

The licensor grants you a license, under any patent claims the licensor can
license, or becomes able to license, to make, have made, use, sell, offer for
sale, import and have imported the software, in each case subject to the
limitations and conditions in this license. This license does not cover any
patent claims that you cause to be infringed by modifications or additions to
the software. If you or your company make any written claim that the software
infringes or contributes to infringement of any patent, your patent license for
the software granted under these terms ends immediately. If your company makes
such a claim, your patent license ends immediately for work on behalf of your
company.

## Notices

You must ensure that anyone who gets a copy of any part of the software from you
also gets a copy of these terms.

If you modify the software, you must include in any modified copies of the
software prominent notices stating that you have modified the software.

## No Other Rights

These terms do not imply any licenses other than those expressly granted in
these terms.

## Termination

If you use the software in violation of these terms, such use is not licensed,
and your licenses will automatically terminate. If the licensor provides you
with a notice of your violation, and you cease all violation of this license no
later than 30 days after you receive that notice, your licenses will be
reinstated retroactively. However, if you violate these terms after such
reinstatement, any additional violation of these terms will cause your licenses
to terminate automatically and permanently.

## No Liability

*As far as the law allows, the software comes as is, without any warranty or
condition, and the licensor will not be liable to you for any damages arising
out of these terms or the use or nature of the software, under any kind of
legal claim.*

## Definitions

The **licensor** is the entity offering these terms, and the **software** is the
software the licensor makes available under these terms, including any portion
of it.

**you** refers to the individual or entity agreeing to these terms.

**your company** is any legal entity, sole proprietorship, or other kind of
organization that you work for, plus all organizations that have control over,
are under the control of, or are under common control with that
organization. **control** means ownership of substantially all the assets of an
entity, or the power to direct its management and policies by vote, contract, or
otherwise. Control can be direct or indirect.

**your licenses** are all the licenses granted to you for the software under
these terms.

**use** means anything you do with the software requiring one of your licenses.

**trademark** means trademarks, service marks, and similar rights.

+ 4
- 0
sonar-application/src/main/assembly/elasticsearch/modules/constant-keyword/NOTICE.txt View File

@@ -0,0 +1,4 @@
Elasticsearch X-Pack
Copyright 2009-2017 Elasticsearch



BIN
sonar-application/src/main/assembly/elasticsearch/modules/constant-keyword/constant-keyword-7.11.2.jar View File


+ 55
- 0
sonar-application/src/main/assembly/elasticsearch/modules/constant-keyword/plugin-descriptor.properties View File

@@ -0,0 +1,55 @@
# Elasticsearch plugin descriptor file
# This file must exist as 'plugin-descriptor.properties' inside a plugin.
#
### example plugin for "foo"
#
# foo.zip <-- zip file for the plugin, with this structure:
# |____ <arbitrary name1>.jar <-- classes, resources, dependencies
# |____ <arbitrary nameN>.jar <-- any number of jars
# |____ plugin-descriptor.properties <-- example contents below:
#
# classname=foo.bar.BazPlugin
# description=My cool plugin
# version=6.0
# elasticsearch.version=6.0
# java.version=1.8
#
### mandatory elements for all plugins:
#
# 'type': the type of this plugin. 'isolated' indicated a typical sandboxed plugin,
# whereas 'bootstrap' indicates a plugin whose jars are added to the JVM's boot
# classpath.
type=isolated
#
# 'description': simple summary of the plugin
description=Module for the constant-keyword field type, which is a specialization of keyword for the case when all documents have the same value.
#
# 'version': plugin's version
version=7.11.2
#
# 'name': the plugin name
name=constant-keyword

#
# 'classname': the name of the class to load, fully-qualified. Only applies to
# "isolated" plugins
classname=org.elasticsearch.xpack.constantkeyword.ConstantKeywordMapperPlugin

#
# 'java.version': version of java the code is built against
# use the system property java.specification.version
# version string must be a sequence of nonnegative decimal integers
# separated by "."'s and may have leading zeros
java.version=1.8
#
# 'elasticsearch.version': version of elasticsearch compiled against
elasticsearch.version=7.11.2
### optional elements for plugins:
#
# 'extended.plugins': other plugins this plugin extends through SPI
extended.plugins=x-pack-core
#
# 'has.native.controller': whether or not the plugin has a native controller
has.native.controller=false



+ 93
- 0
sonar-application/src/main/assembly/elasticsearch/modules/flattened/LICENSE.txt View File

@@ -0,0 +1,93 @@
Elastic License 2.0

URL: https://www.elastic.co/licensing/elastic-license

## Acceptance

By using the software, you agree to all of the terms and conditions below.

## Copyright License

The licensor grants you a non-exclusive, royalty-free, worldwide,
non-sublicensable, non-transferable license to use, copy, distribute, make
available, and prepare derivative works of the software, in each case subject to
the limitations and conditions below.

## Limitations

You may not provide the software to third parties as a hosted or managed
service, where the service provides users with access to any substantial set of
the features or functionality of the software.

You may not move, change, disable, or circumvent the license key functionality
in the software, and you may not remove or obscure any functionality in the
software that is protected by the license key.

You may not alter, remove, or obscure any licensing, copyright, or other notices
of the licensor in the software. Any use of the licensor’s trademarks is subject
to applicable law.

## Patents

The licensor grants you a license, under any patent claims the licensor can
license, or becomes able to license, to make, have made, use, sell, offer for
sale, import and have imported the software, in each case subject to the
limitations and conditions in this license. This license does not cover any
patent claims that you cause to be infringed by modifications or additions to
the software. If you or your company make any written claim that the software
infringes or contributes to infringement of any patent, your patent license for
the software granted under these terms ends immediately. If your company makes
such a claim, your patent license ends immediately for work on behalf of your
company.

## Notices

You must ensure that anyone who gets a copy of any part of the software from you
also gets a copy of these terms.

If you modify the software, you must include in any modified copies of the
software prominent notices stating that you have modified the software.

## No Other Rights

These terms do not imply any licenses other than those expressly granted in
these terms.

## Termination

If you use the software in violation of these terms, such use is not licensed,
and your licenses will automatically terminate. If the licensor provides you
with a notice of your violation, and you cease all violation of this license no
later than 30 days after you receive that notice, your licenses will be
reinstated retroactively. However, if you violate these terms after such
reinstatement, any additional violation of these terms will cause your licenses
to terminate automatically and permanently.

## No Liability

*As far as the law allows, the software comes as is, without any warranty or
condition, and the licensor will not be liable to you for any damages arising
out of these terms or the use or nature of the software, under any kind of
legal claim.*

## Definitions

The **licensor** is the entity offering these terms, and the **software** is the
software the licensor makes available under these terms, including any portion
of it.

**you** refers to the individual or entity agreeing to these terms.

**your company** is any legal entity, sole proprietorship, or other kind of
organization that you work for, plus all organizations that have control over,
are under the control of, or are under common control with that
organization. **control** means ownership of substantially all the assets of an
entity, or the power to direct its management and policies by vote, contract, or
otherwise. Control can be direct or indirect.

**your licenses** are all the licenses granted to you for the software under
these terms.

**use** means anything you do with the software requiring one of your licenses.

**trademark** means trademarks, service marks, and similar rights.

+ 4
- 0
sonar-application/src/main/assembly/elasticsearch/modules/flattened/NOTICE.txt View File

@@ -0,0 +1,4 @@
Elasticsearch X-Pack
Copyright 2009-2017 Elasticsearch



BIN
sonar-application/src/main/assembly/elasticsearch/modules/flattened/flattened-7.11.2.jar View File


+ 55
- 0
sonar-application/src/main/assembly/elasticsearch/modules/flattened/plugin-descriptor.properties View File

@@ -0,0 +1,55 @@
# Elasticsearch plugin descriptor file
# This file must exist as 'plugin-descriptor.properties' inside a plugin.
#
### example plugin for "foo"
#
# foo.zip <-- zip file for the plugin, with this structure:
# |____ <arbitrary name1>.jar <-- classes, resources, dependencies
# |____ <arbitrary nameN>.jar <-- any number of jars
# |____ plugin-descriptor.properties <-- example contents below:
#
# classname=foo.bar.BazPlugin
# description=My cool plugin
# version=6.0
# elasticsearch.version=6.0
# java.version=1.8
#
### mandatory elements for all plugins:
#
# 'type': the type of this plugin. 'isolated' indicated a typical sandboxed plugin,
# whereas 'bootstrap' indicates a plugin whose jars are added to the JVM's boot
# classpath.
type=isolated
#
# 'description': simple summary of the plugin
description=Module for the flattened field type, which allows JSON objects to be flattened into a single field.
#
# 'version': plugin's version
version=7.11.2
#
# 'name': the plugin name
name=flattened

#
# 'classname': the name of the class to load, fully-qualified. Only applies to
# "isolated" plugins
classname=org.elasticsearch.xpack.flattened.FlattenedMapperPlugin

#
# 'java.version': version of java the code is built against
# use the system property java.specification.version
# version string must be a sequence of nonnegative decimal integers
# separated by "."'s and may have leading zeros
java.version=1.8
#
# 'elasticsearch.version': version of elasticsearch compiled against
elasticsearch.version=7.11.2
### optional elements for plugins:
#
# 'extended.plugins': other plugins this plugin extends through SPI
extended.plugins=x-pack-core
#
# 'has.native.controller': whether or not the plugin has a native controller
has.native.controller=false



+ 93
- 0
sonar-application/src/main/assembly/elasticsearch/modules/frozen-indices/LICENSE.txt View File

@@ -0,0 +1,93 @@
Elastic License 2.0

URL: https://www.elastic.co/licensing/elastic-license

## Acceptance

By using the software, you agree to all of the terms and conditions below.

## Copyright License

The licensor grants you a non-exclusive, royalty-free, worldwide,
non-sublicensable, non-transferable license to use, copy, distribute, make
available, and prepare derivative works of the software, in each case subject to
the limitations and conditions below.

## Limitations

You may not provide the software to third parties as a hosted or managed
service, where the service provides users with access to any substantial set of
the features or functionality of the software.

You may not move, change, disable, or circumvent the license key functionality
in the software, and you may not remove or obscure any functionality in the
software that is protected by the license key.

You may not alter, remove, or obscure any licensing, copyright, or other notices
of the licensor in the software. Any use of the licensor’s trademarks is subject
to applicable law.

## Patents

The licensor grants you a license, under any patent claims the licensor can
license, or becomes able to license, to make, have made, use, sell, offer for
sale, import and have imported the software, in each case subject to the
limitations and conditions in this license. This license does not cover any
patent claims that you cause to be infringed by modifications or additions to
the software. If you or your company make any written claim that the software
infringes or contributes to infringement of any patent, your patent license for
the software granted under these terms ends immediately. If your company makes
such a claim, your patent license ends immediately for work on behalf of your
company.

## Notices

You must ensure that anyone who gets a copy of any part of the software from you
also gets a copy of these terms.

If you modify the software, you must include in any modified copies of the
software prominent notices stating that you have modified the software.

## No Other Rights

These terms do not imply any licenses other than those expressly granted in
these terms.

## Termination

If you use the software in violation of these terms, such use is not licensed,
and your licenses will automatically terminate. If the licensor provides you
with a notice of your violation, and you cease all violation of this license no
later than 30 days after you receive that notice, your licenses will be
reinstated retroactively. However, if you violate these terms after such
reinstatement, any additional violation of these terms will cause your licenses
to terminate automatically and permanently.

## No Liability

*As far as the law allows, the software comes as is, without any warranty or
condition, and the licensor will not be liable to you for any damages arising
out of these terms or the use or nature of the software, under any kind of
legal claim.*

## Definitions

The **licensor** is the entity offering these terms, and the **software** is the
software the licensor makes available under these terms, including any portion
of it.

**you** refers to the individual or entity agreeing to these terms.

**your company** is any legal entity, sole proprietorship, or other kind of
organization that you work for, plus all organizations that have control over,
are under the control of, or are under common control with that
organization. **control** means ownership of substantially all the assets of an
entity, or the power to direct its management and policies by vote, contract, or
otherwise. Control can be direct or indirect.

**your licenses** are all the licenses granted to you for the software under
these terms.

**use** means anything you do with the software requiring one of your licenses.

**trademark** means trademarks, service marks, and similar rights.

+ 4
- 0
sonar-application/src/main/assembly/elasticsearch/modules/frozen-indices/NOTICE.txt View File

@@ -0,0 +1,4 @@
Elasticsearch X-Pack
Copyright 2009-2017 Elasticsearch



BIN
sonar-application/src/main/assembly/elasticsearch/modules/frozen-indices/frozen-indices-7.11.2.jar View File


+ 55
- 0
sonar-application/src/main/assembly/elasticsearch/modules/frozen-indices/plugin-descriptor.properties View File

@@ -0,0 +1,55 @@
# Elasticsearch plugin descriptor file
# This file must exist as 'plugin-descriptor.properties' inside a plugin.
#
### example plugin for "foo"
#
# foo.zip <-- zip file for the plugin, with this structure:
# |____ <arbitrary name1>.jar <-- classes, resources, dependencies
# |____ <arbitrary nameN>.jar <-- any number of jars
# |____ plugin-descriptor.properties <-- example contents below:
#
# classname=foo.bar.BazPlugin
# description=My cool plugin
# version=6.0
# elasticsearch.version=6.0
# java.version=1.8
#
### mandatory elements for all plugins:
#
# 'type': the type of this plugin. 'isolated' indicated a typical sandboxed plugin,
# whereas 'bootstrap' indicates a plugin whose jars are added to the JVM's boot
# classpath.
type=isolated
#
# 'description': simple summary of the plugin
description=A plugin for the frozen indices functionality
#
# 'version': plugin's version
version=7.11.2
#
# 'name': the plugin name
name=frozen-indices

#
# 'classname': the name of the class to load, fully-qualified. Only applies to
# "isolated" plugins
classname=org.elasticsearch.xpack.frozen.FrozenIndices

#
# 'java.version': version of java the code is built against
# use the system property java.specification.version
# version string must be a sequence of nonnegative decimal integers
# separated by "."'s and may have leading zeros
java.version=1.8
#
# 'elasticsearch.version': version of elasticsearch compiled against
elasticsearch.version=7.11.2
### optional elements for plugins:
#
# 'extended.plugins': other plugins this plugin extends through SPI
extended.plugins=x-pack-core
#
# 'has.native.controller': whether or not the plugin has a native controller
has.native.controller=false



BIN
sonar-application/src/main/assembly/elasticsearch/modules/geo/geo-7.10.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/modules/ingest-common/elasticsearch-dissect-7.10.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/modules/ingest-common/elasticsearch-dissect-7.11.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/modules/ingest-common/elasticsearch-grok-7.10.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/modules/ingest-common/elasticsearch-grok-7.11.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/modules/ingest-common/ingest-common-7.10.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/modules/ingest-common/ingest-common-7.11.2.jar View File


+ 13
- 3
sonar-application/src/main/assembly/elasticsearch/modules/ingest-common/plugin-descriptor.properties View File

@@ -16,17 +16,25 @@
#
### mandatory elements for all plugins:
#
# 'type': the type of this plugin. 'isolated' indicated a typical sandboxed plugin,
# whereas 'bootstrap' indicates a plugin whose jars are added to the JVM's boot
# classpath.
type=isolated
#
# 'description': simple summary of the plugin
description=Module for ingest processors that do not require additional security permissions or have large dependencies and resources
#
# 'version': plugin's version
version=7.10.2
version=7.11.2
#
# 'name': the plugin name
name=ingest-common

#
# 'classname': the name of the class to load, fully-qualified.
# 'classname': the name of the class to load, fully-qualified. Only applies to
# "isolated" plugins
classname=org.elasticsearch.ingest.common.IngestCommonPlugin

#
# 'java.version': version of java the code is built against
# use the system property java.specification.version
@@ -35,7 +43,7 @@ classname=org.elasticsearch.ingest.common.IngestCommonPlugin
java.version=1.8
#
# 'elasticsearch.version': version of elasticsearch compiled against
elasticsearch.version=7.10.2
elasticsearch.version=7.11.2
### optional elements for plugins:
#
# 'extended.plugins': other plugins this plugin extends through SPI
@@ -43,3 +51,5 @@ extended.plugins=lang-painless
#
# 'has.native.controller': whether or not the plugin has a native controller
has.native.controller=false



BIN
sonar-application/src/main/assembly/elasticsearch/modules/ingest-geoip/ingest-geoip-7.10.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/modules/ingest-geoip/ingest-geoip-7.11.2.jar View File


+ 13
- 3
sonar-application/src/main/assembly/elasticsearch/modules/ingest-geoip/plugin-descriptor.properties View File

@@ -16,17 +16,25 @@
#
### mandatory elements for all plugins:
#
# 'type': the type of this plugin. 'isolated' indicated a typical sandboxed plugin,
# whereas 'bootstrap' indicates a plugin whose jars are added to the JVM's boot
# classpath.
type=isolated
#
# 'description': simple summary of the plugin
description=Ingest processor that uses looksup geo data based on ip adresses using the Maxmind geo database
#
# 'version': plugin's version
version=7.10.2
version=7.11.2
#
# 'name': the plugin name
name=ingest-geoip

#
# 'classname': the name of the class to load, fully-qualified.
# 'classname': the name of the class to load, fully-qualified. Only applies to
# "isolated" plugins
classname=org.elasticsearch.ingest.geoip.IngestGeoIpPlugin

#
# 'java.version': version of java the code is built against
# use the system property java.specification.version
@@ -35,7 +43,7 @@ classname=org.elasticsearch.ingest.geoip.IngestGeoIpPlugin
java.version=1.8
#
# 'elasticsearch.version': version of elasticsearch compiled against
elasticsearch.version=7.10.2
elasticsearch.version=7.11.2
### optional elements for plugins:
#
# 'extended.plugins': other plugins this plugin extends through SPI
@@ -43,3 +51,5 @@ extended.plugins=
#
# 'has.native.controller': whether or not the plugin has a native controller
has.native.controller=false



+ 5
- 16
sonar-application/src/main/assembly/elasticsearch/modules/ingest-geoip/plugin-security.policy View File

@@ -1,20 +1,9 @@
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server
* Side Public License, v 1.
*/

grant {

BIN
sonar-application/src/main/assembly/elasticsearch/modules/ingest-user-agent/ingest-user-agent-7.10.2.jar → sonar-application/src/main/assembly/elasticsearch/modules/ingest-user-agent/ingest-user-agent-7.11.2.jar View File


+ 13
- 3
sonar-application/src/main/assembly/elasticsearch/modules/ingest-user-agent/plugin-descriptor.properties View File

@@ -16,17 +16,25 @@
#
### mandatory elements for all plugins:
#
# 'type': the type of this plugin. 'isolated' indicated a typical sandboxed plugin,
# whereas 'bootstrap' indicates a plugin whose jars are added to the JVM's boot
# classpath.
type=isolated
#
# 'description': simple summary of the plugin
description=Ingest processor that extracts information from a user agent
#
# 'version': plugin's version
version=7.10.2
version=7.11.2
#
# 'name': the plugin name
name=ingest-user-agent

#
# 'classname': the name of the class to load, fully-qualified.
# 'classname': the name of the class to load, fully-qualified. Only applies to
# "isolated" plugins
classname=org.elasticsearch.ingest.useragent.IngestUserAgentPlugin

#
# 'java.version': version of java the code is built against
# use the system property java.specification.version
@@ -35,7 +43,7 @@ classname=org.elasticsearch.ingest.useragent.IngestUserAgentPlugin
java.version=1.8
#
# 'elasticsearch.version': version of elasticsearch compiled against
elasticsearch.version=7.10.2
elasticsearch.version=7.11.2
### optional elements for plugins:
#
# 'extended.plugins': other plugins this plugin extends through SPI
@@ -43,3 +51,5 @@ extended.plugins=
#
# 'has.native.controller': whether or not the plugin has a native controller
has.native.controller=false



BIN
sonar-application/src/main/assembly/elasticsearch/modules/kibana/elasticsearch-rest-client-7.10.2.jar → sonar-application/src/main/assembly/elasticsearch/modules/kibana/elasticsearch-rest-client-7.11.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/modules/kibana/elasticsearch-ssl-config-7.10.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/modules/kibana/elasticsearch-ssl-config-7.11.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/modules/kibana/kibana-7.10.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/modules/kibana/kibana-7.11.2.jar View File


+ 13
- 3
sonar-application/src/main/assembly/elasticsearch/modules/kibana/plugin-descriptor.properties View File

@@ -16,17 +16,25 @@
#
### mandatory elements for all plugins:
#
# 'type': the type of this plugin. 'isolated' indicated a typical sandboxed plugin,
# whereas 'bootstrap' indicates a plugin whose jars are added to the JVM's boot
# classpath.
type=isolated
#
# 'description': simple summary of the plugin
description=Plugin exposing APIs for Kibana system indices
#
# 'version': plugin's version
version=7.10.2
version=7.11.2
#
# 'name': the plugin name
name=kibana

#
# 'classname': the name of the class to load, fully-qualified.
# 'classname': the name of the class to load, fully-qualified. Only applies to
# "isolated" plugins
classname=org.elasticsearch.kibana.KibanaPlugin

#
# 'java.version': version of java the code is built against
# use the system property java.specification.version
@@ -35,7 +43,7 @@ classname=org.elasticsearch.kibana.KibanaPlugin
java.version=1.8
#
# 'elasticsearch.version': version of elasticsearch compiled against
elasticsearch.version=7.10.2
elasticsearch.version=7.11.2
### optional elements for plugins:
#
# 'extended.plugins': other plugins this plugin extends through SPI
@@ -43,3 +51,5 @@ extended.plugins=
#
# 'has.native.controller': whether or not the plugin has a native controller
has.native.controller=false



BIN
sonar-application/src/main/assembly/elasticsearch/modules/kibana/reindex-client-7.10.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/modules/kibana/reindex-client-7.11.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/lang-expression-7.10.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/lang-expression-7.11.2.jar View File


+ 13
- 3
sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/plugin-descriptor.properties View File

@@ -16,17 +16,25 @@
#
### mandatory elements for all plugins:
#
# 'type': the type of this plugin. 'isolated' indicated a typical sandboxed plugin,
# whereas 'bootstrap' indicates a plugin whose jars are added to the JVM's boot
# classpath.
type=isolated
#
# 'description': simple summary of the plugin
description=Lucene expressions integration for Elasticsearch
#
# 'version': plugin's version
version=7.10.2
version=7.11.2
#
# 'name': the plugin name
name=lang-expression

#
# 'classname': the name of the class to load, fully-qualified.
# 'classname': the name of the class to load, fully-qualified. Only applies to
# "isolated" plugins
classname=org.elasticsearch.script.expression.ExpressionPlugin

#
# 'java.version': version of java the code is built against
# use the system property java.specification.version
@@ -35,7 +43,7 @@ classname=org.elasticsearch.script.expression.ExpressionPlugin
java.version=1.8
#
# 'elasticsearch.version': version of elasticsearch compiled against
elasticsearch.version=7.10.2
elasticsearch.version=7.11.2
### optional elements for plugins:
#
# 'extended.plugins': other plugins this plugin extends through SPI
@@ -43,3 +51,5 @@ extended.plugins=
#
# 'has.native.controller': whether or not the plugin has a native controller
has.native.controller=false



+ 6
- 17
sonar-application/src/main/assembly/elasticsearch/modules/lang-expression/plugin-security.policy View File

@@ -1,26 +1,15 @@
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server
* Side Public License, v 1.
*/

grant {
// needed to generate runtime classes
permission java.lang.RuntimePermission "createClassLoader";

// expression runtime
permission org.elasticsearch.script.ClassPermission "java.lang.String";
permission org.elasticsearch.script.ClassPermission "org.apache.lucene.expressions.Expression";

BIN
sonar-application/src/main/assembly/elasticsearch/modules/lang-mustache/lang-mustache-client-7.10.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/modules/lang-mustache/lang-mustache-client-7.11.2.jar View File


+ 13
- 3
sonar-application/src/main/assembly/elasticsearch/modules/lang-mustache/plugin-descriptor.properties View File

@@ -16,17 +16,25 @@
#
### mandatory elements for all plugins:
#
# 'type': the type of this plugin. 'isolated' indicated a typical sandboxed plugin,
# whereas 'bootstrap' indicates a plugin whose jars are added to the JVM's boot
# classpath.
type=isolated
#
# 'description': simple summary of the plugin
description=Mustache scripting integration for Elasticsearch
#
# 'version': plugin's version
version=7.10.2
version=7.11.2
#
# 'name': the plugin name
name=lang-mustache

#
# 'classname': the name of the class to load, fully-qualified.
# 'classname': the name of the class to load, fully-qualified. Only applies to
# "isolated" plugins
classname=org.elasticsearch.script.mustache.MustachePlugin

#
# 'java.version': version of java the code is built against
# use the system property java.specification.version
@@ -35,7 +43,7 @@ classname=org.elasticsearch.script.mustache.MustachePlugin
java.version=1.8
#
# 'elasticsearch.version': version of elasticsearch compiled against
elasticsearch.version=7.10.2
elasticsearch.version=7.11.2
### optional elements for plugins:
#
# 'extended.plugins': other plugins this plugin extends through SPI
@@ -43,3 +51,5 @@ extended.plugins=
#
# 'has.native.controller': whether or not the plugin has a native controller
has.native.controller=false



+ 5
- 16
sonar-application/src/main/assembly/elasticsearch/modules/lang-mustache/plugin-security.policy View File

@@ -1,20 +1,9 @@
/*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server
* Side Public License, v 1.
*/

grant {

BIN
sonar-application/src/main/assembly/elasticsearch/modules/lang-painless/elasticsearch-scripting-painless-spi-7.10.2.jar View File


BIN
sonar-application/src/main/assembly/elasticsearch/modules/lang-painless/elasticsearch-scripting-painless-spi-7.11.2.jar View File


+ 0
- 0
sonar-application/src/main/assembly/elasticsearch/modules/lang-painless/lang-painless-7.10.2.jar View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save