Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
MarekPszczolka
Explorer

Management API - show sessions - read-only

Hello,

Is possible to view active sessions in read-only mode from Management API command "show sessions details-level full"?

This command will show sessions in read-write mode only, but in SmartConsole I can see active sessions in both modes. The same it is with API and SmartConsole sessions.

I have SMS with R81 take 44, API version 1.7.1

Thanks

0 Kudos
1 Reply
Tal_Paz-Fridman
Employee
Employee

I do not currently have R81 in my lab but on R81.10 it shows Read/Write and Read-Only sessions:

mgmt_cli show sessions details-level "full" --format json

 

 

{
"uid" : "c1e96926-edf6-4578-a93b-d22dd6073fb3",
"type" : "session",
"domain" : {
"uid" : "41e821a0-3720-11e3-aa6e-0800200c9fde",
"name" : "SMC User",
"domain-type" : "domain"
},
"meta-info" : {
"lock" : "unlocked",
"validation-state" : "ok",
"last-modify-time" : {
"posix" : 1646828803274,
"iso-8601" : "2022-03-09T14:26+0200"
},
"last-modifier" : "System",
"creation-time" : {
"posix" : 1646828803274,
"iso-8601" : "2022-03-09T14:26+0200"
},
"creator" : "System"
},
"tags" : [ ],
"read-only" : false,
"comments" : "READ_ONLY_SESSION",
"color" : "black",
"icon" : "Objects/worksession",
"state" : "open",
"user-name" : "aa",
"description" : "",
"last-login-time" : {
"posix" : 1646828803271,
"iso-8601" : "2022-03-09T14:26+0200"
},
"expired-session" : false,
"application" : "SmartConsole",
"changes" : 0,
"in-work" : true,
"ip-address" : "XX.XX.XX.XX",
"locks" : 0,
"connection-mode" : "read only",
"session-timeout" : 600
}

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82
    CheckMates Events