pub struct Evidence {
pub source: String,
pub value: String,
}Expand description
A single piece of ground-truth evidence substantiating a finding (WS-PROOF): the actual server/client artifact — an LDAP attribute value, an MS-RRP registry key, a SAMR field, a wire status code — that a reviewer can verify by hand, independent of adhammer’s verdict. This is the difference between “you have X” (our word) and “the server returned Y, which is X” (proof).
Fields§
§source: StringWhere it came from, expressed so a reviewer can reproduce it — e.g.
LDAP CN=svc_sql,…:msDS-SupportedEncryptionTypes,
MS-RRP HKLM\SYSTEM\CurrentControlSet\…\StrongCertificateBindingEnforcement,
SAMR DOMAIN_PASSWORD_INFORMATION.MinPasswordLength.
value: StringThe raw value exactly as the server/client returned it (decoded/hex as needed for legibility).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Evidence
impl RefUnwindSafe for Evidence
impl Send for Evidence
impl Sync for Evidence
impl Unpin for Evidence
impl UnsafeUnpin for Evidence
impl UnwindSafe for Evidence
Blanket Implementations§
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
Mutably borrows from an owned value. Read more