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

Allow project-specific configuration #83

Open
tarkatronic opened this issue Sep 26, 2023 · 0 comments
Open

Allow project-specific configuration #83

tarkatronic opened this issue Sep 26, 2023 · 0 comments
Labels
Data Sources Issues related to collection of security alerts enhancement New feature or request hacktoberfest
Milestone

Comments

@tarkatronic
Copy link
Contributor

🚀 Feature Request

Is your feature request related to a problem? Please describe.

Right now, all ownership information for projects is determined automatically based on the permissions for a GitHub repository. This works well for many projects, but some need to have more restrictive permissions because of wider shared project ownership. It should be possible to override the detected ownership on a case-by-case basis for projects like those.

This could also absolutely lead to configuring other elements of a project via the config file.

Describe the solution you'd like

It should be possible to define project sections in the config file, along the lines of:

[[project]]
name = "Vulnbot"
owners = [
  "team-a", "team-b", "team-c"
]
  [[source]]
  datasource = "github"
  name = "vulnbot"

This would be represented by a data structure like:

type ProjectSource struct {
    Datasource string
    Name string
}
type ProjectConfig struct {
    Name string
    Owners []string
    Source []ProjectSource
}

Describe alternatives you've considered

Ultimately it would be good to be able to configure what datasource the ownership information comes from, now that there are multiple datasources, but I think this will be necessary regardless as a per-project override.

@tarkatronic tarkatronic added enhancement New feature or request Data Sources Issues related to collection of security alerts labels Sep 26, 2023
@tarkatronic tarkatronic added this to the Version 1.0 milestone Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Data Sources Issues related to collection of security alerts enhancement New feature or request hacktoberfest
Projects
None yet
Development

No branches or pull requests

1 participant