generated from canonical/is-charms-template-repo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcharmcraft.yaml
98 lines (88 loc) · 2.48 KB
/
charmcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# Copyright 2025 Canonical Ltd.
# See LICENSE file for licensing details.
name: opencti
title: OpenCTI Charm
summary: OpenCTI charm.
links:
documentation: https://github.com/canonical/opencti-operator/blob/main/README.md
issues: https://github.com/canonical/opencti-operator/issues
source: https://github.com/canonical/opencti-operator
contact: https://launchpad.net/~canonical-is-devops
description: |
A [Juju](https://juju.is/) [charm](https://juju.is/docs/olm/charmed-operators)
for deploying and managing the [OpenCTI](https://filigran.io/solutions/open-cti/)
open-source threat intelligence platform in your systems.
This charm simplifies the configuration and maintenance of OpenCTI across a
range of environments, organize your cyber threat intelligence to enhance
and disseminate actionable insights.
config:
options:
admin-user:
type: string
description: |
OpenCTI admin user email and password.
The content of this configuration should be a Juju user secret ID.
The Juju user secret should contain two fields, `email` and `password`,
where `email` is the admin user email, and `password` is the admin user password.
Use the following commands to create a Juju user secret for this configuration:
`juju add-secret opencti-admin-user [email protected] password#file=/path/to/password.txt`
`juju grant-secret opencti-admin-user opencti`
requires:
opensearch-client:
interface: opensearch_client
optional: false
limit: 1
redis:
interface: redis
optional: false
limit: 1
amqp:
interface: rabbitmq
optional: false
limit: 1
s3:
interface: s3
optional: false
limit: 1
ingress:
interface: ingress
optional: false
limit: 1
logging:
interface: loki_push_api
optional: true
provides:
metrics-endpoint:
interface: prometheus_scrape
optional: true
grafana-dashboard:
interface: grafana_dashboard
optional: true
peers:
opencti-peer:
interface: opencti_peer
type: charm
base: [email protected]
build-base: [email protected]
platforms:
amd64:
parts:
charm:
build-snaps:
- rustup
override-build: |
rustup default stable
craftctl default
build-packages:
- libffi-dev
- libssl-dev
- pkg-config
containers:
opencti:
resource: opencti-image
resources:
opencti-image:
type: oci-image
description: OCI image for the OpenCTI platform/worker.
assumes:
- juju >= 3.4