pub struct ReportingConfig {
pub intent: Option<String>,
pub confidentiality_level: Option<String>,
pub org_config_path: Option<String>,
pub disclose_output_path: Option<String>,
pub disclose_period: Option<String>,
pub sigstore: SigstoreConfig,
}Expand description
Maps 1:1 to [reporting] in TOML. All fields optional: an absent
section means the operator never asked for a periodic disclosure.
Fields§
§intent: Option<String>"internal", "official", or "audited". None means no
reporting intent declared.
confidentiality_level: Option<String>"internal" or "public". Drives G1 vs G2 granularity.
org_config_path: Option<String>Path to the operator’s organisation/scope/methodology TOML.
Required by daemon startup when intent = "official".
disclose_output_path: Option<String>Path where perf-sentinel disclose writes the produced JSON.
Hint only, the CLI accepts an explicit --output.
disclose_period: Option<String>Period selector hint: "calendar-quarter", "calendar-month",
"calendar-year", or "custom". Pure hint for scheduled runs.
sigstore: SigstoreConfigSigstore signing target. Empty defaults to the public Sigstore
instance. perf-sentinel does not sign itself; this value lives
in the report so verify-hash knows which Rekor to query.
Trait Implementations§
Source§impl Clone for ReportingConfig
impl Clone for ReportingConfig
Source§fn clone(&self) -> ReportingConfig
fn clone(&self) -> ReportingConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ReportingConfig
impl Debug for ReportingConfig
Source§impl Default for ReportingConfig
impl Default for ReportingConfig
Source§fn default() -> ReportingConfig
fn default() -> ReportingConfig
Auto Trait Implementations§
impl Freeze for ReportingConfig
impl RefUnwindSafe for ReportingConfig
impl Send for ReportingConfig
impl Sync for ReportingConfig
impl Unpin for ReportingConfig
impl UnsafeUnpin for ReportingConfig
impl UnwindSafe for ReportingConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request