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

chore: analytics exporter #1767

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

katebygrace
Copy link
Contributor

@katebygrace katebygrace commented May 20, 2024

@katebygrace katebygrace force-pushed the katebygrace/exporter-migrate branch 5 times, most recently from dd73a02 to 22da28b Compare May 22, 2024 15:19
# Configuration paths in analytics-secure
SECURE_ROOT=${WORKSPACE}/analytics-secure/analytics-exporter
cd analytics-config/analytics-exporter
python3 secrets-manager.py -w -n analytics-secure/analytics-exporter/task-auth.json -v task-auth.json
Copy link
Contributor

@HassanJaveed84 HassanJaveed84 May 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at

stringParam('EXPORTER_CONFIG_FILENAME', 'default.yaml', 'Name of configuration file in analytics-secure/analytics-exporter.')
, it looks like we also need default.yaml in addition to task-auth.json

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, I'm forgetting this but where did we decide to keep the secrets-manager.py script ?
is it going to be part of analytics-tools repo ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed that the path here is analytics-secure/analytics-exporter/task-auth.json, shouldn't it be analytics-config ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes to analytics-tools repo. It should be in there already.

Task-auth has sensitive values, so i was going to pull it from secrets manager

@katebygrace katebygrace force-pushed the katebygrace/exporter-migrate branch 12 times, most recently from 871e9d8 to f7bd2e3 Compare June 24, 2024 14:33
JIRA:CLOUDSEC-12
@katebygrace katebygrace force-pushed the katebygrace/exporter-migrate branch from f7bd2e3 to 3886db5 Compare June 24, 2024 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants