Skip to content

DAST Scanner Profiles Form MVC

Dheeraj Joshi requested to merge djadmin-scanner-profile-form into master

Implements frontend for #235405 (closed)

/closes #235404 (closed)

What does this MR do?

This MR adds a basic form for creating DAST Scanner Profiles

  1. Adds a profile name field (required field)
  2. Adds a spider timeout (accepts number from 0 to 2880) (required field)
  3. Adds a target timeout (accepts number from 1 to 3600) (required field)
  4. Adds Save Profile btn which triggers GraphQL mutation
  5. Adds Cancel btn which displays confirmation modal to discard changes

Prior work

Follow-up work

Changelog

This MR doesn't require a changelog since the feature / button through which user can visit this page is behind a feature flag security_on_demand_scans_scanner_profiles introduced in !40819 (merged)

Screenshots

Description Screenshot
Initial Form with disabled submit button) image
Valid form image
Invalid form and validations image
Discard state after clicking on cancel button image
Errors image

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Dheeraj Joshi

Merge request reports