Search:

Getting Started

Commands

Note that the -Hostname parameter is only mandatory for hosted clusters, the default api endpoint is api.comae.com

PS \comae-cli\powershell> $Key = Get-ComaeAPIKey -ClientId "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" -ClientSecret "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"

Retrieve information

Get the list of organizations

PS \comae-cli\powershell> Get-ComaeOrganizations -Key $Key

_id                      name
---                      ----
fff72a9e9fcc6f0011b631bb msuiche@comae.io
fffa58af916ac0001d4027d9 Comae Response

Get the list of cases

PS \comae-cli\powershell> $Key = Get-ComaeAPIKey -ClientId "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" -ClientSecret "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB"

PS \comae-cli\powershell> Get-ComaeCases -Key $Key -Hostname api.hosted.comae.com

organizationId           _id                      name          description              creationDate             lastModificationDate     labels
--------------           ---                      ----          -----------              ------------             --------------------     ------
fff813b77fbb0a0011667632 fffbf605bb9bf2001ddd418f symphony      Case without description 2020-11-23T17:48:53.868Z 2020-11-23T17:48:53.868Z {}
fff2e8e0bd5666001174ac17 fffb712dbab310001ce952b5 Untitled Case Untitled Case            2020-11-23T08:22:05.253Z 2020-11-23T08:22:05.253Z {}
PS \comae-cli\powershell> $Key = Get-ComaeAPIKey -ClientId "XXXXXXXXXXXXXXXXXXXXXX" -ClientSecret "ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ"                                                                                                                    

PS \comae-cli\powershell> Get-ComaeCases -Key $Key

organizationId           _id                      name          description             creationDate             lastModificationDate     labels
--------------           ---                      ----          -----------             ------------             --------------------     ------
fff72a9e9fcc6f0011b631bb fff769e61eac0f001d4fcd27 TestCase      Hello                   2020-11-20T07:01:58.543Z 2020-11-20T07:01:58.543Z {demo}
fff72a9e9fcc6f0011b631bb fff76ad0b1f656001ef0e2e6 TestCase2     Description2            2020-11-20T07:05:52.495Z 2020-11-20T07:05:52.495Z {workflow:state="complete"}
fff72a9e9fcc6f0011b631bb fff77091ac3d30001d11f19a Demomaker     A bunch of random dumps 2020-11-20T07:30:25.246Z 2020-11-20T07:30:25.246Z {iep2-policy:tlp="amber", i...
fff72a9e9fcc6f0011b631bb fff787a057ec85001ed7a7bf Test3         Untitled                2020-11-20T09:08:48.546Z 2020-11-20T09:08:48.546Z {workflow:state="incomplete"}
fff72a9e9fcc6f0011b631bb fff79a08ac3d30001d11f1a2 NewOmega1     Untitled                2020-11-20T10:27:20.991Z 2020-11-20T10:27:20.991Z {workflow:todo="add-tagging"}
fff72a9e9fcc6f0011b631bb fff79cb0ac3d30001d11f1a4 Case123       Untitled                2020-11-20T10:38:40.916Z 2020-11-20T10:38:40.916Z {}
fff72a9e9fcc6f0011b631bb fff7c24b1306f8001c2ab845 Untitled Case Untitled Case           2020-11-20T13:19:07.312Z 2020-11-20T13:19:07.312Z {}

Send a local file

PS \comae-cli\powershell> Send-ComaeDumpFile -Key $Key -Path 'D:\Dumps\NVIDIA RTX Voice Process.dmp.zip' -ItemType File -CaseId fff77091ac3d30001d11f19a
D:\Dumps\NVIDIA RTX Voice Process.dmp.zip