WebService::GitHub::CodeScanning
Delete a code scanning analysis from a repository
WebService::GitHub::CodeScanning.delete-analysis( Str $owner
, Str $repo
, Int(Str) $analysis-id
, Str :$confirm-delete
)
Get a code scanning alert
WebService::GitHub::CodeScanning.get-alert( Str $owner
, Str $repo
, Int(Str) $alert-number
)
Get a code scanning analysis for a repository
WebService::GitHub::CodeScanning.get-analysis( Str $owner
, Str $repo
, Int(Str) $analysis-id
)
WebService::GitHub::CodeScanning.get-sarif( Str $owner
, Str $repo
, Str $sarif-id
)
List code scanning alerts for a repository
WebService::GitHub::CodeScanning.list-alerts-for-repo( Str $owner
, Str $repo
, Str :$tool-name
, Str :$tool-guid
, Int(Str) :$page
, Int(Str) :$per-page
, Str :$ref
, WebService::GitHub::CodeScanning::ListAlertsForRepoState :$state
)
List instances of a code scanning alert
WebService::GitHub::CodeScanning.list-alerts-instances( Str $owner
, Str $repo
, Int(Str) $alert-number
, Int(Str) :$page
, Int(Str) :$per-page
, Str :$ref
)
List code scanning analyses for a repository
WebService::GitHub::CodeScanning.list-recent-analyses( Str $owner
, Str $repo
, Str :$tool-name
, Str :$tool-guid
, Int(Str) :$page
, Int(Str) :$per-page
, Str :$ref
, Str :$sarif-id
)
Update a code scanning alert
WebService::GitHub::CodeScanning.update-alert( Str $owner
, Str $repo
, Int(Str) $alert-number
, WebService::GitHub::CodeScanning::UpdateAlertState :$state!
, Str :$dismissed-reason
)
Upload an analysis as SARIF data
WebService::GitHub::CodeScanning.upload-sarif( Str $owner
, Str $repo
, Str :$ref!
, Str :$checkout-uri
, Str :$tool-name
, Str :$commit-sha!
, Str :$started-at
, Str :$sarif!
)