nexpose_ticketing 0.0.1 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MWYyZjg5NzU4ZDJhN2MxZmE5OTY4MjFhMjc4OTA0YzhjNjA5ZDA3ZA==
4
+ OTcwMDc2MTlkYjRiMzI1NzI3YWZmNjc2MmVlMTQzMTg1MjY5ZjZiOQ==
5
5
  data.tar.gz: !binary |-
6
- MzgwMjQ4M2ViNmFkMGVhMjQ5NWM0NGFiOGIwNTgxZDBkNjJhOGU5OA==
6
+ MWI5ZjMzMzVkMTA2MmVkZjA1MDlhYjIxMThmNzc0OTRjYWUwNjdlOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NzQ3N2I1ZjJiMDdlMmJmOGJkZTYwNjI4YTBlZTU1N2IzNGEyZWY2YmY5NTBl
10
- NTQ2MmRjODcwOGY5NTlmNjNhNGMyYTljZTgxNzU2NGU0MGY2ZTIxMThiMGUw
11
- ZTNiZWM1ODQ3MjI0ODA2NmZmYWVkMDJmZDY5MTI5MzY4NjIxZDU=
9
+ YzM5Y2NhYmJmNTBiOTI1MjlkMzAzOTY4ZWM1NGI1MzVjMDdkNWVkZmI2MWFi
10
+ YWI5ODliZjQyMDFkNzIwMTA2MjM0Njk5ZmM0YTlhMTRmYThmYzEyZWJlZWEy
11
+ ODFjNmEyNDkzNWNmY2NjMDQwMjY1NzQxYjE3ZDhmMWIyZjgzZGE=
12
12
  data.tar.gz: !binary |-
13
- NTUxYzM5YmUzYmVlMWRiNmM3NjhiZTgxYWEyNWE4YzEzNDdhZGQ2ZjkyZTcw
14
- NDQ1ZDBkZjE1YmQ5Nzg3ZmQwZDY3NDM4YzcyZWFkMmM2MDM3NzRmODFiYjdk
15
- YjhjMDNhNzQyYTJjNTA3MDNhMDkxMjY0OWEyMTgxOGU3YzlmMzk=
13
+ M2Y5ODhjMmUwYWY1OTZiYjY3MWMxNmQxMGNkOTQ0YzRkNTY2OWFmOGE1N2Zh
14
+ ODZjMWYzMzBkMmIwZDFhN2RhYzU4N2NkMmQzMzY4ZDFmZDJmNGRhNjRmZTA1
15
+ OTY5YTM4MzBmY2M4Zjk0Yzg0NDY2MGQwYThjZmY1NmYwYjExMjE=
@@ -1,38 +1,43 @@
1
- # Nexpose Ticketing Engine.
2
-
3
- This is the official gem package for the Ruby Nexpose Ticketing engine.
4
-
5
- To share your scripts, or to discuss different approaches, please visit the Rapid7 forums for Nexpose: https://community.rapid7.com/community/nexpose
6
-
7
- For assistance with using the gem please email the Rapid7 integrations support team at integrations_support@rapid7.com.
8
-
9
- # Usage
10
-
11
- To use the JIRA implementation please follow these steps:
12
- * Edit the jira.config file under config and add the necessary data.
13
- * Edit the ticket_service.config file under config and add the necessary data.
14
- * Run the jira file under the bin folder. If installed with Gem 'console> jira' should suffice.
15
-
16
- A logger is implemented by default, and the log can be found under the log folder; please refer to the log file in case of an error.
17
-
18
-
19
- ## Contributions
20
-
21
- This package is currently a work in progress. Currently there's only a JIRA implementation, with more on the works.
22
-
23
- To develop your own implementation for Ticketing service 'foo':
24
-
25
- * Create a helper class that implements the following methods:
26
- ** create_ticket(tickets) - This method should implement the transport class for the 'foo' service (https, smtp, SOAP, etc).
27
- ** prepare_tickets(tickets) - This method will call the selected preparation type: default or ip.
28
- ** prepare_tickets_default(vulnerability_list) - This method will take the vulnerability_list in CSV format and transform it into 'foo' accepted data (JSON, XML, etc) per vulnerability.
29
- ** prepare_tickets_by_ip(vulnerability_list) - This method will take the vulnerability_list in CSV format and transform it into 'food' accepted data (JSON, XML, etc) collapsing all vulnerabilities by IP.
30
- * Create your 'foo' caller under bin. See the file 'jira' for reference.
31
-
32
- Please see jira_helper.rb under helpers for an helper example, and two_vulns_report.csv under the test folder for a sample CSV report.
33
-
34
- We welcome contributions to this package. We ask only that pull requests and patches adhere to our coding standards.
35
-
36
- * Favor returning classes over key-value maps. Classes tend to be easier for users to manipulate and use.
37
- * Unless otherwise noted, code should adhere to the Ruby Style Guide: https://github.com/bbatsov/ruby-style-guide
38
- * Use YARDoc comment style to improve the API documentation of the gem.
1
+ # Nexpose Ticketing Engine.
2
+
3
+ This is the official gem package for the Ruby Nexpose Ticketing engine.
4
+
5
+ To share your scripts, or to discuss different approaches, please visit the Rapid7 forums for Nexpose: https://community.rapid7.com/community/nexpose
6
+
7
+ For assistance with using the gem please email the Rapid7 integrations support team at integrations_support@rapid7.com.
8
+
9
+ # Usage
10
+
11
+ To use the JIRA implementation please follow these steps:
12
+ * Edit the jira.config file under the gem config folder and add the necessary data.
13
+ * Edit the ticket_service.config under the gem config folder and add the necessary data.
14
+ * Run the nexpose_jira file under the bin folder. If installed with Gem 'console> nexpose_jira' should suffice.
15
+
16
+ Note: Gem is usually installed under
17
+ * Windows: C:\Ruby\<version\>\lib\ruby\gems\version\gems
18
+ * Linux: /var/lib/gems/\<version\>/gems/
19
+ Please refer to your particular Ruby documentation for actual installation folder.
20
+
21
+ A logger is also implemented by default, and the log can be found under the log folder; please refer to the log file in case of an error.
22
+
23
+
24
+ ## Contributions
25
+
26
+ This package is currently a work in progress. Currently there's only a JIRA implementation, with more on the works.
27
+
28
+ To develop your own implementation for Ticketing service 'foo':
29
+
30
+ * Create a helper class that implements the following methods:
31
+ * create_ticket(tickets) - This method should implement the transport class for the 'foo' service (https, smtp, SOAP, etc).
32
+ * prepare_tickets(tickets) - This method will call the selected preparation type: default or ip.
33
+ * prepare_tickets_default(vulnerability_list) - This method will take the vulnerability_list in CSV format and transform it into 'foo' accepted data (JSON, XML, etc) per vulnerability.
34
+ * prepare_tickets_by_ip(vulnerability_list) - This method will take the vulnerability_list in CSV format and transform it into 'food' accepted data (JSON, XML, etc) collapsing all vulnerabilities by IP.
35
+ * Create your 'foo' caller under bin. See the file 'jira' for reference.
36
+
37
+ Please see jira_helper.rb under helpers for an helper example, and two_vulns_report.csv under the test folder for a sample CSV report.
38
+
39
+ We welcome contributions to this package. We ask only that pull requests and patches adhere to our coding standards.
40
+
41
+ * Favor returning classes over key-value maps. Classes tend to be easier for users to manipulate and use.
42
+ * Unless otherwise noted, code should adhere to the Ruby Style Guide: https://github.com/bbatsov/ruby-style-guide
43
+ * Use YARDoc comment style to improve the API documentation of the gem.
data/bin/nexpose_jira CHANGED
@@ -2,8 +2,8 @@
2
2
  require 'yaml'
3
3
  require 'nexpose_ticketing'
4
4
  # Path to the JIRA Configuration file.
5
- JIRA_CONFIG_PATH = File.join(File.dirname(__FILE__),'../lib/nexpose_ticketing/config/jira.config')
6
- #JIRA_CONFIG_PATH = '../lib/nexpose_ticketing/config/jira.config'
5
+ JIRA_CONFIG_PATH = File.join(File.dirname(__FILE__),
6
+ '../lib/nexpose_ticketing/config/jira.config')
7
7
 
8
8
  # Read in JIRA options from jira.config.
9
9
  jira_options = begin
@@ -14,4 +14,3 @@ end
14
14
 
15
15
  # Initialize Ticket Service using JIRA.
16
16
  NexposeTicketing.start(jira_options)
17
-
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+ require 'yaml'
3
+ require 'nexpose_ticketing'
4
+
5
+ # Path to ServiceNow configuration file
6
+ REMEDY_CONFIG_PATH = File.join(File.dirname(__FILE__),
7
+ '../lib/nexpose_ticketing/config/remedy.config')
8
+
9
+ # Read in ServiceNow options from servicenow.config
10
+ rememdy_options = begin
11
+ YAML.load_file(REMEDY_CONFIG_PATH)
12
+ rescue ArgumentError => e
13
+ raise "Could not parse YAML #{REMEDY_CONFIG_PATH} : #{e.message}"
14
+ end
15
+
16
+ # Initialize Nexpose Ticket Service using Remedy
17
+ NexposeTicketing.start(rememdy_options)
@@ -0,0 +1,17 @@
1
+ #!/usr/bin/env ruby
2
+ require 'yaml'
3
+ require 'nexpose_ticketing'
4
+
5
+ # Path to ServiceNow configuration file
6
+ SERVICENOW_CONFIG_PATH = File.join(File.dirname(__FILE__),
7
+ '../lib/nexpose_ticketing/config/servicenow.config')
8
+
9
+ # Read in ServiceNow options from servicenow.config
10
+ servicenow_options = begin
11
+ YAML.load_file(SERVICENOW_CONFIG_PATH)
12
+ rescue ArgumentError => e
13
+ raise "Could not parse YAML #{SERVICENOW_CONFIG_PATH} : #{e.message}"
14
+ end
15
+
16
+ # Initialize Nexpose Ticket Service using ServiceNow
17
+ NexposeTicketing.start(servicenow_options)
@@ -1,8 +1,10 @@
1
1
  require 'nexpose_ticketing/ticket_service'
2
+ # Main nexpose ticketing module, helper options
3
+ # should be passed as arguments to start.
2
4
  module NexposeTicketing
3
5
  def self.start(args)
4
6
  ts = NexposeTicketing::TicketService.new
5
7
  ts.setup(args)
6
8
  ts.start
7
9
  end
8
- end
10
+ end
@@ -0,0 +1,26 @@
1
+ ---
2
+ # This configuration file defines all the options necessary to support the helper.
3
+ # Fields marked (M) are mandatory.
4
+ #
5
+
6
+ # (M) Helper class name
7
+ :helper_name: RemedyHelper
8
+
9
+ # (M) Remedy create incident SOAP endpoint
10
+ :create_soap_endpoint: http://url/arsys/services/ARService?server=bmc-remedy-w&webService=HPD_IncidentInterface_Create_WS
11
+ # (M) Remedy query/modify incident SOAP endpoint
12
+ :query_modify_soap_endpoint: http://url/arsys/services/ARService?server=bmc-remedy-w&webService=HPD_IncidentInterface_WS
13
+ # (M) Username for Remedy
14
+ :username: username
15
+ # (M) Password for above username
16
+ :password: password
17
+ # Authentication code (if used by Remedy)
18
+ :authentication:
19
+ # (M) First name of the above username
20
+ :first_name: Firstname
21
+ # (M) Last name of the above username
22
+ :last_name: Lastname
23
+ # (M) Open SOAP connection timeout (in seconds)
24
+ :open_timeout: 30
25
+ # (M) Read SOAP connection timeout (in seconds)
26
+ :read_timeout: 30
@@ -0,0 +1,296 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <wsdl:definitions targetNamespace="urn:HPD_IncidentInterface_Create_WS" xmlns:s0="urn:HPD_IncidentInterface_Create_WS" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3
+ <wsdl:types>
4
+ <xsd:schema elementFormDefault="qualified" targetNamespace="urn:HPD_IncidentInterface_Create_WS">
5
+ <xsd:element name="HelpDesk_Submit_Service" type="s0:CreateInputMap"/>
6
+ <xsd:complexType name="CreateInputMap">
7
+ <xsd:sequence>
8
+ <xsd:element minOccurs="0" name="Assigned_Group" type="xsd:string"/>
9
+ <xsd:element minOccurs="0" name="Assigned_Group_Shift_Name" type="xsd:string"/>
10
+ <xsd:element minOccurs="0" name="Assigned_Support_Company" type="xsd:string"/>
11
+ <xsd:element minOccurs="0" name="Assigned_Support_Organization" type="xsd:string"/>
12
+ <xsd:element minOccurs="0" name="Assignee" type="xsd:string"/>
13
+ <xsd:element minOccurs="0" name="Categorization_Tier_1" type="xsd:string"/>
14
+ <xsd:element minOccurs="0" name="Categorization_Tier_2" type="xsd:string"/>
15
+ <xsd:element minOccurs="0" name="Categorization_Tier_3" type="xsd:string"/>
16
+ <xsd:element minOccurs="0" name="CI_Name" type="xsd:string"/>
17
+ <xsd:element minOccurs="0" name="Closure_Manufacturer" type="xsd:string"/>
18
+ <xsd:element minOccurs="0" name="Closure_Product_Category_Tier1" type="xsd:string"/>
19
+ <xsd:element minOccurs="0" name="Closure_Product_Category_Tier2" type="xsd:string"/>
20
+ <xsd:element minOccurs="0" name="Closure_Product_Category_Tier3" type="xsd:string"/>
21
+ <xsd:element minOccurs="0" name="Closure_Product_Model_Version" type="xsd:string"/>
22
+ <xsd:element minOccurs="0" name="Closure_Product_Name" type="xsd:string"/>
23
+ <xsd:element minOccurs="0" name="Department" type="xsd:string"/>
24
+ <xsd:element name="First_Name" type="xsd:string"/>
25
+ <xsd:element name="Impact" nillable="true" type="s0:ImpactType"/>
26
+ <xsd:element name="Last_Name" type="xsd:string"/>
27
+ <xsd:element minOccurs="0" name="Lookup_Keyword" type="xsd:string"/>
28
+ <xsd:element minOccurs="0" name="Manufacturer" type="xsd:string"/>
29
+ <xsd:element minOccurs="0" name="Product_Categorization_Tier_1" type="xsd:string"/>
30
+ <xsd:element minOccurs="0" name="Product_Categorization_Tier_2" type="xsd:string"/>
31
+ <xsd:element minOccurs="0" name="Product_Categorization_Tier_3" type="xsd:string"/>
32
+ <xsd:element minOccurs="0" name="Product_Model_Version" type="xsd:string"/>
33
+ <xsd:element minOccurs="0" name="Product_Name" type="xsd:string"/>
34
+ <xsd:element name="Reported_Source" nillable="true" type="s0:Reported_SourceType"/>
35
+ <xsd:element minOccurs="0" name="Resolution" type="xsd:string"/>
36
+ <xsd:element minOccurs="0" name="Resolution_Category_Tier_1" type="xsd:string"/>
37
+ <xsd:element minOccurs="0" name="Resolution_Category_Tier_2" type="xsd:string"/>
38
+ <xsd:element minOccurs="0" name="Resolution_Category_Tier_3" type="xsd:string"/>
39
+ <xsd:element name="Service_Type" nillable="true" type="s0:Service_TypeType"/>
40
+ <xsd:element name="Status" type="s0:StatusType"/>
41
+ <xsd:element name="Action" type="xsd:string"/>
42
+ <xsd:element minOccurs="0" name="Create_Request" type="s0:Create_RequestType"/>
43
+ <xsd:element name="Summary" type="xsd:string"/>
44
+ <xsd:element minOccurs="0" name="Notes" type="xsd:string"/>
45
+ <xsd:element name="Urgency" nillable="true" type="s0:UrgencyType"/>
46
+ <xsd:element minOccurs="0" name="Work_Info_Summary" type="xsd:string"/>
47
+ <xsd:element minOccurs="0" name="Work_Info_Notes" type="xsd:string"/>
48
+ <xsd:element minOccurs="0" name="Work_Info_Type" type="s0:Work_Info_TypeType"/>
49
+ <xsd:element minOccurs="0" name="Work_Info_Date" type="xsd:dateTime"/>
50
+ <xsd:element minOccurs="0" name="Work_Info_Source" type="s0:Work_Info_SourceType"/>
51
+ <xsd:element default="No" minOccurs="0" name="Work_Info_Locked" type="s0:Create_RequestType"/>
52
+ <xsd:element default="Internal" minOccurs="0" name="Work_Info_View_Access" type="s0:Work_Info_View_AccessType"/>
53
+ <xsd:element minOccurs="0" name="Middle_Initial" type="xsd:string"/>
54
+ <xsd:element minOccurs="0" name="Status_Reason" type="s0:Status_ReasonType"/>
55
+ <xsd:element minOccurs="0" name="Direct_Contact_First_Name" type="xsd:string"/>
56
+ <xsd:element minOccurs="0" name="Direct_Contact_Middle_Initial" type="xsd:string"/>
57
+ <xsd:element minOccurs="0" name="Direct_Contact_Last_Name" type="xsd:string"/>
58
+ <xsd:element minOccurs="0" name="TemplateID" type="xsd:string"/>
59
+ <xsd:element minOccurs="0" name="ServiceCI" type="xsd:string"/>
60
+ <xsd:element minOccurs="0" name="ServiceCI_ReconID" type="xsd:string"/>
61
+ <xsd:element minOccurs="0" name="HPD_CI" type="xsd:string"/>
62
+ <xsd:element minOccurs="0" name="HPD_CI_ReconID" type="xsd:string"/>
63
+ <xsd:element minOccurs="0" name="HPD_CI_FormName" type="xsd:string"/>
64
+ <xsd:element minOccurs="0" name="WorkInfoAttachment1Name" type="xsd:string"/>
65
+ <xsd:element minOccurs="0" name="WorkInfoAttachment1Data" type="xsd:base64Binary"/>
66
+ <xsd:element minOccurs="0" name="WorkInfoAttachment1OrigSize" type="xsd:int"/>
67
+ <xsd:element minOccurs="0" name="Login_ID" type="xsd:string"/>
68
+ <xsd:element minOccurs="0" name="Customer_Company" type="xsd:string"/>
69
+ <xsd:element minOccurs="0" name="Corporate_ID" type="xsd:string"/>
70
+ </xsd:sequence>
71
+ </xsd:complexType>
72
+ <xsd:simpleType name="ImpactType">
73
+ <xsd:restriction base="xsd:string">
74
+ <xsd:enumeration value="1-Extensive/Widespread"/>
75
+ <xsd:enumeration value="2-Significant/Large"/>
76
+ <xsd:enumeration value="3-Moderate/Limited"/>
77
+ <xsd:enumeration value="4-Minor/Localized"/>
78
+ </xsd:restriction>
79
+ </xsd:simpleType>
80
+ <xsd:simpleType name="Reported_SourceType">
81
+ <xsd:restriction base="xsd:string">
82
+ <xsd:enumeration value="Direct Input"/>
83
+ <xsd:enumeration value="Email"/>
84
+ <xsd:enumeration value="External Escalation"/>
85
+ <xsd:enumeration value="Fax"/>
86
+ <xsd:enumeration value="Self Service"/>
87
+ <xsd:enumeration value="Systems Management"/>
88
+ <xsd:enumeration value="Phone"/>
89
+ <xsd:enumeration value="Voice Mail"/>
90
+ <xsd:enumeration value="Walk In"/>
91
+ <xsd:enumeration value="Web"/>
92
+ <xsd:enumeration value="Other"/>
93
+ <xsd:enumeration value="BMC Impact Manager Event"/>
94
+ </xsd:restriction>
95
+ </xsd:simpleType>
96
+ <xsd:simpleType name="Service_TypeType">
97
+ <xsd:restriction base="xsd:string">
98
+ <xsd:enumeration value="User Service Restoration"/>
99
+ <xsd:enumeration value="User Service Request"/>
100
+ <xsd:enumeration value="Infrastructure Restoration"/>
101
+ <xsd:enumeration value="Infrastructure Event"/>
102
+ </xsd:restriction>
103
+ </xsd:simpleType>
104
+ <xsd:simpleType name="StatusType">
105
+ <xsd:restriction base="xsd:string">
106
+ <xsd:enumeration value="New"/>
107
+ <xsd:enumeration value="Assigned"/>
108
+ <xsd:enumeration value="In Progress"/>
109
+ <xsd:enumeration value="Pending"/>
110
+ <xsd:enumeration value="Resolved"/>
111
+ <xsd:enumeration value="Closed"/>
112
+ <xsd:enumeration value="Cancelled"/>
113
+ </xsd:restriction>
114
+ </xsd:simpleType>
115
+ <xsd:simpleType name="Create_RequestType">
116
+ <xsd:restriction base="xsd:string">
117
+ <xsd:enumeration value="Yes"/>
118
+ <xsd:enumeration value="No"/>
119
+ </xsd:restriction>
120
+ </xsd:simpleType>
121
+ <xsd:simpleType name="UrgencyType">
122
+ <xsd:restriction base="xsd:string">
123
+ <xsd:enumeration value="1-Critical"/>
124
+ <xsd:enumeration value="2-High"/>
125
+ <xsd:enumeration value="3-Medium"/>
126
+ <xsd:enumeration value="4-Low"/>
127
+ </xsd:restriction>
128
+ </xsd:simpleType>
129
+ <xsd:simpleType name="Work_Info_TypeType">
130
+ <xsd:restriction base="xsd:string">
131
+ <xsd:enumeration value="----- Customer Inbound -----"/>
132
+ <xsd:enumeration value="Customer Communication"/>
133
+ <xsd:enumeration value="Customer Follow-up"/>
134
+ <xsd:enumeration value="Customer Status Update"/>
135
+ <xsd:enumeration value="----- Customer Outbound -----"/>
136
+ <xsd:enumeration value="Closure Follow Up"/>
137
+ <xsd:enumeration value="Detail Clarification"/>
138
+ <xsd:enumeration value="General Information"/>
139
+ <xsd:enumeration value="Resolution Communications"/>
140
+ <xsd:enumeration value="Satisfaction Survey"/>
141
+ <xsd:enumeration value="Status Update"/>
142
+ <xsd:enumeration value="----- General -----"/>
143
+ <xsd:enumeration value="Incident Task / Action"/>
144
+ <xsd:enumeration value="Problem Script"/>
145
+ <xsd:enumeration value="Working Log"/>
146
+ <xsd:enumeration value="Email System"/>
147
+ <xsd:enumeration value="Paging System"/>
148
+ <xsd:enumeration value="BMC Impact Manager Update"/>
149
+ <xsd:enumeration value="Chat"/>
150
+ </xsd:restriction>
151
+ </xsd:simpleType>
152
+ <xsd:simpleType name="Work_Info_SourceType">
153
+ <xsd:restriction base="xsd:string">
154
+ <xsd:enumeration value="Email"/>
155
+ <xsd:enumeration value="Fax"/>
156
+ <xsd:enumeration value="Phone"/>
157
+ <xsd:enumeration value="Voice Mail"/>
158
+ <xsd:enumeration value="Walk In"/>
159
+ <xsd:enumeration value="Pager"/>
160
+ <xsd:enumeration value="System Assignment"/>
161
+ <xsd:enumeration value="Web"/>
162
+ <xsd:enumeration value="Other"/>
163
+ <xsd:enumeration value="BMC Impact Manager Event"/>
164
+ </xsd:restriction>
165
+ </xsd:simpleType>
166
+ <xsd:simpleType name="Work_Info_View_AccessType">
167
+ <xsd:restriction base="xsd:string">
168
+ <xsd:enumeration value="Internal"/>
169
+ <xsd:enumeration value="Public"/>
170
+ </xsd:restriction>
171
+ </xsd:simpleType>
172
+ <xsd:simpleType name="Status_ReasonType">
173
+ <xsd:restriction base="xsd:string">
174
+ <xsd:enumeration value="Infrastructure Change Created"/>
175
+ <xsd:enumeration value="Local Site Action Required"/>
176
+ <xsd:enumeration value="Purchase Order Approval"/>
177
+ <xsd:enumeration value="Registration Approval"/>
178
+ <xsd:enumeration value="Supplier Delivery"/>
179
+ <xsd:enumeration value="Support Contact Hold"/>
180
+ <xsd:enumeration value="Third Party Vendor Action Reqd"/>
181
+ <xsd:enumeration value="Client Action Required"/>
182
+ <xsd:enumeration value="Infrastructure Change"/>
183
+ <xsd:enumeration value="Request"/>
184
+ <xsd:enumeration value="Future Enhancement"/>
185
+ <xsd:enumeration value="Pending Original Incident"/>
186
+ <xsd:enumeration value="Client Hold"/>
187
+ <xsd:enumeration value="Monitoring Incident"/>
188
+ <xsd:enumeration value="Customer Follow-Up Required"/>
189
+ <xsd:enumeration value="Temporary Corrective Action"/>
190
+ <xsd:enumeration value="No Further Action Required"/>
191
+ <xsd:enumeration value="Resolved by Original Incident"/>
192
+ <xsd:enumeration value="Automated Resolution Reported"/>
193
+ <xsd:enumeration value="No longer a Causal CI"/>
194
+ </xsd:restriction>
195
+ </xsd:simpleType>
196
+ <xsd:element name="HelpDesk_Submit_ServiceResponse" type="s0:CreateOutputMap"/>
197
+ <xsd:complexType name="CreateOutputMap">
198
+ <xsd:sequence>
199
+ <xsd:element name="Incident_Number" type="xsd:string"/>
200
+ </xsd:sequence>
201
+ </xsd:complexType>
202
+ <xsd:element name="AuthenticationInfo" type="s0:AuthenticationInfo"/>
203
+ <xsd:complexType name="AuthenticationInfo">
204
+ <xsd:sequence>
205
+ <xsd:element name="userName" type="xsd:string"/>
206
+ <xsd:element name="password" type="xsd:string"/>
207
+ <xsd:element minOccurs="0" name="authentication" type="xsd:string"/>
208
+ <xsd:element minOccurs="0" name="locale" type="xsd:string"/>
209
+ <xsd:element minOccurs="0" name="timeZone" type="xsd:string"/>
210
+ </xsd:sequence>
211
+ </xsd:complexType>
212
+ </xsd:schema>
213
+ </wsdl:types>
214
+
215
+ <wsdl:message name="ARAuthenticate">
216
+
217
+ <wsdl:part element="s0:AuthenticationInfo" name="parameters">
218
+
219
+ </wsdl:part>
220
+
221
+ </wsdl:message>
222
+
223
+ <wsdl:message name="HelpDesk_Submit_ServiceSoapIn">
224
+
225
+ <wsdl:part element="s0:HelpDesk_Submit_Service" name="parameters">
226
+
227
+ </wsdl:part>
228
+
229
+ </wsdl:message>
230
+
231
+ <wsdl:message name="HelpDesk_Submit_ServiceSoapOut">
232
+
233
+ <wsdl:part element="s0:HelpDesk_Submit_ServiceResponse" name="parameters">
234
+
235
+ </wsdl:part>
236
+
237
+ </wsdl:message>
238
+
239
+ <wsdl:portType name="HPD_IncidentInterface_Create_WSPortTypePortType">
240
+
241
+ <wsdl:operation name="HelpDesk_Submit_Service">
242
+
243
+ <wsdl:input message="s0:HelpDesk_Submit_ServiceSoapIn">
244
+
245
+ </wsdl:input>
246
+
247
+ <wsdl:output message="s0:HelpDesk_Submit_ServiceSoapOut">
248
+
249
+ </wsdl:output>
250
+
251
+ </wsdl:operation>
252
+
253
+ </wsdl:portType>
254
+
255
+ <wsdl:binding name="HPD_IncidentInterface_Create_WSPortTypeSoapBinding" type="s0:HPD_IncidentInterface_Create_WSPortTypePortType">
256
+
257
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
258
+
259
+ <wsdl:operation name="HelpDesk_Submit_Service">
260
+
261
+ <soap:operation soapAction="urn:HPD_IncidentInterface_Create_WS/HelpDesk_Submit_Service" style="document"/>
262
+
263
+ <wsdl:input>
264
+
265
+ <soap:header message="s0:ARAuthenticate" part="parameters" use="literal">
266
+
267
+ </soap:header>
268
+
269
+ <soap:body use="literal"/>
270
+
271
+ </wsdl:input>
272
+
273
+ <wsdl:output>
274
+
275
+ <soap:body use="literal"/>
276
+
277
+ </wsdl:output>
278
+
279
+ </wsdl:operation>
280
+
281
+ </wsdl:binding>
282
+
283
+ <wsdl:service name="HPD_IncidentInterface_Create_WSService">
284
+
285
+ <wsdl:documentation>
286
+ HelpDesk_Submit_Service Create </wsdl:documentation>
287
+
288
+ <wsdl:port binding="s0:HPD_IncidentInterface_Create_WSPortTypeSoapBinding" name="HPD_IncidentInterface_Create_WSPortTypeSoap">
289
+
290
+ <soap:address location="http://url_to_remedy/arsys/services/ARService?server=bmc-remedy-w&amp;webService=HPD_IncidentInterface_Create_WS"/>
291
+
292
+ </wsdl:port>
293
+
294
+ </wsdl:service>
295
+
296
+ </wsdl:definitions>