-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '2.x' of github.com:opensearch-project/security into bac…
…kport/backport-3236-to-2.x Signed-off-by: Derek Ho <dxho@amazon.com>
- Loading branch information
Showing
120 changed files
with
1,781 additions
and
2,365 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "gradle" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
commit-message: | ||
prefix: "[2.x] dependabot:" | ||
ignore: | ||
# For all packages, ignore all major versions to minimize breaking issues | ||
- dependency-name: "*" | ||
update-types: ["version-update:semver-major"] | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
commit-message: | ||
prefix: "[2.x] dependabot:" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE module PUBLIC | ||
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" | ||
"https://checkstyle.org/dtds/configuration_1_3.dtd"> | ||
|
||
<module name="Checker"> | ||
<module name="BeforeExecutionExclusionFileFilter"> | ||
<property name="fileNamePattern" value="src/main/java/org/opensearch/security/tools/*"/> | ||
</module> | ||
<module name="BeforeExecutionExclusionFileFilter"> | ||
<property name="fileNamePattern" value="src/main/java/com/amazon/dlic/auth/http/kerberos/HTTPSpnegoAuthenticator.java"/> | ||
</module> | ||
<module name="TreeWalker"> | ||
<module name="RegexpSinglelineJava"> | ||
<property name="format" value="System.out.println"/> | ||
<property name="ignoreCase" value="true"/> | ||
<property name="message" value="Do not use System.out.println" /> | ||
<property name="severity" value="error"/> | ||
</module> | ||
</module> | ||
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -215,4 +215,5 @@ | |
<property name="checkFormat" value="$1"/> | ||
</module> | ||
|
||
<module name="PrintlnModule"/> | ||
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
coverage: | ||
status: | ||
project: | ||
# Exclusions to prevent false positives triggered | ||
# Tracking with https://github.com/opensearch-project/security/issues/3137 | ||
default: false | ||
plugin: | ||
paths: | ||
- "!src/main/java/com/amazon/dlic/auth/http/jwt/keybyoidc/SelfRefreshingKeySet.java" | ||
- "!src/main/java/com/amazon/dlic/auth/ldap2/LDAPConnectionFactoryFactory.java" | ||
- "!src/main/java/org/opensearch/security/transport/SecurityInterceptor.java" | ||
- "!src/main/java/org/opensearch/security/auditlog/AuditLogSslExceptionHandler.java" | ||
- "!src/main/java/org/opensearch/security/compliance/ComplianceIndexingOperationListenerImpl.java" | ||
- "!src/main/java/org/opensearch/security/configuration/ConfigurationRepository.java" | ||
- "!src/main/java/org/opensearch/security/configuration/StaticResourceException.java" | ||
- "!src/main/java/org/opensearch/security/dlic/rest/api/AuditApiAction.java" | ||
- "!src/main/java/org/opensearch/security/ssl/transport/SecuritySSLNettyTransport.java" | ||
- "!src/main/java/org/opensearch/security/ssl/util/SSLConnectionTestUtil.java" | ||
- "src/main" | ||
target: auto | ||
threshold: 0% | ||
inconsistent-coverage-files: | ||
paths: | ||
- "src/main/java/com/amazon/dlic/auth/http/jwt/keybyoidc/SelfRefreshingKeySet.java" | ||
- "src/main/java/com/amazon/dlic/auth/ldap2/LDAPConnectionFactoryFactory.java" | ||
- "src/main/java/org/opensearch/security/transport/SecurityInterceptor.java" | ||
- "src/main/java/org/opensearch/security/auditlog/AuditLogSslExceptionHandler.java" | ||
- "src/main/java/org/opensearch/security/compliance/ComplianceIndexingOperationListenerImpl.java" | ||
- "src/main/java/org/opensearch/security/configuration/ConfigurationRepository.java" | ||
- "src/main/java/org/opensearch/security/configuration/StaticResourceException.java" | ||
- "src/main/java/org/opensearch/security/dlic/rest/api/AuditApiAction.java" | ||
- "src/main/java/org/opensearch/security/ssl/transport/SecuritySSLNettyTransport.java" | ||
- "src/main/java/org/opensearch/security/ssl/util/SSLConnectionTestUtil.java" | ||
target: auto | ||
threshold: 50% | ||
tests: | ||
paths: | ||
- "src/integrationTest" | ||
- "src/test" | ||
target: 100% | ||
|
||
comment: | ||
layout: "reach, diff, flags, files" | ||
behavior: default | ||
require_changes: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.