Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
5af743d
jira: format test files before making other changes
andrewkroh Feb 24, 2022
5e2ffdb
confluence: format test files before making other changes
andrewkroh Feb 24, 2022
ff1d2fb
jira: remove event.ingested
andrewkroh Feb 24, 2022
3119eb0
jira: update test files without event.ingested
andrewkroh Feb 24, 2022
d55d0ad
confluence: remove event.ingested
andrewkroh Feb 24, 2022
939f822
confluence: update test files without event.ingested
andrewkroh Feb 24, 2022
b2a564b
Add Confluence Cloud Support
legoguy1000 Feb 24, 2022
8bdbb5c
Add JIRA cloud
legoguy1000 Feb 24, 2022
c39dd15
update pipeline
legoguy1000 Feb 20, 2022
099d13e
update configs
legoguy1000 Feb 20, 2022
a71296c
confluence: update pipeline test output for user changes
andrewkroh Feb 24, 2022
2c4157b
jira: fix service name in system test
andrewkroh Feb 24, 2022
31f02ed
confluence: fix empty processors for !atlassian_cloud
andrewkroh Feb 24, 2022
63a4d50
confluence: fix yaml variable format in test variables
andrewkroh Feb 24, 2022
93cf392
jira: fix empty processors for !atlassian_cloud
andrewkroh Feb 24, 2022
f39f3ac
jira: fix yaml variable format in test variables
andrewkroh Feb 24, 2022
e2984b5
using url.value works
legoguy1000 Mar 22, 2022
fb3952f
worked
legoguy1000 Mar 22, 2022
1fcd66f
update docs
legoguy1000 Apr 5, 2022
a6fd574
update generated data after rebase
legoguy1000 Apr 25, 2022
a3dfa93
fix readme's
legoguy1000 Apr 26, 2022
7750c3d
fix issues with timestamps
legoguy1000 Apr 27, 2022
148c1fb
atlassian_confluence: Add missing event mappings
andrewkroh Apr 27, 2022
38f5d99
atlassian_confluence: Update readme
andrewkroh Apr 27, 2022
280f63f
Separate config for atlassian cloud
andrewkroh Apr 27, 2022
55b0de1
Separate timestamp processing
andrewkroh Apr 27, 2022
3e459a6
atlassian_jira: add missing event field mappings
andrewkroh Apr 27, 2022
badd165
atlassian_jira: update readme
andrewkroh Apr 27, 2022
6f17062
atlassian_jira: convert event.id to string
andrewkroh Apr 27, 2022
131d4b4
atlassian_jira: update pipeline descriptions
andrewkroh Apr 27, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/atlassian_confluence/_dev/build/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The Confluence integration collects [audit logs](https://confluence.atlassian.co

### Audit

The Confluence integration collects audit logs from the audit log files or the audit API from self hosted Confluence Data Center. It has been tested with Confluence 7.14.2 but is expected to work with newer versions. This has not been tested with Confluence Cloud and is not expected to work.
The Confluence integration collects audit logs from the audit log files or the audit API from self hosted Confluence Data Center. It has been tested with Confluence 7.14.2 but is expected to work with newer versions. As of version 1.2.0, this integration added experimental support for Atlassian Confluence Cloud. JIRA Cloud only supports Basic Auth using username and a Personal Access Token.

{{fields "audit"}}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
rules:
# Confluence Self Hosted Server
- path: /rest/auditing/1.0/events
methods: ["GET"]
request_headers:
Expand All @@ -23,3 +24,30 @@ rules:
- status_code: 200
body: |-
{"entities":[{"timestamp":"2021-11-23T00:44:58.940Z","author":{"name":"test user","type":"user","id":"2c9680837d4a3682017d4a375a280000","uri":"http://confluence.internal:8090/admin/users/viewuser.action?username=admin","avatarUri":""},"type":{"categoryI18nKey":"atlassian.audit.event.category.audit","category":"Auditing","actionI18nKey":"atlassian.audit.event.action.audit.search","action":"Audit Log search performed"},"affectedObjects":[],"changedValues":[],"source":"81.2.69.143","system":"http://confluence.internal:8090","method":"Browser","extraAttributes":[{"nameI18nKey":"atlassian.audit.event.attribute.id","name":"ID Range","value":"1 - 179"},{"nameI18nKey":"atlassian.audit.event.attribute.query","name":"Query","value":""},{"nameI18nKey":"atlassian.audit.event.attribute.results","name":"Results returned","value":"179"},{"nameI18nKey":"atlassian.audit.event.attribute.timestamp","name":"Timestamp Range","value":"2021-11-23T00:34:44.466Z - 2021-11-23T00:44:36.398Z"}]},{"timestamp":"2021-11-23T00:44:36.398Z","author":{"name":"test user","type":"user","id":"2c9680837d4a3682017d4a375a280000","uri":"http://confluence.internal:8090/admin/users/viewuser.action?username=admin","avatarUri":""},"type":{"categoryI18nKey":"atlassian.audit.event.category.audit","category":"Auditing","actionI18nKey":"atlassian.audit.event.action.audit.search","action":"Audit Log search performed"},"affectedObjects":[],"changedValues":[],"source":"81.2.69.143","system":"http://confluence.internal:8090","method":"Browser","extraAttributes":[{"nameI18nKey":"atlassian.audit.event.attribute.id","name":"ID Range","value":"79 - 178"},{"nameI18nKey":"atlassian.audit.event.attribute.query","name":"Query","value":""},{"nameI18nKey":"atlassian.audit.event.attribute.results","name":"Results returned","value":"100"},{"nameI18nKey":"atlassian.audit.event.attribute.timestamp","name":"Timestamp Range","value":"2021-11-23T00:39:37.166Z - 2021-11-23T00:43:12.188Z"}]}],"pagingInfo":{"lastPage":false,"nextPageOffset":0,"nextPageCursor":"1637628276398,179","nextPageLink":"http://{{ hostname }}:{{ env "PORT" }}/rest/auditing/1.0/events?offset=0&limit=2&pageCursor=1637628276398,179","size":2}}
# Confluence Cloud
- path: /wiki/rest/api/audit
methods: ["GET"]
request_headers:
authorization: Basic dGVzdC51c2VyOmFiYzEyMw==
query_params:
startDate: "{startDate:.*}"
endDate: "{endDate:.*}"
start: "2"
limit: "2"
responses:
- status_code: 200
body: |-
{"results":[{"author":{"type":"user","displayName":"System","operations":null,"isExternalCollaborator":false,"accountType":"","publicName":"Unknown user","externalCollaborator":false},"remoteAddress":"81.2.69.143","creationDate":1637054756738,"summary":"User details updated","description":"","category":"Users and groups","sysAdmin":false,"superAdmin":false,"affectedObject":{"name":"John Doe (Deactivated)","objectType":"User"},"changedValues":[{"name":"Active","oldValue":"Yes","newValue":"No","hiddenOldValue":"","hiddenNewValue":""}],"associatedObjects":[]},{"author":{"type":"user","displayName":"System","operations":null,"isExternalCollaborator":false,"accountType":"","publicName":"Unknown user","externalCollaborator":false},"remoteAddress":"81.2.69.143","creationDate":1637054756666,"summary":"User deactivated","description":"","category":"Users and groups","sysAdmin":false,"superAdmin":false,"affectedObject":{"name":"","objectType":""},"changedValues":[],"associatedObjects":[]}],"start":2,"limit":2,"size":37,"_links":{"base":"https://test.atlassian.net/wiki","context":"/wiki","self":"https://test.atlassian.net/wiki/rest/api/audit"}}
- path: /wiki/rest/api/audit
methods: ["GET"]
request_headers:
authorization: Basic dGVzdC51c2VyOmFiYzEyMw==
query_params:
startDate: "{startDate:.*}"
endDate: "{endDate:.*}"
limit: "2"
start: "0"
responses:
- status_code: 200
body: |-
{"results":[{"author":{"type":"user","displayName":"John Jacobs","operations":null,"isExternalCollaborator":false,"username":"df856b17d84fcf010f11fcfcc6be4267","userKey":"26971c016361d1f6a3eb8f62461f1e4e","accountId":"df856b17d84fcf010f11fcfcc6be4267","accountType":"","publicName":"Unknown user","externalCollaborator":false},"remoteAddress":"81.2.69.143","creationDate":1643097111962,"summary":"Space logo uploaded","description":"","category":"Spaces","sysAdmin":false,"superAdmin":false,"affectedObject":{"name":"Service Catalogue","objectType":"Space"},"changedValues":[],"associatedObjects":[]},{"author":{"type":"user","displayName":"John Jacobs","operations":null,"isExternalCollaborator":false,"username":"df856b17d84fcf010f11fcfcc6be4267","userKey":"26971c016361d1f6a3eb8f62461f1e4e","accountId":"df856b17d84fcf010f11fcfcc6be4267","accountType":"","publicName":"Unknown user","externalCollaborator":false},"remoteAddress":"81.2.69.143","creationDate":1643097094621,"summary":"Space logo uploaded","description":"","category":"Spaces","sysAdmin":false,"superAdmin":false,"affectedObject":{"name":"Service Catalogue","objectType":"Space"},"changedValues":[],"associatedObjects":[]}],"start":0,"limit":2,"size":37,"_links":{"base":"https://test.atlassian.net/wiki","context":"/wiki","self":"https://test.atlassian.net/wiki/rest/api/audit"}}
5 changes: 5 additions & 0 deletions packages/atlassian_confluence/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.3.0"
changes:
- description: Add support for Atlassian Confluence Cloud
type: enhancement
link: https://github.com/elastic/integrations/pull/2715
- version: "1.2.0"
changes:
- description: Update to ECS 8.2
Expand Down
Loading