fix(evidence): harden source acquisition
This commit is contained in:
@@ -188,6 +188,8 @@ class HttpEvidenceSourceConfig(BaseModel):
|
||||
read_timeout: float = Field(default=30, gt=0)
|
||||
max_bytes: int = Field(default=10 * 1024 * 1024, gt=0)
|
||||
max_redirects: int = Field(default=5, ge=0)
|
||||
allow_private_hosts: bool = False
|
||||
max_cache_bytes: int = Field(default=64 * 1024 * 1024, gt=0)
|
||||
|
||||
|
||||
EvidenceSourceConfig = Annotated[
|
||||
|
||||
Reference in New Issue
Block a user