1# Sample config using the ServiceNow incident tracker
2backend:
3    class: OpenXPKI::Server::Notification::ServiceNow
4    server: https://demo003.service-now.com/incident.do
5    username: admin
6    password: admin
7    timeout: 300
8
9template:
10    dir:   /usr/local/etc/openxpki/template/rt
11
12message:
13    csr_created:  # The message Id as referenced in the activity
14        main:  # The internal handle for this ticket
15            action: open
16            short_description: CSR for [% cert_subject %]
17            requestor: "[% cert_info.requestor_email %]"
18            template: csr_created
19            priority: 5
20            state: 1
21            category: inquiry
22            assigned_to: admin
23            assignment_group: pki team
24
25    csr_approved:
26        main:
27            action: update
28            state: 6
29            template: csr_approvers
30
31    csr_rejected:
32        main:
33            action: close
34            template: csr_rejected
35            priority: 10
36            state: 7
37
38    cert_issued:
39        main:
40            action: close
41            template: cert_issued
42            status: resolved
43