n3tsurge / gc-regex-labeler

A label for guardicore assets that leverages regular expressions
0 stars 0 forks source link

Support MFA from the cmdline #1

Open n3tsurge opened 3 years ago

n3tsurge commented 3 years ago

https://github.com/n3tsurge/gc-regex-labeler/blob/fe3f4cd310293f771f5855ddb712276ec2d8eb2b/guardicore/centra.py#L39

n3tsurge commented 3 years ago

POST /api/v3.0/authenticate

{
    username: "username",
    password: "PIN"
    temp_token: "JWTOKEN"
    two_factor_auth_phase: 1
}