
VMware, Inc. 73
Chapter 8 vShield Data Security Configuration
Retrieve the Published SDD Policy
YoucanretrievethecurrentlypublishedSDDpolicythatisactiveonallvShieldEndpointSVMs.
Example 8-11. Retrieve the published SDD policy
Request:
GET https://<vsm-ip>/api/2.0/dlp/policy/published
Authorization: Basic YWRtaW46ZGVmYXVsdA==
Publish the Updated Policy
Afterupdatingapolicywithaddedregulations,excludedareas,orcustomizedregexvaluespublishthepolicy
toenforcethenewparameters.
Example 8-12. Publish the updated policy
Request:
PUT https://<vsm-ip>/api/2.0/dlp/policy/publish
Data Security Scanning
Runningadatasecurityscanidentifiesdatainyourvirtualenvironmentthatviolatesyourpolicy.
Allvirtualmachinesinyourdatacenterarescannedonceduringascan.Ifthepolicyiseditedandpublished
whileascanisrunning,thescanrestarts.Thisrescanensuresthatallvirtualmachinescomplywith
theedited
policy.Arescanistriggeredbypublishinganeditedpolicy,notbydataupdatesonyourvirtualmachines.
Afteryoustartascan,itcontinuestorununtilyoupauseorstopit.
Ifnewvirtualmachinesareaddedtoyourinventorywhileascanisinprogress,those
machineswillalsobe
scanned.Ifavirtualmachineismovedtoanexcludedclusterorresourcepoolwhilethedatasecurityscanis
inprogress,thefilesonthatvirtualmachinearenotscanned.IncaseavirtualmachineismovedviavMotion
toanotherhost,thescancontinues
onthesecondhost(filesthatwerescannedwhilethevirtualmachinewas
ontheprevioushostarenotscannedagain).
vShieldDataSecurityscansonevirtualmachineonahostatatimetominimizeimpactonperformance.
VMwarerecommendsthatyoupausethescanduringnormalbusinesshoursto
avoidanyperformance
overhead.
Retrieve the Status for a Scan Operation
YoucanretrievethestatusofthescanoperationtodetermineifascanisSTARTED(thatis,inprogress),PAUSED,
orSTOPPED.The
nextScanOpsparameterindicatesthescanoperationspossiblefromyourcurrentstate.Inthe
followingexample,thecurrentscanstateisStoppedandtheonlyactionyoucanperformisStartthescan.
Example 8-13. Retrieve the status of a scan
Request:
GET https://<vsm-ip>/api/2.0/dlp/scanstatus
Response:
<DlpScanStatus>
<currentScanState>STOPPED</currentScanState>
<nextScanOps><ScanOp>START</ScanOp></nextScanOps>
<vmsInProgress>0</vmsInProgress>
<vmsCompleted>0</vmsCompleted>
Commentaires sur ces manuels