pub struct PhaseRecord {Show 24 fields
pub kind: String,
pub started_at: SystemTime,
pub elapsed: Duration,
pub privileged: Option<bool>,
pub targets: ScopeRecord,
pub settings: SettingsRecord,
pub failures: Vec<FailureRecord>,
pub refusals: Vec<RefusalRecord>,
pub unroutable: Vec<IpAddr>,
pub refused_by_route: Vec<IpAddr>,
pub timed_out: Vec<IpAddr>,
pub icmp_rate_limited: Vec<IpAddr>,
pub reached_by_connect: Vec<RangeRecord>,
pub undecided: Vec<RangeRecord>,
pub liveness_skipped: Option<String>,
pub silent: Vec<RangeRecord>,
pub stopped: Option<String>,
pub passes_cut: Vec<String>,
pub unreached: u128,
pub unheard_probes: u128,
pub probe_stats: Vec<ProbeStatsRecord>,
pub origin: Option<PhaseOriginRecord>,
pub attachments: Vec<AttachmentRecord>,
pub open: bool,
}Expand description
One sitting of a scan, as a file holds it.
Mirrors PhaseParts, which mirrors the phase; the compiler keeps the three in
step.
Fields§
§kind: StringWhich entry point this sitting recorded, by wire name.
started_at: SystemTimeWhen it began.
elapsed: DurationHow long it ran.
privileged: Option<bool>Whether it held the privileges its raw strategies need, or absent where this engine did not measure the phase and cannot say.
targets: ScopeRecordWhat it covered, and what it was forbidden.
settings: SettingsRecordThe settings it ran under.
failures: Vec<FailureRecord>The strategies that could not do their job.
refusals: Vec<RefusalRecord>Ground the sitting declined before sending anything.
Skipped when empty and defaulted on read.
unroutable: Vec<IpAddr>Addresses the scanning host could not reach, so no probe was sent to them.
refused_by_route: Vec<IpAddr>The addresses among unroutable the scanning host’s routing table
refuses.
Skipped when empty and defaulted on read.
timed_out: Vec<IpAddr>Addresses the sitting left before it had finished with them, because their own budget ran out.
Skipped when empty and defaulted on read.
icmp_rate_limited: Vec<IpAddr>Addresses whose ICMP errors the sitting found rate-limited.
Skipped when empty and defaulted on read.
reached_by_connect: Vec<RangeRecord>Addresses a raw sitting reached by TCP connect instead.
Skipped when empty and defaulted on read.
undecided: Vec<RangeRecord>Addresses in scope the sitting reached no verdict on.
Skipped when empty and defaulted on read.
liveness_skipped: Option<String>Why a port sitting ran with no liveness pass in front of it, by its wire name.
Skipped when absent and defaulted on read. An unknown name reads back as absent.
silent: Vec<RangeRecord>Addresses a port sitting standing in for its liveness pass asked on every port and heard nothing from.
Skipped when empty and defaulted on read. Keeps journalled records at these addresses out of the report.
stopped: Option<String>Why the scan was stopped while this sitting ran, by wire name.
Skipped when absent and defaulted on read. An unknown name reads back as absent.
passes_cut: Vec<String>The passes a stop skipped or cut short, by wire name.
Skipped when empty and defaulted on read. An unknown name is dropped.
unreached: u128How many of a port sitting’s targets it never asked and holds on no host.
Skipped when zero and defaulted on read.
unheard_probes: u128How many of a port sitting’s targets it asked at the addresses it lists no host at.
Skipped when zero and defaulted on read.
probe_stats: Vec<ProbeStatsRecord>What each strategy recorded about its own run.
origin: Option<PhaseOriginRecord>Which document this sitting was folded in from, for a merged report.
attachments: Vec<AttachmentRecord>Which switch ports the machine running this sitting was plugged into.
open: boolWhether this is the sitting as it stood before it closed, as a sitting writes itself down while it runs.
Skipped when false and defaulted on read.
Trait Implementations§
Source§impl Clone for PhaseRecord
impl Clone for PhaseRecord
Source§impl Debug for PhaseRecord
impl Debug for PhaseRecord
Source§impl<'de> Deserialize<'de> for PhaseRecord
impl<'de> Deserialize<'de> for PhaseRecord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl From<&PhaseRecord> for ScanPhase
impl From<&PhaseRecord> for ScanPhase
Source§fn from(record: &PhaseRecord) -> Self
fn from(record: &PhaseRecord) -> Self
Source§impl From<&ScanPhase> for PhaseRecord
impl From<&ScanPhase> for PhaseRecord
Source§impl PartialEq for PhaseRecord
impl PartialEq for PhaseRecord
Source§impl Serialize for PhaseRecord
impl Serialize for PhaseRecord
impl StructuralPartialEq for PhaseRecord
Auto Trait Implementations§
impl Freeze for PhaseRecord
impl RefUnwindSafe for PhaseRecord
impl Send for PhaseRecord
impl Sync for PhaseRecord
impl Unpin for PhaseRecord
impl UnsafeUnpin for PhaseRecord
impl UnwindSafe for PhaseRecord
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more