Skip to content

Commit a61bb94

Browse files
committed
chore: address PR comment
Signed-off-by: behnazh-w <behnaz.hassanshahi@oracle.com>
1 parent b76afe2 commit a61bb94

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/macaron/slsa_analyzer/checks/detect_malicious_metadata_check.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ class MaliciousMetadataFacts(CheckFacts):
5151
detail_information: Mapped[dict[str, JsonType]] = mapped_column(DBJsonDict, nullable=False)
5252

5353
#: The result of analysis, which can be an empty dictionary.
54-
result: Mapped[dict] = mapped_column(DBJsonDict, nullable=False, info={"justification": JustificationType.TEXT})
54+
result: Mapped[dict[Heuristics, HeuristicResult]] = mapped_column(
55+
DBJsonDict, nullable=False, info={"justification": JustificationType.TEXT}
56+
)
5557

5658
__mapper_args__ = {
5759
"polymorphic_identity": "_detect_malicious_metadata_check",

0 commit comments

Comments
 (0)