Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
133 changes: 132 additions & 1 deletion pkg/github/__toolsnaps__/get_code_quality_finding.snap
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,136 @@
],
"type": "object"
},
"name": "get_code_quality_finding"
"name": "get_code_quality_finding",
"outputSchema": {
"additionalProperties": false,
"properties": {
"created_at": {
"description": "Finding creation time (RFC 3339).",
"type": [
"null",
"string"
]
},
"location": {
"additionalProperties": false,
"properties": {
"end_column": {
"type": [
"null",
"integer"
]
},
"end_line": {
"type": [
"null",
"integer"
]
},
"path": {
"type": [
"null",
"string"
]
},
"start_column": {
"type": [
"null",
"integer"
]
},
"start_line": {
"type": [
"null",
"integer"
]
}
},
"type": [
"null",
"object"
]
},
"message": {
"additionalProperties": false,
"properties": {
"markdown": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"text",
"markdown"
],
"type": [
"null",
"object"
]
},
"number": {
"type": [
"null",
"integer"
]
},
"rule": {
"additionalProperties": false,
"properties": {
"category": {
"type": [
"null",
"string"
]
},
"description": {
"type": [
"null",
"string"
]
},
"help": {
"type": [
"null",
"string"
]
},
"id": {
"type": [
"null",
"string"
]
},
"severity": {
"type": [
"null",
"string"
]
},
"title": {
"type": [
"null",
"string"
]
}
},
"type": [
"null",
"object"
]
},
"state": {
"type": [
"null",
"string"
]
}
},
"type": [
"null",
"object"
]
}
}
165 changes: 164 additions & 1 deletion pkg/github/__toolsnaps__/get_code_scanning_alert.snap
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,168 @@
],
"type": "object"
},
"name": "get_code_scanning_alert"
"name": "get_code_scanning_alert",
"outputSchema": {
"additionalProperties": false,
"properties": {
"dismissed_comment": {
"type": [
"null",
"string"
]
},
"dismissed_reason": {
"type": [
"null",
"string"
]
},
"html_url": {
"type": [
"null",
"string"
]
},
"most_recent_instance": {
"additionalProperties": false,
"properties": {
"commit_sha": {
"type": [
"null",
"string"
]
},
"html_url": {
"type": [
"null",
"string"
]
},
"location": {
"additionalProperties": false,
"properties": {
"end_column": {
"type": [
"null",
"integer"
]
},
"end_line": {
"type": [
"null",
"integer"
]
},
"path": {
"type": [
"null",
"string"
]
},
"start_column": {
"type": [
"null",
"integer"
]
},
"start_line": {
"type": [
"null",
"integer"
]
}
},
"type": [
"null",
"object"
]
},
"message": {
"type": [
"null",
"string"
]
},
"ref": {
"type": [
"null",
"string"
]
},
"state": {
"type": [
"null",
"string"
]
}
},
"type": [
"null",
"object"
]
},
"number": {
"type": [
"null",
"integer"
]
},
"rule": {
"additionalProperties": false,
"properties": {
"description": {
"type": [
"null",
"string"
]
},
"help": {
"type": [
"null",
"string"
]
},
"id": {
"type": [
"null",
"string"
]
},
"name": {
"type": [
"null",
"string"
]
},
"security_severity_level": {
"description": "Security impact level, distinct from rule diagnostic severity.",
"type": [
"null",
"string"
]
},
"severity": {
"type": [
"null",
"string"
]
}
},
"type": [
"null",
"object"
]
},
"state": {
"type": [
"null",
"string"
]
}
},
"type": [
"null",
"object"
]
}
}
Loading
Loading