AWS Security ChangesHomeSearch

AWS codeguru documentation change

Service: codeguru · 2025-06-13 · Documentation low

File: codeguru/latest/security-api/API_GetScan.md

Summary

Removed regex start/end anchors (^ and $) from pattern validations for scan IDs, resource ARNs, and other fields

Security assessment

The change relaxes regex pattern validation by removing strict start/end anchors, but there is no evidence this addresses a security vulnerability. This appears to be a documentation formatting adjustment rather than a security fix.

Diff

diff --git a/codeguru/latest/security-api/API_GetScan.md b/codeguru/latest/security-api/API_GetScan.md
index 0670b14ae..7f38269ca 100644
--- a//codeguru/latest/security-api/API_GetScan.md
+++ b//codeguru/latest/security-api/API_GetScan.md
@@ -26 +26 @@ UUID that identifies the individual scan run you want to view details about. You
-Pattern: `^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$`
+Pattern: `[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}`
@@ -35 +35 @@ Length Constraints: Minimum length of 1. Maximum length of 140.
-Pattern: `^[a-zA-Z0-9-_$:.]*$`
+Pattern: `[a-zA-Z0-9-_$:.]*`
@@ -106 +106 @@ Type: String
-Pattern: `^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$`
+Pattern: `[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}`
@@ -117 +117 @@ Length Constraints: Minimum length of 1. Maximum length of 140.
-Pattern: `^[a-zA-Z0-9-_$:.]*$`
+Pattern: `[a-zA-Z0-9-_$:.]*`
@@ -128 +128 @@ Length Constraints: Minimum length of 1. Maximum length of 300.
-Pattern: `^arn:aws:codeguru-security:[\S]+:[\d]{12}:scans\/[a-zA-Z0-9-_$:.]*$`
+Pattern: `arn:aws:codeguru-security:[\S]+:[\d]{12}:scans\/[a-zA-Z0-9-_$:.]*`