ServiceAccountImpersonationSwitchReportDto
Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects
Answer of POST {tenantId}/v1/serviceAccount/switchToImpersonation (client
surface) β the mirror of the communication controller's
ServiceAccountImpersonationSwitchReportDto.
public record ServiceAccountImpersonationSwitchReportDto : IEquatable<ServiceAccountImpersonationSwitchReportDto>
Inheritance Object β ServiceAccountImpersonationSwitchReportDto
Implements IEquatable<ServiceAccountImpersonationSwitchReportDto>
Remarks:
π΄ It deliberately carries no secret and no token: the report names accounts, client ids and outcomes only. Adding a secret-bearing member here would put a credential into proxy logs, shell history and CI output.
Propertiesβ
TenantIdβ
The tenant the switch ran on.
public string TenantId { get; set; }
Property Valueβ
Appliedβ
false = dry run, nothing was written.
public bool Applied { get; set; }
Property Valueβ
Accountsβ
One entry per ServiceAccountConfiguration of the tenant.
public IReadOnlyList<ServiceAccountImpersonationSwitchEntryDto> Accounts { get; set; }
Property Valueβ
IReadOnlyList<ServiceAccountImpersonationSwitchEntryDto>
RedeployedDataFlowRtIdsβ
Data flows redeployed after the switch.
public IReadOnlyList<string> RedeployedDataFlowRtIds { get; set; }
Property Valueβ
FailedDataFlowRedeploysβ
Data flows whose redeploy failed β to be redeployed by hand.
public IReadOnlyList<DataFlowRedeployFailureDto> FailedDataFlowRedeploys { get; set; }
Property Valueβ
IReadOnlyList<DataFlowRedeployFailureDto>
Constructorsβ
ServiceAccountImpersonationSwitchReportDto(String, Boolean, IReadOnlyList<ServiceAccountImpersonationSwitchEntryDto>, IReadOnlyList<String>, IReadOnlyList<DataFlowRedeployFailureDto>)β
Answer of POST {tenantId}/v1/serviceAccount/switchToImpersonation (client
surface) β the mirror of the communication controller's
ServiceAccountImpersonationSwitchReportDto.
public ServiceAccountImpersonationSwitchReportDto(string TenantId, bool Applied, IReadOnlyList<ServiceAccountImpersonationSwitchEntryDto> Accounts, IReadOnlyList<string> RedeployedDataFlowRtIds, IReadOnlyList<DataFlowRedeployFailureDto> FailedDataFlowRedeploys)
Parametersβ
TenantId String
The tenant the switch ran on.
Applied Boolean
false = dry run, nothing was written.
Accounts IReadOnlyList<ServiceAccountImpersonationSwitchEntryDto>
One entry per ServiceAccountConfiguration of the tenant.
RedeployedDataFlowRtIds IReadOnlyList<String>
Data flows redeployed after the switch.
FailedDataFlowRedeploys IReadOnlyList<DataFlowRedeployFailureDto>
Data flows whose redeploy failed β to be redeployed by hand.
Remarks:
π΄ It deliberately carries no secret and no token: the report names accounts, client ids and outcomes only. Adding a secret-bearing member here would put a credential into proxy logs, shell history and CI output.