vShield API Programming GuidevShield Manager 4.1.0 Update 1vShield Zones 4.1.0 Update 1vShield App 1.0.0 Update 1vShield Edge 1.0.0 Update 1vShield E
vShield API Programming Guide10 VMware, Inc. AstrafficpassesthroughavShieldApp,eachsessionheaderisinspectedtocatalogthedata.ThevShiel
VMware, Inc. 11Chapter 1 Overview of VMware vShield Using the vShield REST APIRESTAPIusesHTTPrequests(whichareoftenexecutedbyascriptoroth
vShield API Programming Guide12 VMware, Inc. For More Information About RESTForacomprehensivediscussionofRESTfromboththeclientandserverper
VMware, Inc. 13 2ThevShieldManagerrequirescommunicationwithyourvCenterServerandservicessuchasDNSandNTPtoprovidedetailsonyourVMwar
vShield API Programming Guide14 VMware, Inc. Retrieving Tech Support LogsYoucanretrieveTechnicalSupportlogsfromthevShieldManagerandvShield
VMware, Inc. 15 3YoucanextendthecapabilitiesofvShieldbyaddingthefollowingservices:vShieldApp,vShieldEndpoint,andvShieldEdge.Youmus
vShield API Programming Guide16 VMware, Inc. PortGroupIsolationisaserviceusedbyavShieldEdgetoisolatethevirtualmachinesinavDSportgr
VMware, Inc. 17Chapter 3 ESX Host Preparation for vShield App, Endpoint, and Isolation Afterinstallationofallcomponentsiscomplete,dothefollow
vShield API Programming Guide18 VMware, Inc. Uninstalling vShield Services from an ESX HostYoucanuninstallvShieldApp,vShieldEndpoint,andPortG
VMware, Inc. 19 4AfterESXhostpreparationiscomplete,youcansecureinternalnetworksbyinstallingavShieldEdge.IfyouareinstallingvShield
VMware, Inc.3401 Hillview Ave.Palo Alto, CA 94304www.vmware.com2 VMware, Inc.vShield API Programming Guide You can find the most up-to-date technical
vShield API Programming Guide20 VMware, Inc. Enable Port Group Isolation on a vDSAfterPortGroupIsolationisinstalledoneachESXhost,youmusten
VMware, Inc. 21Chapter 4 vNetwork Preparation and vShield Edge Installation Installing a vShield EdgeYoucaninstallonevShieldEdgeperportgroup,
vShield API Programming Guide22 VMware, Inc. <?xml version="1.0" encoding="UTF-8" standalone="yes"?><VShieldEdg
VMware, Inc. 23 5YoucanmanagevShieldEdgeservicesandfirewallpoliciesbyusingRESTAPI.ByusingRESTcall,youcanstartorstopservices,pos
vShield API Programming Guide24 VMware, Inc. Upgrading a vShield EdgeYoucanupgradeavShieldEdgeviaRESTAPIwhenanewsoftwareversionisavaila
VMware, Inc. 25Chapter 5 vShield Edge Management Manage CLI Credentials on a vShield EdgeYoucansetandchangelogincredentialsfortheCLIonavSh
vShield API Programming Guide26 VMware, Inc. Example:PUT /api/1.0/network/network-244/dhcp/action/start HTTP/1.1Authorization: Basic YWRtaW46ZGVmYXVsd
VMware, Inc. 27Chapter 5 vShield Edge Management Example:GET /api/1.0/network/network-244/dhcp/config HTTP/1.1Authorization: Basic YWRtaW46ZGVmYXVsdA=
vShield API Programming Guide28 VMware, Inc. Managing NATThevShieldEdgeprovidesnetworkaddresstranslation(NAT)servicetoprotecttheIPaddress
VMware, Inc. 29Chapter 5 vShield Edge Management </internalIpAddress></NATRule></NATConfig></VShieldEdgeConfig>Rules: Youcan
VMware, Inc. 3 ContentsAboutThisBook 71 OverviewofVMwarevShield 9vShieldComponents 9vShieldManager 9vShieldApp 9vShieldEdge 10vShieldEndpoin
vShield API Programming Guide30 VMware, Inc. Get Timestamps of Last 10 SNAT Rule Configurations for a vShield EdgeExample 5-15. Get Last 10 SNAT Rule
VMware, Inc. 31Chapter 5 vShield Edge Management Example:GET /api/1.0/network/network-244/dnat/rules HTTP/1.1Authorization: Basic YWRtaW46ZGVmYXVsdA==
vShield API Programming Guide32 VMware, Inc. Example: MultipleDNATRulesPOST /api/1.0/network/network-244/dnat/rules HTTP/1.1content-type: applicati
VMware, Inc. 33Chapter 5 vShield Edge Management Get Timestamps of Last 10 DNAT Rule Configurations for a vShield EdgeExample 5-21. Get Last 10 DNAT
vShield API Programming Guide34 VMware, Inc. Example:GET /api/1.0/network/network-244/firewall/rules HTTP/1.1Authorization: Basic YWRtaW46ZGVmYXVsdA==
VMware, Inc. 35Chapter 5 vShield Edge Management Example: AllowanyfirewallrulesetPOST /api/1.0/network/network-244/firewall/rules HTTP/1.1content
vShield API Programming Guide36 VMware, Inc. Example:PUT /api/1.0/network/network-244/firewall/default/allow HTTP/1.1Authorization: Basic YWRtaW46ZGVm
VMware, Inc. 37Chapter 5 vShield Edge Management Example:DELETE /api/1.0/network/network-244/firewall/rules HTTP/1.1Authorization: Basic YWRtaW46ZGVmY
vShield API Programming Guide38 VMware, Inc. Get the Status of VPN ServiceYoucandetermineiftheVPNserviceonavShieldEdgeisrunningorstopped
VMware, Inc. 39Chapter 5 vShield Edge Management Example:POST /api/1.0/network/network-244/vpn/ipsec/config HTTP/1.1Content-Type: application/xmlAutho
vShield API Programming Guide4 VMware, Inc. ReverttoaDHCPConfigurationbyTimestamp 27DeletetheDHCPConfigurationonavShieldEdge 27ManagingN
vShield API Programming Guide40 VMware, Inc. <?xml version="1.0" encoding="UTF-8" standalone="yes"?><VShieldEdg
VMware, Inc. 41Chapter 5 vShield Edge Management Get the Detailed Configuration for a VPN SiteYoucanretrieveadetailedVPNconfigurationforasite
vShield API Programming Guide42 VMware, Inc. Example:GET /api/1.0/network/network-244/vpn/ipsec/config HTTP/1.1Authorization: Basic YWRtaW46ZGVmYXVsdA
VMware, Inc. 43Chapter 5 vShield Edge Management Load BalancerThevShieldEdgeprovidesloadbalancingforHTTPtraffic.Loadbalancing(uptoLayer7
vShield API Programming Guide44 VMware, Inc. Start or Stop the Load Balancer Service on a vShield EdgeExample 5-50. Starting or Stopping the Load Bal
VMware, Inc. 45Chapter 5 vShield Edge Management AddaloadbalancerinIP:PortformatContent-Length: 539<?xml version="1.0" encoding=
vShield API Programming Guide46 VMware, Inc. Get a Load Balancer Configuration by TimestampYoucanretrieveandviewaspecifichistoricalLoadBalanc
VMware, Inc. 47Chapter 5 vShield Edge Management Example:GET /api/1.0/network/network-244/mtu HTTP/1.1Authorization: Basic YWRtaW46ZGVmYXVsdA==Host: l
vShield API Programming Guide48 VMware, Inc. Managing the Connection to a Syslog ServerYoucanconnectavShieldEdgetoasyslogserverforvShieldE
VMware, Inc. 49Chapter 5 vShield Edge Management Get a Syslog Server Configuration by Timestamp Example 5-65. Getting a Syslog Server Configuration b
VMware, Inc. 5 ViewaListofTimestampsIdentifyingAppFirewallRuleSetChanges 55ViewaPreviousFirewallRuleSetbyTimestamp 55ReverttoaPrev
vShield API Programming Guide50 VMware, Inc.
VMware, Inc. 51 6YoucanconfigurevShieldAppfirewallrulesandsyslogservicebyusingRESTAPIcalls.Thischapterincludesthefollowingtopics:
vShield API Programming Guide52 VMware, Inc. Example 6-1. Viewing the Firewall Rule Set for a ContainerRequest:GET <vshield_manager-uri>/api/1.
VMware, Inc. 53Chapter 6 vShield App Management ANY</DestinationPorts><Protocol>UDP</Protocol><Action>ALLOW</Action><
vShield API Programming Guide54 VMware, Inc. exclude="false"/><SourcePorts>ANY</SourcePorts><Application type="UNICAS
VMware, Inc. 55Chapter 6 vShield App Management View a List of Timestamps Identifying App Firewall Rule Set ChangesYoucanviewalistoftimestampsm
vShield API Programming Guide56 VMware, Inc. Example:DELETE /api/1.0/zones/datacenter-4361/firewall/rules HTTP/1.1Host: localhostAuthorization: Basic
VMware, Inc. 57Chapter 6 vShield App Management Youcanaddmultiplesecuritygroupsinonerequest.Example 6-11. Adding Multiple Security GroupsExam
vShield API Programming Guide58 VMware, Inc. Get the Details for a Single Security Group under a Base NodeExample 6-14. Getting the Details of a Sing
VMware, Inc. 59Chapter 6 vShield App Management Delete a Single Security GroupYoucandeleteasingleSecurityGroupunderabasenodebyspecifyingt
VMware, Inc. 6
vShield API Programming Guide60 VMware, Inc. ThisrequestdeletesthesyslogserverconfigurationacrossallvShieldAppinstancesconnectedtothevS
VMware, Inc. 61 7TheVMwareEndpointsystemdeliversanintrospection‐basedantivirussolutionthatusesthehypervisortoscanguestvirtualmachines
vShield API Programming Guide62 VMware, Inc. Example:POST /api/1.0/endpointsecurity/svm HTTP/1.1accept: application/xmlcontent-type: application/xmlho
VMware, Inc. 63Chapter 7 vShield Endpoint Management Retrieve vShield Endpoint Service Status on an ESX HostYoumustspecifythehostIDoftheESXho
vShield API Programming Guide64 VMware, Inc. Uninstall vShield Endpoint from the vShield ManagerAftertheSVMisunregistered,youcanuninstallthev
VMware, Inc. 65 TheRESTAPIconfigurationofthevShieldEdgeandvShieldAppvirtualmachinessupportsschemasforinstallationandservicemanageme
vShield API Programming Guide66 VMware, Inc. </xs:element><xs:element name="password"><xs:simpleType><xs:restriction ba
VMware, Inc. 67Appendix <xs:element name="IPList" type="IPList" minOccurs="0" maxOccurs="1"/>
vShield API Programming Guide68 VMware, Inc. ESX Host Preparation and Uninstallation SchemaThisschemacanbeusedtoinstalloruninstallvShieldApp
VMware, Inc. 69Appendix </xs:restriction></xs:simpleType> <xs:simpleType name="IP"><xs:restriction base="xs:string
VMware, Inc. 7 Thismanual,thevShieldAPIProgrammingGuide,describeshowtoinstall,configure,monitor,andmaintaintheVMware®vShield™system
vShield API Programming Guide70 VMware, Inc. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified&qu
VMware, Inc. 71Appendix </xs:element><xs:element name="Application"><xs:complexType><xs:simpleContent><xs:extensi
vShield API Programming Guide72 VMware, Inc. Base vShield Edge Configuration SchemaThisschemarepresentsthebaseoftheentirevShieldEdgeschema.
VMware, Inc. 73Appendix <xs:element name="subnetMask" type="IP" /><xs:element minOccurs="0" name="defaultG
vShield API Programming Guide74 VMware, Inc. <xs:restriction base="xs:string"><xs:pattern value="((25[0-5]|2[0-4][0-9]|1[0-9][
VMware, Inc. 75Appendix <xs:choice><xs:element name="defaultPolicy"><xs:simpleType><xs:restriction base="xs:string
vShield API Programming Guide76 VMware, Inc. <xs:complexType name="PortInfo"><xs:choice><xs:element name="port" typ
VMware, Inc. 77Appendix <xs:enumeration value="address-mask-reply"/><xs:enumeration value="any"/></xs:restriction&g
vShield API Programming Guide78 VMware, Inc. </xs:complexType><xs:complexType name="PortInfo"><xs:choice><xs:element na
VMware, Inc. 79Appendix <xs:enumeration value="address-mask-request"/><xs:enumeration value="address-mask-reply"/><
vShield API Programming Guide8 VMware, Inc. Support OfferingsTofindouthowVMwaresupportofferingscanhelpmeetyourbusinessneeds,gotohttp://
vShield API Programming Guide80 VMware, Inc. <xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="(([A-Za-
VMware, Inc. 81Appendix </xs:complexType><xs:complexType name="IpsecVPNConfig"><xs:choice><xs:element minOccurs="0
vShield API Programming Guide82 VMware, Inc. <xs:element minOccurs="0" name="Status" type="VPNTunnelStatus"/>
VMware, Inc. 83Appendix </xs:sequence></xs:complexType><xs:complexType name="NetworkEndpointsConfig"><xs:sequence>&l
vShield API Programming Guide84 VMware, Inc. <xs:restriction base="xs:string"><xs:pattern value="((round-robin)|(ip-hash))&quo
VMware, Inc. 85Appendix Traffic Stats SchemaThisschemaconfigurestheTrafficStatscollectionserviceforanode.<?xml version="1.0" en
vShield API Programming Guide86 VMware, Inc. </xs:schema>Error Message SchemaThisschemadetailserrormessages.<?xml version="1.0"
VMware, Inc. 87 IndexCCLI, manage vShield Edge credentials 25Ddebug, Port Group Isolation 20debugging a vShield Edge 47DHCPabout 25configuring 26delet
vShield API Programming Guide88 VMware, Inc. PPort Group Isolationdebug statistics 20disable 20enable 19install 15uninstall 18preparing the ESX host 1
VMware, Inc. 89Index get the detailed configuration for a site 41get the detailed configuration for a tunnel 41last 10 configurations 42post configura
VMware, Inc. 9 1VMware®vShield™isasuiteofnetworkedgeandapplication‐awarefirewallsbuiltforVMwarevCenter™Serverintegration.vShieldinsp
vShield API Programming Guide90 VMware, Inc. get the detailed configuration 40get the detailed configuration for a site 41get the detailed configurati
Commentaires sur ces manuels