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

API to list sites/orgs for which an audit/report/import type is enabled/disabled #211

Open
iuliag opened this issue Mar 14, 2024 · 1 comment
Labels
automation Request to automate an existing manual workflow enhancement New feature or request good first issue Good for newcomers seo SEO related issue

Comments

@iuliag
Copy link
Contributor

iuliag commented Mar 14, 2024

Is your feature request related to a problem? Please describe.
Currently in order to get a list of sites/orgs that have a specified audit/report/import type enabled, we need to manually inspect the config or auditConfig for the whole list of sites/orgs.
We cannot filter in DynamoDB after subfields of a map field, hence cannot get the list.
The alternative is to import the JSON from the get all sites/orgs response in Excel and transform it so that we have those flags as columns and can filter by them.

Describe the solution you'd like
API endpoint that returns the list of sites specifying audits/reports/imports enabled/disabled in CSV format.
It should be visible if an audit/report/import type has been disabled for a specific site or organization.

Asks that could have been solved by the feature
https://cq-dev.slack.com/archives/C05A45JBP9N/p1710871764208859

@iuliag iuliag added the enhancement New feature or request label Mar 14, 2024
@iuliag iuliag added the good first issue Good for newcomers label Mar 14, 2024
@solaris007
Copy link
Member

@iuliag the above depends on adobe/spacecat-audit-worker#174

Secondly, as the data layer model is governed by our access pattern, we should change the data model so that we can leverage indices/queries to satisfy the above feature cc @ekremney

@iuliag iuliag added automation Request to automate an existing manual workflow seo SEO related issue labels Mar 19, 2024
@alinarublea alinarublea assigned craighawki and unassigned craighawki Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automation Request to automate an existing manual workflow enhancement New feature or request good first issue Good for newcomers seo SEO related issue
Projects
None yet
Development

No branches or pull requests

4 participants