pub struct AuditLogEntry {
pub name: String,
pub project: String,
pub actor: String,
pub action: String,
pub target: String,
pub outcome: i32,
pub occur_time: Option<Timestamp>,
pub details: BTreeMap<String, String>,
pub acting_party: String,
pub acting_parties: Vec<String>,
}Expand description
One recorded change.
Fields§
§name: StringThe entry’s resource name.
project: StringThe full name of the project the change was limited to,
//resourcemanager.origincloudapis.eu/projects/{project}; empty for a
change to the whole organization.
actor: StringThe full name of who made the change: //iam.origincloudapis.eu/users/{user},
//iam.origincloudapis.eu/organizations/{organization}/serviceAccounts/{service_account},
//iam.origincloudapis.eu/serviceAgents/{service_agent} for a platform
service agent, or //iam.origincloudapis.eu/services/{service} for a
change the platform made itself.
action: StringWhat was done, as a permission key names it, such as
iam.role.assign.
target: StringThe full name of what it was done to, such as a member’s, or the email address invited; empty when the action has no target.
outcome: i32Whether the change was made.
occur_time: Option<Timestamp>When the change was made.
details: BTreeMap<String, String>Details of the change that depend on the action, such as the role
granted or a service account’s display_name.
acting_party: StringWho acted for actor when the change was made: the first of
acting_parties. That is the hosted MCP server, by the SPIFFE id of its
workload, when actor made the change through it, and the person, by
full resource name, when the person made it as the service account
actor with a token impersonating it. Empty when no one acted for
actor.
acting_parties: Vec<String>Every party that acted for actor when the change was made, outermost
first. For a change a person made as the service account actor with a
token impersonating it, the person, then the hosted MCP server when the
person made it through it. For a change actor made through the MCP
server with its own token, the MCP server alone. Empty when no one
acted for actor, and on every entry recorded before the chain was
recorded, which name acting_party alone.
Implementations§
Source§impl AuditLogEntry
impl AuditLogEntry
Trait Implementations§
Source§impl Clone for AuditLogEntry
impl Clone for AuditLogEntry
Source§impl Debug for AuditLogEntry
impl Debug for AuditLogEntry
Source§impl Default for AuditLogEntry
impl Default for AuditLogEntry
Source§impl<'de> Deserialize<'de> for AuditLogEntry
impl<'de> Deserialize<'de> for AuditLogEntry
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 Message for AuditLogEntry
impl Message for AuditLogEntry
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.