Make tool_version, onefuzz_version, tool_name optinal (#1940)

This commit is contained in:
Cheick Keita 2022-05-13 13:12:22 -07:00 committed by GitHub
parent e2314b1311
commit b080f5b164
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 15 deletions

View File

@ -267,10 +267,7 @@ If webhook is set to have Event Grid message format then the payload will look a
"call_stack_sha256",
"input_sha256",
"task_id",
"job_id",
"tool_name",
"tool_version",
"onefuzz_version"
"job_id"
],
"title": "Report",
"type": "object"
@ -2129,10 +2126,7 @@ If webhook is set to have Event Grid message format then the payload will look a
"call_stack_sha256",
"input_sha256",
"task_id",
"job_id",
"tool_name",
"tool_version",
"onefuzz_version"
"job_id"
],
"title": "Report",
"type": "object"
@ -6383,10 +6377,7 @@ If webhook is set to have Event Grid message format then the payload will look a
"call_stack_sha256",
"input_sha256",
"task_id",
"job_id",
"tool_name",
"tool_version",
"onefuzz_version"
"job_id"
],
"title": "Report",
"type": "object"

View File

@ -214,9 +214,9 @@ class Report(BaseModel):
asan_log: Optional[str]
task_id: UUID
job_id: UUID
tool_name: str
tool_version: str
onefuzz_version: str
tool_name: Optional[str]
tool_version: Optional[str]
onefuzz_version: Optional[str]
scariness_score: Optional[int]
scariness_description: Optional[str]
minimized_stack: Optional[List[str]]