VMware VSHIELD APP 1.0 - API Manual do Utilizador Página 1

Consulte online ou descarregue Manual do Utilizador para Redes VMware VSHIELD APP 1.0 - API. vShield API Programming Guide Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 104
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 0
vShield API Programming Guide
vShield 5.0
vShield App 5.0
vShield Edge 5.0
vShield Endpoint 5.0
This document supports the version of each product listed and
supports all subsequent versions until the document is replaced
by a new edition. To check for more recent editions of this
document, see http://www.vmware.com/support/pubs.
EN-000608-00
Vista de página 0
1 2 3 4 5 6 ... 103 104

Resumo do Conteúdo

Página 1 - EN-000608-00

vShield API Programming GuidevShield 5.0vShield App 5.0vShield Edge 5.0vShield Endpoint 5.0This document supports the version of each product listed a

Página 2 - 2 VMware, Inc

vShield API Programming Guide10 VMware, Inc. vShield EdgeAvShieldEdgevirtualapplianceprovidesnetworkedgesecuritytoprotectthevirtualmachin

Página 3 - Contents

vShield API Programming Guide100 VMware, Inc. <xs:maxInclusive value="9000"/></xs:restriction></xs:simpleType><xs:simpl

Página 4 - 5 vShieldEdgeManagement 37

VMware, Inc. 101Appendix 400 Bad Request Therequestbodycontainsaninvalidrepresentationortherepresentationoftheentityismissinginformatio

Página 5 - 6 vShieldAppManagement 53

vShield API Programming Guide102 VMware, Inc.

Página 6 - Appendix 77

VMware, Inc. 103 IndexDData Securityscanning 73EESX host preparation 29FfirewallvShield Appabout 54IinstallationPort Group Isolation 29status 31vShiel

Página 7 - About This Book

vShield API Programming Guide104 VMware, Inc. vShield ZonesvShield 9vShield Manager 9

Página 8 - VMware Professional Services

VMware, Inc. 11Chapter 1 Overview of VMware vShield Example 1-2. Determine the API version of a vShield AppGET https://<vsm-ip>/api/versions/ap

Página 9 - Overview of VMware vShield

vShield API Programming Guide12 VMware, Inc. How REST WorksOnceaURLofsuchanobjectisknowntoaclient,theclientcanuseanHTTPGETrequestt

Página 10 - 10 VMware, Inc

VMware, Inc. 13Chapter 1 Overview of VMware vShield About the REST APIRESTAPIsuseHTTPrequests(oftensentbyscriptorhigh‐levellanguage)asaw

Página 11 - Multitenancy

vShield API Programming Guide14 VMware, Inc.

Página 12 - Using the vShield REST API

VMware, Inc. 15 2ThevShieldManagerrequirescommunicationwithyourvCenterServerandservicessuchasDNSandNTPtoprovidedetailsonyourVMwar

Página 13 - RESTful Workflow Patterns

vShield API Programming Guide16 VMware, Inc. SynchronizationwithvCenterServerrequiresitsIPaddress(orURL)andadministratorlogincredentials.

Página 14 - 14 VMware, Inc

VMware, Inc. 17Chapter 2 vShield Manager Management GET https://<vsm-ip>/api/2.0/networks/<internal-portgroup-vc-moref-id>/techSupportLogs

Página 15 - VMware, Inc. 15

vShield API Programming Guide18 VMware, Inc. Update a Local User AccountYoucanupdatealocaluseraccountincludingpassword.Ifapasswordisnotp

Página 16 - Retrieving Tech Support Logs

VMware, Inc. 19Chapter 2 vShield Manager Management Role ManagementGet Role for a UserYoucanretrieveinformationabouttheroleassignedtothisuse

Página 17 - User Management

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

Página 18 - Remove a User Account

vShield API Programming Guide20 VMware, Inc. Get a List of Possible RolesYoucanretrievethepossiblerolesinvShieldManager.Example 2-16. Retriev

Página 19 - Role Management

VMware, Inc. 21Chapter 2 vShield Manager Management <value>10.112.201.8-10.112.201.14</value> </ipset>The<scope-moref>can

Página 20 - Create an IPset on a Scope

vShield API Programming Guide22 VMware, Inc. List MACsets Created on a ScopeYoucanretrievealltheMACsetsthatwerecreatedonthespecifiedscope.

Página 21 - Delete an IPset

VMware, Inc. 23Chapter 2 vShield Manager Management <macset> <objectId /> <type> <typeName /> </type> <descrip

Página 22 - Modify an Existing MACset

vShield API Programming Guide24 VMware, Inc. POST https://10.24.128.128/api/2.0/services/securitygroup/datacenter-31<?xml version="1.0" e

Página 23 - Delete a MACset

VMware, Inc. 25Chapter 2 vShield Manager Management Delete a Security GroupYoucandeleteanexistingsecuritygroup.Theforce=flagindicatesifthe

Página 24 - Modify a Security Group

vShield API Programming Guide26 VMware, Inc. Add Application to a ScopeYoucancreateanewapplicationonthespecifiedscope.Example 2-37. Add an a

Página 25 - List Applications on a Scope

VMware, Inc. 27Chapter 2 vShield Manager Management Modify Application DetailsYoucanmodifythename,description,applicationProtocol,orportvalue

Página 26 - Get Details of an Application

vShield API Programming Guide28 VMware, Inc.

Página 27 - Delete Application from Scope

VMware, Inc. 29 3YoucanextendthecapabilitiesofvShieldbyaddingthefollowingservices:vShieldApp,vShieldEndpoint,andvShieldEdge.Youmus

Página 28 - 28 VMware, Inc

VMware, Inc. 3 ContentsAboutThisBook 71 OverviewofVMwarevShield 9vShieldComponents 9vShieldManager 9vShieldApp 9vShieldEdge 10vShieldEndpoin

Página 29 - Endpoint

vShield API Programming Guide30 VMware, Inc. Example 3-1. Install a vShield App and vShield Endpoint on an ESX hostRequest:POST https://<vsm-ip>

Página 30 - 30 VMware, Inc

VMware, Inc. 31Chapter 3 ESX Host Preparation for vShield App and vShield Endpoint Pragma: no-cacheHost: 10.112.196.244Accept: text/html, image/gif, i

Página 31 - VMware, Inc. 31

vShield API Programming Guide32 VMware, Inc.

Página 32 - 32 VMware, Inc

VMware, Inc. 33 4AfterESXhostpreparationiscomplete,youcansecureinternalnetworksbyinstallingavShieldEdge.Thischapterincludesthefollo

Página 33 - Installing a vShield Edge

vShield API Programming Guide34 VMware, Inc. <mtu>1500</mtu> </interface> <interface> <isUplink>

Página 34 - 34 VMware, Inc

VMware, Inc. 35Chapter 4 vShield Edge Installation <vshieldEdgeConfig xmlns="vmware.vshield.edge.2.0"> <installParams> <o

Página 35 - VMware, Inc. 35

vShield API Programming Guide36 VMware, Inc. <action>allow</action> <enableLog>false</enableLog> <disabled&

Página 36 - Uninstalling a vShield Edge

VMware, Inc. 37 5YoucanmanagevShieldEdgeservicesandfirewallpolicieswiththeRESTAPI.YoucaninstallEdge,postanddeleteconfigurations,a

Página 37 - Configuring vShield Edge

vShield API Programming Guide38 VMware, Inc. Get Capabilities of a vShield EdgeThiscallreturnscapabilitiesofthevShieldEdgeinstalledonthespe

Página 38 - Switch to New API Version

VMware, Inc. 39Chapter 5 vShield Edge Management Ifaserviceconfigurationtagispresent,itmeansreplacetheconfiguration.Ifaserviceconfigura

Página 39 - Configuring Edge Services

vShield API Programming Guide4 VMware, Inc. ModifyanExistingMACset 22DeleteaMACset 23SecurityGroupScopeandMembers 23ListSecurityGroupsCrea

Página 40 - Configure Firewall

vShield API Programming Guide40 VMware, Inc. vshieldEdgeConfig xmlns="vmware.vshield.edge.2.0"> <dhcpConfig> <binding>

Página 41 - Change Firewall Rule to Allow

VMware, Inc. 41Chapter 5 vShield Edge Management Example 5-11. Configure firewallPOST https://<vsm-ip>/api/2.0/networks/<internal-portgroup-

Página 42 - Revert Firewall to Default

vShield API Programming Guide42 VMware, Inc. Example 5-12. Set firewall policy to allow allPOST https://<vsm-ip>/api/2.0/networks/<internal-

Página 43 - Configure NAT

VMware, Inc. 43Chapter 5 vShield Edge Management <disabled>false</disabled> </rule> </firewallConfig></vshieldEdg

Página 44 - Delete NAT Configuration

vShield API Programming Guide44 VMware, Inc. Example 5-18. Configure NAT servicePOST https://<vsm-ip>/api/2.0/networks/<internal-portgroup-v

Página 45 - Configure Load Balancer

VMware, Inc. 45Chapter 5 vShield Edge Management Configure Load BalancerThevShieldEdgeprovidesloadbalancingforHTTPtraffic.Loadbalancing(up

Página 46 - Miscellaneous

vShield API Programming Guide46 VMware, Inc. Delete Load Balancer ConfigurationExample 5-23. Delete load balancer configurationPOST https://<vsm-i

Página 47 - Configure VPN

VMware, Inc. 47Chapter 5 vShield Edge Management </vshieldEdgeConfig>Configure VPNvShieldEdgeagentssupportsite‐to‐siteIPsecVPNbetweenan

Página 48 - Delete the VPN Configuration

vShield API Programming Guide48 VMware, Inc.  The<peerIpAddress>canbeany,oranactualIPaddress.Ifany,thenthissidecanbearesponde

Página 49 - VMware, Inc. 49

VMware, Inc. 49Chapter 5 vShield Edge Management <department>Engg</department> <city>Pune</city> <state>

Página 50 - Operating vShield Edge

VMware, Inc. 5Contents DeleteLoadBalancerConfiguration 46Miscellaneous 46ReconfigureEdgeInterfaces 46SetvShieldEdgeCredentials 46ConfigureRem

Página 51 - Debugging and Support

vShield API Programming Guide50 VMware, Inc. </vshieldEdgeConfig>6Forthedatapathtowork,youneedtochangethedefaultfirewallpolicytoa

Página 52 - Get Service Statistics

VMware, Inc. 51Chapter 5 vShield Edge Management Example 5-37. Get DHCP statisticsRequest:GET https://<vsm-ip>/api/2.0/networks/<internal-po

Página 53 - Retrieve Datacenter State

vShield API Programming Guide52 VMware, Inc. Get Service StatisticsYoucanretrievethevShieldEdgeservicestatistics.Theseareoftenrequiredfor

Página 54 - Modify Datacenter State

VMware, Inc. 53 6YoucanconfigurevShieldAppfirewallrulesandsyslogservicebyusingRESTAPIcalls.Thischapterincludesthefollowingtopics:

Página 55 - VMware, Inc. 55

vShield API Programming Guide54 VMware, Inc. TheXMLresponserepresentstheDatacenterStateobject,containinganenumerationofdatacenterstatus.T

Página 56 - Working with SpoofGuard

VMware, Inc. 55Chapter 6 vShield App Management  consolidatedforcombinedconfigurationincludingallrulesapplicableinthecontext/ <P>is

Página 57 - Working with Namespaces

vShield API Programming Guide56 VMware, Inc. Revert to Default Firewall ConfigurationYoucanrevertthefirewallconfigurationforthenodetoitsdef

Página 58 - Delete a Namespace

VMware, Inc. 57Chapter 6 vShield App Management Example 6-8. Get SpoofGuard settingsExample:GET https://<vsm-ip>/api/2.0/spoofGuard/<context

Página 59 - Upgrading vShield App

vShield API Programming Guide58 VMware, Inc. Intheexamplerequestbody,thenamespaceisdefinedasbeingsynonymouswithobjectnetwork-184.Get Nam

Página 60 - 60 VMware, Inc

VMware, Inc. 59Chapter 6 vShield App Management YoucanretrievealistofsyslogserversconfiguredonthefirstvShieldAppinstancethatresponds.E

Página 61 - Register a Vendor

vShield API Programming Guide6 VMware, Inc. GetSolutionRegistration 64GetIPAddressofaSolution 64GetActivationStatusofaSolution 64Unregiste

Página 62 - Register a Solution

vShield API Programming Guide60 VMware, Inc.

Página 63 - Activate a Solution

VMware, Inc. 61 7AvShieldEndpointappliancedeliversanintrospection‐basedantivirussolutionthatusesthehypervisortoscanguestvirtualmachin

Página 64 - Unregister a Vendor

vShield API Programming Guide62 VMware, Inc. Example 7-1. Register a vendorRequest:POST https://<vsm-ip>/api/2.0/endpointsecurity/registrationR

Página 65 - Status Codes and Error Schema

VMware, Inc. 63Chapter 7 vShield Endpoint Management IP Address and Port for a SolutionYoucansetasolution’sIPaddressandportonthevNIChost.E

Página 66 - Error Schema

vShield API Programming Guide64 VMware, Inc. Querying Registration Status of vShield EndpointYoucanusethesameURIsshownintheprevioussectionw

Página 67 - VMware, Inc. 67

VMware, Inc. 65Chapter 7 vShield Endpoint Management Example 7-9. Unregister a vendorRequest:DELETE https://<vsm-ip>/api/2.0/endpointsecurity/r

Página 68 - Enable a Regulation

vShield API Programming Guide66 VMware, Inc.  607Unrecognizedmoid. 608Locationinformationisalreadyset. 609Locationnotset. 612Solutions

Página 69 - VMware, Inc. 69

VMware, Inc. 67 8vShieldDataSecurityprovidesvisibilityintosensitivedatastoredwithinyourorganization’svirtualizedandcloudenvironments.B

Página 70 - Configure File Filters

vShield API Programming Guide68 VMware, Inc. Todefineapolicy,youmustspecifythefollowing: RegulationsAregulationisadataprivacylawforpr

Página 71 - Retrieve the Saved SDD Policy

VMware, Inc. 69Chapter 8 vShield Data Security Configuration <?xml version="1.0" encoding="UTF-8"?><set><long>66

Página 72 - Request:

VMware, Inc. 7 Thismanual,thevShieldAPIProgrammingGuide,describeshowtoinstall,configure,monitor,andmaintaintheVMware®vShield™system

Página 73 - Data Security Scanning

vShield API Programming Guide70 VMware, Inc. <set><EnhancedInfo><objectId>datacenter-2</objectId><name>jdoe</name>

Página 74 - Analyzing Results

VMware, Inc. 71Chapter 8 vShield Data Security Configuration  lastModifiedBefore–scanonlyfilesmodifiedbeforethespecifieddate.Thedatemust

Página 75 - VMware, Inc. 75

vShield API Programming Guide72 VMware, Inc. Example 8-10. Retrieve the saved SDD policyRequest:GET https://<vsm-ip>/api/2.0/dlp/policy/savedAu

Página 76 - 76 VMware, Inc

VMware, Inc. 73Chapter 8 vShield Data Security Configuration Retrieve the Published SDD PolicyYoucanretrievethecurrentlypublishedSDDpolicythat

Página 77

vShield API Programming Guide74 VMware, Inc. </DlpScanStatus>Start, Pause, Resume, or Stop a Scan OperationYoucanstartorstopascanoperatio

Página 78 - 78 VMware, Inc

VMware, Inc. 75Chapter 8 vShield Data Security Configuration  startindexisthepagenumberfromwhichtheresultsshouldbedisplayed.View the List

Página 79 - VMware, Inc. 79

vShield API Programming Guide76 VMware, Inc.

Página 80 - 80 VMware, Inc

VMware, Inc. 77 TheRESTAPIconfigurationofthevShieldEdgeandvShieldAppvirtualmachinessupportsschemasforinstallationandservicemanageme

Página 81 - VMware, Inc. 81

vShield API Programming Guide78 VMware, Inc. <xs:element name="buildNumber" type="xs:NMTOKEN" /> <!-- add fields as req

Página 82 - 82 VMware, Inc

VMware, Inc. 79Appendix </xs:complexType><xs:complexType name="VnicsType"><xs:sequence><xs:element name="vnic"

Página 83 - VMware, Inc. 83

vShield API Programming Guide8 VMware, Inc. Support OfferingsTofindouthowVMwaresupportofferingscanhelpmeetyourbusinessneeds,gotohttp://

Página 84 - 84 VMware, Inc

vShield API Programming Guide80 VMware, Inc. <xs:minLength value="1"/><xs:maxLength value="256"/></xs:restriction&g

Página 85 - VMware, Inc. 85

VMware, Inc. 81Appendix <xs:sequence><xs:element name="VszInstalled" type="xs:boolean"/><xs:element name="Epse

Página 86 - 86 VMware, Inc

vShield API Programming Guide82 VMware, Inc. <!-- Install parameters --><xs:complexType name="VszInstallParamsType"><xs:seque

Página 87 - VMware, Inc. 87

VMware, Inc. 83Appendix </xs:sequence></xs:complexType> <xs:complexType name="FirewallConfigHistoryInfoDto"><xs:sequenc

Página 88 - 88 VMware, Inc

vShield API Programming Guide84 VMware, Inc. <xs:complexType name="DestinationDto" abstract="true"><xs:sequence><xs

Página 89 - VMware, Inc. 89

VMware, Inc. 85Appendix <xs:element name="containerId" type="xs:string"></xs:element></xs:choice><xs:attribut

Página 90 - 90 VMware, Inc

vShield API Programming Guide86 VMware, Inc. <xs:element name="pagedIpAssignmentDetailsList" type="PagedIpAssignmentDetailsListDto&q

Página 91 - VMware, Inc. 91

VMware, Inc. 87Appendix </xs:sequence></xs:complexType> <xs:complexType name="VnicInfoDto"><xs:sequence><xs:eleme

Página 92 - 92 VMware, Inc

vShield API Programming Guide88 VMware, Inc. <xs:attribute name="type" use="required" type="vsns:NamespacesTypeEnum"

Página 93 - VMware, Inc. 93

VMware, Inc. 89Appendix <xs:element minOccurs="0" name="version"> <!-- Only in Response . Displays the vse appliance vers

Página 94 - 94 VMware, Inc

VMware, Inc. 9 1VMwarevShield™isasuiteofnetworkedgeandapplication‐awarefirewallsbuiltforVMwarevCenterServerintegration.vShieldinspec

Página 95 - VMware, Inc. 95

vShield API Programming Guide90 VMware, Inc. </xs:simpleType></xs:element><xs:element minOccurs="0" name="disableInterna

Página 96 - 96 VMware, Inc

VMware, Inc. 91Appendix <xs:element minOccurs="0" name="internalPort" type="PortInfo" /> <!-- port is valid onl

Página 97 - VMware, Inc. 97

vShield API Programming Guide92 VMware, Inc. <xs:element minOccurs="0" name="disabled" type="xs:boolean" /> <!

Página 98 - 98 VMware, Inc

VMware, Inc. 93Appendix <xs:complexType name="Listener"><xs:sequence><xs:element name="externalIpAddress" type=&quo

Página 99 - VMware, Inc. 99

vShield API Programming Guide94 VMware, Inc. <xs:simpleType><xs:restriction base="xs:string"><xs:pattern value="((psk)|(

Página 100 - Error Message Schema

VMware, Inc. 95Appendix <xs:element name="localSpi" type="xs:string" minOccurs="0" /><xs:element name="rem

Página 101 - Appendix

vShield API Programming Guide96 VMware, Inc. </xs:complexType><xs:complexType name="InterfaceStats"><xs:sequence><xs:el

Página 102 - 102 VMware, Inc

VMware, Inc. 97Appendix <xs:element minOccurs="0" maxOccurs="unbounded" name="ingressVpnFirewallConfig" type="Tr

Página 103 - VMware, Inc. 103

vShield API Programming Guide98 VMware, Inc. <xs:pattern value="backwordCompatibilityMode|regu

Página 104 - 104 VMware, Inc

VMware, Inc. 99Appendix </xs:restriction></xs:simpleType><xs:simpleType name="PortOrAny"><xs:restriction base="xs:

Comentários a estes Manuais

Sem comentários