mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
feat: Add cloud sync event emit (#212)
* feat: Add cloud sync event emit * fix: Linter fixes * fix: Include malysis metadata in confirmed event * fix: Code review fixes * fix: Emit session complet event * fix: Code review fixes * chore: Add comment * chore: Add cloud info in setup info command * fix: Proxy flow must call install started * fix: Code review fixes * fix: Code review fixes * Update internal/audit/cloud_sink.go Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> Signed-off-by: Abhisek Datta <abhisek.datta@gmail.com> * fix: Code review fixes --------- Signed-off-by: Abhisek Datta <abhisek.datta@gmail.com> Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
parent
0355a5d4fd
commit
e67735c1c3
@@ -126,5 +126,15 @@ func executeSetupInfo() error {
|
||||
|
||||
ui.PrintInfoSection("Sandbox", sandboxEntries)
|
||||
|
||||
if cfg.Config.Cloud.Enabled {
|
||||
cloudEntries := make(map[string]string)
|
||||
cloudEntries["Enabled"] = "true"
|
||||
cloudEntries["Sync DB"] = cfg.CloudSyncDBPath()
|
||||
if cfg.Config.Cloud.EndpointID != "" {
|
||||
cloudEntries["Endpoint ID"] = cfg.Config.Cloud.EndpointID
|
||||
}
|
||||
ui.PrintInfoSection("Cloud Sync", cloudEntries)
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user