Enum FixEffort Copy item path Source pub enum FixEffort {
Trivial,
Small,
Medium,
Large,
}Expand description Coarse-grained remediation effort. Surfaces in JSON time_to_fix and SARIF
properties.timeToFix so triage dashboards can sort by severity * effort.
The four buckets are deliberately wide. Precise time estimates would invite
argument; the buckets exist to separate “flip a flag” from “rewrite a job”
from “renegotiate ops policy”.
Per MEMORY/.../blueteam-corpus-defense.md Section 3 / Enhancement E-3.
~5 minutes. Mechanical change to a single file (flip a flag, pin a SHA,
add a permissions: {} block). No structural risk.
~1 hour. Refactor a step or job: split a script, add a fork-check,
move a secret to an environment binding.
~1 day. Restructure a job or pipeline: introduce an environment gate,
move from inline scripts to a sandboxed action, add an OIDC role.
~1 week or more. Operational policy change: migrate from PATs to OIDC
across an org, change branch protection model, retire a service principal.
Performs copy-assignment from
source.
Read more Formats the value using the given formatter.
Read more Deserialize this value from the given Serde deserializer.
Read more Tests for self and other values to be equal, and is used by ==.
Tests for !=. The default implementation is almost always sufficient,
and should not be overridden without very good reason.
Serialize this value into the given Serde serializer.
Read more Immutably borrows from an owned value.
Read more Mutably borrows from an owned value.
Read more 🔬 This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from
self to
dest.
Read more Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From <T> for U chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more Uses borrowed data to replace owned data, usually by cloning.
Read more The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.