Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency org.openrewrite.maven:rewrite-maven-plugin to v5.47.1 #429

Merged
merged 6 commits into from
Dec 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<maven-release-plugin.version>3.1.1</maven-release-plugin.version>
<rewrite-java-security.version>2.17.1</rewrite-java-security.version>
<rewrite-logging-frameworks.version>2.18.1</rewrite-logging-frameworks.version>
<rewrite-maven-plugin.version>5.47.0</rewrite-maven-plugin.version>
<rewrite-maven-plugin.version>5.47.1</rewrite-maven-plugin.version>
<rewrite-recommendations.version>1.14.2</rewrite-recommendations.version>
<rewrite-static-analysis.version>1.22.0</rewrite-static-analysis.version>
<rewrite-testing-frameworks.version>2.24.0</rewrite-testing-frameworks.version>
Expand Down Expand Up @@ -266,7 +266,6 @@
<failOnDryRunResults>true</failOnDryRunResults>
<activeRecipes>
<recipe>com.github.nramc.recipes.sources</recipe>
<recipe>org.openrewrite.java.security.OwaspTopTen.customized</recipe>
<recipe>com.github.nramc.recipes.testing</recipe>
</activeRecipes>
<activeStyles>
Expand Down
24 changes: 0 additions & 24 deletions rewrite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,6 @@ recipeList:
- org.openrewrite.recipes.JavaRecipeBestPractices
# - org.openrewrite.java.AddApache2LicenseHeader

---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.java.security.OwaspTopTen.customized
displayName: "Remediate vulnerabilities from the OWASP Top Ten"
description: "[ OWASP ](https://owasp.org) publishes a list of the most impactful common security vulnerabilities. These recipes identify and remediate vulnerabilities from the OWASP Top Ten."
recipeList:
- org.openrewrite.java.security.OwaspA01
- org.openrewrite.java.security.OwaspA02
- org.openrewrite.java.security.OwaspA03
- org.openrewrite.java.security.OwaspA05
- org.openrewrite.java.security.OwaspA06
# Customized OwaspA08 to exclude CSRF protection recipe
# - org.openrewrite.java.security.OwaspA08
- org.openrewrite.java.security.marshalling.InsecureJmsDeserialization
- org.openrewrite.java.security.marshalling.SecureSnakeYamlConstructor
- org.openrewrite.java.security.marshalling.SecureJacksonDefaultTyping
- org.openrewrite.java.security.search.FindJacksonDefaultTypeMapping
- org.openrewrite.java.security.search.FindVulnerableJacksonJsonTypeInfo
- org.openrewrite.java.security.SecureTempFileCreation
- org.openrewrite.java.security.FindTextDirectionChanges
- org.openrewrite.java.security.UseFilesCreateTempDirectory
# Excluded CSRF protection recipe due to stateless session
# - org.openrewrite.java.security.spring.CsrfProtection

---
type: specs.openrewrite.org/v1beta/recipe
name: com.github.nramc.recipes.testing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class StringObfuscatorTest {
@CsvSource({
"Test, T***",
"Test Test, T********",
"Test123, T******",
"Test123, T******"
})
void obfuscate_WhenNumberOfVisibleCharactersNotSpecified_shouldConsiderDefaultVisibleCharacters(String string, String expectedObfuscatedString) {
assertThat(StringObfuscator.obfuscate(string)).isEqualTo(expectedObfuscatedString);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class UpdateJourneyImagesDetailsResourceTest {
jsonPath("$.tags").value(hasItems("travel", "germany", "munich")),
jsonPath("$.thumbnail").value("https://example.com/thumbnail.png"),
jsonPath("$.journeyDate").value("2024-03-27"),
jsonPath("$.createdDate").value("2024-03-27"),
jsonPath("$.createdDate").value("2024-03-27")
};
@Autowired
private MockMvc mockMvc;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class PublishJourneyResourceTest {
jsonPath("$.tags").value(hasItems("travel", "germany", "munich")),
jsonPath("$.thumbnail").value("https://example.com/thumbnail.png"),
jsonPath("$.journeyDate").value("2024-03-27"),
jsonPath("$.createdDate").value("2024-03-27"),
jsonPath("$.createdDate").value("2024-03-27")
};
private static final Set<Visibility> DEFAULT_VISIBILITY = Set.of(MYSELF);
@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class UpdateJourneyVideosDetailsResourceTest {
jsonPath("$.tags").value(hasItems("travel", "germany", "munich")),
jsonPath("$.thumbnail").value("https://example.com/thumbnail.png"),
jsonPath("$.journeyDate").value("2024-03-27"),
jsonPath("$.createdDate").value("2024-03-27"),
jsonPath("$.createdDate").value("2024-03-27")
};

@Autowired
Expand Down
Loading