Skip to content

Link OWASP entities to related Slack channels #2019

@arkid15r

Description

@arkid15r

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

Currently, OWASP Nest does not track which Slack channels are associated with OWASP entities (Chapters, Projects, Committees).
To improve communication mapping, we should create a model that links OWASP entities to their related Slack conversations.

Describe the solution you'd like

  1. Model changes

    • Create a new model (e.g., EntitySlackConversation) with the following fields:

      • entity – Reference to the OWASP entity (object type + object ID using a GenericForeignKey)
      • conversation – ForeignKey to slack.Conversation
      • is_main_channel – Boolean field to indicate if the linked conversation is the main channel for that entity
      • is_reviewed – Boolean field to indicate whether the link has been verified/reviewed
    • Constraints:

      • An entity should not have duplicate links to the same Slack conversation (unique_together on entity + slack_conversation).
  2. Data sync changes

    • Create a new management command owasp_match_channels (following the pattern of github_match_users).

    • Functionality:

      • Populate EntitySlackConversation records for Chapters, Committees, and Projects based on available Slack data (it's currently OWASP Slack workspace only).
      • Initially set is_reviewed=False for newly created records.
      • Support bulk approval of channels via Django admin actions.

Are you going to work on implementing this?

  • Yes
  • No

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions