Skip to content

Commit

Permalink
Merge pull request #429 from nramc/renovate/rewrite-maven-plugin.version
Browse files Browse the repository at this point in the history
chore(deps): update dependency org.openrewrite.maven:rewrite-maven-plugin to v5.47.1
  • Loading branch information
nramc authored Dec 26, 2024
2 parents 4a0a5ba + 453f5ba commit de96631
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 30 deletions.
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

0 comments on commit de96631

Please sign in to comment.