Class SessionManagedSettingsEnforcedEvent
java.lang.Object
com.github.copilot.generated.SessionEvent
com.github.copilot.generated.SessionManagedSettingsEnforcedEvent
@Generated("copilot-sdk-codegen")
public final class SessionManagedSettingsEnforcedEvent
extends SessionEvent
Session event "session.managed_settings_enforced". Runtime enforcement of enterprise managed settings: fires when the session blocks or caps a runtime action because enterprise policy governs it, so SDK clients can explain *why* an action was governed. Unlike `session.managed_settings_resolved` (which reports *what* is managed), this reports a concrete governed action — e.g. a user or host tried to turn on a bypass-permissions escalation while policy disables it. Emitted live (not persisted to the session event log) on user/host-initiated attempts only, never for silent policy application. Marked experimental while the managed-settings surface stabilizes.
- Since:
- 1.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordData payload forSessionManagedSettingsEnforcedEvent. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class SessionEvent
getAgentId, getEphemeral, getId, getParentId, getTimestamp, setAgentId, setEphemeral, setId, setParentId, setTimestamp
-
Constructor Details
-
SessionManagedSettingsEnforcedEvent
public SessionManagedSettingsEnforcedEvent()
-
-
Method Details
-
getType
Description copied from class:SessionEventReturns the event-type discriminator string (e.g.,"session.idle").- Specified by:
getTypein classSessionEvent- Returns:
- the event type
-
getData
-
setData
public void setData(SessionManagedSettingsEnforcedEvent.SessionManagedSettingsEnforcedEventData data)
-