VMware VSHIELD APP 1.0 - API Manual de usuario Pagina 21

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 132
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 20
VMware, Inc. 21
Chapter 2 vShield Manager Management
Get vShield Manager Audit Logs
YoucangetvShieldManagerauditlogs.
Example 2-14. GetvShieldManagerauditlogs
Request:
GET https://<vsm-ip>/api/2.0/logging/auditlog?startIndex=0\&pageSize=10
Where
start indexisanoptionalparameterwhichspecifiesthestartingpointforretrievingthelogs.Ifthis
parameterisnotspecified,logsareretrievedfromthebeginning.
page sizeisanoptionalparameterthatlimitsthemaximumnumberofentriesreturnedbytheAPI.The
defaultvalueforthisparameteris256andthevalidrangeis11024.
Querying vShield Manager Tech Support Log
YoucangetthepathtothediagnosticlogfileforthevShieldManager.Youcanthensendthediagnosticlogto
technicalsupportforassistanceintroubleshootinganissue.
Example 2-15. Get Tech Support Log File Path for a vShield Manager
Request:
GET https://<vsm-ip>/api/2.0/global/techSupportLogs
Thetechnicalsupportlogisplacedinafileatthefollowingpath,howevertheRESTAPIhasnoprovisionfor
downloadingit,andwgetandcurldonothavepermissiontodownloadit,either.Youcanretrievethelog
withvShieldManagerbyclickingSettings&Reports>Configuration>
Support>[LogDownload]Initiate.
/tech_support_logs/vsm/vshield_mgr_support_<date_time>GMT.log.gz
User Management
TheauthenticationandauthorizationAPIsincludemethodstomanageusersandroles.
Get a List of Users
YoucanretrievealistofvShieldManagerusers,bothlocalusersandvCenteruserswhoareassignedarole.
Example 2-16. Get a list of users
Request:
GET https://<vsm-ip>/api/2.0/services/usermgmt/users/vsm
BeforeyouadduserstovShieldManager,thepreexistingdefaultsarelocaluseradminandthevCenteruser
administrator.
Get Information About a User
Youcanretrieveinformationaboutauser.
Example 2-17. Get information about a user
Request:
Vista de pagina 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 131 132

Comentarios a estos manuales

Sin comentarios