Add governed Files integrity operations UI
This commit is contained in:
@@ -101,6 +101,7 @@ class FileIntegrityScanResponse(BaseModel):
|
||||
storage_backend: str
|
||||
storage_prefix: str
|
||||
status: str
|
||||
revision: int
|
||||
phase: str
|
||||
verify_checksums: bool
|
||||
batch_size: int
|
||||
@@ -127,6 +128,7 @@ class FileIntegrityFindingResponse(BaseModel):
|
||||
tenant_id: str
|
||||
kind: str
|
||||
state: str
|
||||
revision: int
|
||||
blob_id: str | None = None
|
||||
storage_key: str
|
||||
expected_size_bytes: int | None = None
|
||||
@@ -145,6 +147,11 @@ class FileIntegrityFindingsResponse(BaseModel):
|
||||
|
||||
class FileIntegrityActionRequest(BaseModel):
|
||||
dry_run: bool = True
|
||||
expected_revision: int = Field(ge=1)
|
||||
|
||||
|
||||
class FileIntegrityScanRunRequest(BaseModel):
|
||||
expected_revision: int = Field(ge=1)
|
||||
|
||||
|
||||
class FileIntegrityActionResponse(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user