Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add OpenCTI Connector Charms #3

Merged
merged 99 commits into from
Jan 24, 2025
Merged
Changes from 1 commit
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
07170cf
add opencti rock
weiiwang01 Dec 2, 2024
11dbfc8
Add basic charm
weiiwang01 Dec 9, 2024
4f210cf
Fix linting issues
weiiwang01 Dec 9, 2024
1dbcebf
Update config description
weiiwang01 Dec 9, 2024
a948dcb
Fix linting issues
weiiwang01 Dec 9, 2024
e990cd3
Fix linting issues
weiiwang01 Dec 9, 2024
3632067
Fix linting issues
weiiwang01 Dec 9, 2024
22077d2
Fix linting issues
weiiwang01 Dec 9, 2024
676b9a0
Fix tests
weiiwang01 Dec 10, 2024
dc9ce01
Add license headers
weiiwang01 Dec 10, 2024
d1c0c05
Update runner
weiiwang01 Dec 10, 2024
38db050
Improved start-up callback
weiiwang01 Dec 10, 2024
8a1264b
Use github hosted runners
weiiwang01 Dec 10, 2024
0caebdc
Update rockcraft.yaml
weiiwang01 Dec 10, 2024
020665a
Debug
weiiwang01 Dec 10, 2024
336b84c
Remove unnecessary files
weiiwang01 Dec 10, 2024
702add8
Remove unnecessary files
weiiwang01 Dec 10, 2024
1f2b5c5
Fix charm.py
weiiwang01 Dec 11, 2024
403aa75
Remove debug info
weiiwang01 Dec 11, 2024
4dbc03a
Stop callback in callback itself
weiiwang01 Dec 11, 2024
e494868
clean up requirements.txt
weiiwang01 Dec 11, 2024
875e116
Update documents
weiiwang01 Dec 11, 2024
9387460
Update unit tests
weiiwang01 Dec 11, 2024
61e7daa
Apply suggestions from review comments
weiiwang01 Dec 12, 2024
89e1c49
work in progress
weiiwang01 Dec 16, 2024
c13a476
work in progress
weiiwang01 Dec 16, 2024
e5c0518
work in progress
weiiwang01 Dec 18, 2024
ab0eb50
Apply suggestions from review comments
weiiwang01 Dec 18, 2024
88ae9c1
Merge platform/graphql and platform/graphql-deps in rockcraft.yaml
weiiwang01 Dec 18, 2024
a781a43
Add missing stage-snaps and stage-packages
weiiwang01 Dec 18, 2024
92d83ef
Merge branch 'init-charm' into connectors
weiiwang01 Dec 19, 2024
83203ef
Fixing merging
weiiwang01 Dec 19, 2024
8063053
Add all 18 connectors
weiiwang01 Dec 19, 2024
baa8794
Add more tests
weiiwang01 Dec 19, 2024
09ddd12
Remove connectors with name too long
weiiwang01 Dec 19, 2024
54ad996
Fix linting issues
weiiwang01 Dec 19, 2024
c5bb243
Fix linting issues
weiiwang01 Dec 19, 2024
fc961a0
Fix linting issues
weiiwang01 Dec 19, 2024
0c77534
Fix rockcraft.yaml
weiiwang01 Dec 19, 2024
a8ab93c
Fix rockcraft.yaml
weiiwang01 Dec 19, 2024
ecbc738
Fix rockcraft.yaml
weiiwang01 Dec 19, 2024
8e15609
Fix rockcraft.yaml
weiiwang01 Dec 19, 2024
e8be78f
Fix rockcraft.yaml
weiiwang01 Dec 19, 2024
5676858
Update .trivyignore
weiiwang01 Dec 19, 2024
758231a
Apply suggestions from review comments
weiiwang01 Dec 20, 2024
06bce03
Cleanup secrets
weiiwang01 Dec 20, 2024
6d95cc3
Merge branch 'init-charm' into connectors
weiiwang01 Dec 20, 2024
f99ae13
Fix linting issues
weiiwang01 Dec 20, 2024
3fd81c1
Merge branch 'init-charm' into connectors
weiiwang01 Dec 20, 2024
f5e2459
Update .trivyignore
weiiwang01 Dec 20, 2024
d0fba99
Update connector generator
weiiwang01 Jan 6, 2025
d726821
Update .woke.yaml
weiiwang01 Jan 6, 2025
5a6e508
Update linting
weiiwang01 Jan 7, 2025
3de4d69
Update .trivyignore
weiiwang01 Jan 7, 2025
5eb4d6c
Revert "Update .trivyignore"
weiiwang01 Jan 7, 2025
b4ab9cd
Update copyright years
weiiwang01 Jan 7, 2025
6a3efdb
Merge branch 'init-charm' into connectors
weiiwang01 Jan 8, 2025
fc7a38d
Update connectors
weiiwang01 Jan 8, 2025
aeb5724
Fix linting
weiiwang01 Jan 8, 2025
41153f6
Fix unit tests
weiiwang01 Jan 8, 2025
980ba73
Update copyright
weiiwang01 Jan 8, 2025
d97b412
Update connectors
weiiwang01 Jan 8, 2025
397d070
Update connectors
weiiwang01 Jan 8, 2025
02b05d7
Test license
weiiwang01 Jan 8, 2025
de0619d
Test license
weiiwang01 Jan 8, 2025
7b19242
Revert "Test license"
weiiwang01 Jan 8, 2025
635b74e
Revert "Test license"
weiiwang01 Jan 8, 2025
2011fac
Update opencti_connector.py
weiiwang01 Jan 14, 2025
2baabee
Update publish_charm.yaml
weiiwang01 Jan 15, 2025
32c6c1d
Merge branch 'main' into connectors
weiiwang01 Jan 15, 2025
63ea921
Update publish_charm.yaml
weiiwang01 Jan 15, 2025
568084a
Update publish_charm.yaml
weiiwang01 Jan 15, 2025
b9d58ab
Update publish_charm.yaml
weiiwang01 Jan 15, 2025
630894c
Update publish_charm.yaml
weiiwang01 Jan 15, 2025
4cd5b01
Update publish_charm.yaml
weiiwang01 Jan 15, 2025
31bae7c
Update publish_charm.yaml
weiiwang01 Jan 15, 2025
dc90606
Update publish_charm.yaml
weiiwang01 Jan 15, 2025
65df516
Apply suggestions from review comments
weiiwang01 Jan 16, 2025
2e5d8a1
Apply suggestions from review comments
weiiwang01 Jan 20, 2025
69f953a
Apply suggestions from review comments
weiiwang01 Jan 20, 2025
8050ec7
Apply suggestions from review comments
weiiwang01 Jan 20, 2025
52caf97
Apply suggestions from review comments
weiiwang01 Jan 20, 2025
0f11219
Apply suggestions from review comments
weiiwang01 Jan 20, 2025
d06c74f
Add python-is-python3
weiiwang01 Jan 20, 2025
f9a26aa
Wait for container ready
weiiwang01 Jan 20, 2025
8903c1e
Change publish_charm.yaml fail-fast to false
weiiwang01 Jan 21, 2025
e3eb510
Update OpenCTI graphql API client
weiiwang01 Jan 21, 2025
c110a56
Use the new client
weiiwang01 Jan 21, 2025
a65d5c1
Fix unit test and linting
weiiwang01 Jan 22, 2025
f98e9ef
Fix linting
weiiwang01 Jan 22, 2025
f9bbd2e
Apply suggestions from reviews
weiiwang01 Jan 22, 2025
3862ed9
Fix proxy environment
weiiwang01 Jan 23, 2025
2902463
Apply suggestions from review comments
weiiwang01 Jan 24, 2025
bf51888
Add a workflow to check connectors in sync
weiiwang01 Jan 24, 2025
0f2d1ad
Update
weiiwang01 Jan 24, 2025
0e41229
Update
weiiwang01 Jan 24, 2025
ccd2f3d
Update workflow
weiiwang01 Jan 24, 2025
8f49061
Update workflow
weiiwang01 Jan 24, 2025
020e8ce
Apply suggestions from review comments
weiiwang01 Jan 24, 2025
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
Prev Previous commit
Next Next commit
Add license headers
  • Loading branch information
weiiwang01 committed Dec 10, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit dc9ce01827306ce30f1b255ada19983c73b99f1c
2 changes: 0 additions & 2 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Copyright 2024 Canonical Ltd.
# See LICENSE file for licensing details.
# This file configures Charmcraft.
# See https://juju.is/docs/sdk/charmcraft-config for guidance.

name: opencti
title: OpenCTI Charm
3 changes: 3 additions & 0 deletions opencti_rock/rockcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright 2024 Canonical Ltd.
# See LICENSE file for licensing details.

name: opencti
base: [email protected]
version: &version '6.4.1'

Unchanged files with check annotations Beta

# cross-spawn (package.json)
CVE-2024-21538

Check notice on line 2 in .trivyignore

GitHub Actions / integration-tests / Scan Image (ghcr.io-canonical-opencti-e2565dcd05b34b743d12b2bbec7d0017d834e35e-_6.4.1_amd64.tar)

CVE-2024-21538 not present anymore, can be safely removed.
# esbuild
CVE-2024-24790

Check notice on line 4 in .trivyignore

GitHub Actions / integration-tests / Scan Image (ghcr.io-canonical-opencti-e2565dcd05b34b743d12b2bbec7d0017d834e35e-_6.4.1_amd64.tar)

CVE-2024-24790 not present anymore, can be safely removed.
CVE-2023-45288

Check notice on line 5 in .trivyignore

GitHub Actions / integration-tests / Scan Image (ghcr.io-canonical-opencti-e2565dcd05b34b743d12b2bbec7d0017d834e35e-_6.4.1_amd64.tar)

CVE-2023-45288 not present anymore, can be safely removed.
CVE-2024-34156

Check notice on line 6 in .trivyignore

GitHub Actions / integration-tests / Scan Image (ghcr.io-canonical-opencti-e2565dcd05b34b743d12b2bbec7d0017d834e35e-_6.4.1_amd64.tar)

CVE-2024-34156 not present anymore, can be safely removed.