Skip to content

Add spamcheck to the package

Balasankar 'Balu' C requested to merge 6259-add-anti-spam-engine into master

What does this MR do?

Add spamcheck to the package.

Testing

  1. Install package from this MR (Pick the latest from https://dev.gitlab.org/gitlab/omnibus-gitlab/-/pipelines?page=1&scope=all&ref=6259-add-anti-spam-engine).

  2. Update /etc/gitlab/gitlab.rb to enable spamcheck

    spamcheck['enable'] = true
  3. Run sudo gitlab-ctl reconfigure

  4. Go to Admin > Settings > Reporting page in the GitLab instance, and update the external spamcheck settings as follows:

    1. Check the Enable Spam Check via external API endpoint checkbox
    2. Use grpc://localhost:8001 as the URL
    3. No need to fill any API key

    image

  5. Create a project in the GitLab instance.

  6. As a different user (who is not a member of the project, and isn't using a gitlab.com email address) create an issue in the project with the following text as subject and description: fifa xxx porn stream fifa xxx porn stream.

  7. See that issue creation has been blocked.

Related issues

Closes #6259 (closed)

Checklist

See Definition of done.

For anything in this list which will not be completed, please provide a reason in the MR discussion

Required

  • Merge Request Title, and Description are up to date, accurate, and descriptive
  • MR targeting the appropriate branch
  • MR has a green pipeline on GitLab.com
  • Pipeline is green on dev.gitlab.org if the change is touching anything besides documentation or internal cookbooks
  • trigger-package has a green pipeline running against latest commit

Expected (please provide an explanation if not completing)

Edited by DJ Mountney

Merge request reports