lib/tasks/saas_gitlab_open_reg_check.rb
## Default method, subclasses must override this
Default method, subclasses must override this
Default method subclasses must override this
def run
      super
      url = _get_entity_name
      @entity = require_enrichment
      fingerprint = _get_entity_detail("fingerprint")
      if is_product?(fingerprint, "Gitlab")
        check_for_open_reg url
      else
        _log_error "Unable to fingerprint as Gitlab, failing"
      end 
    end
def run super url = _get_entity_name @entity = require_enrichment fingerprint = _get_entity_detail ( "fingerprint" ) if is_product? ( fingerprint , "Gitlab" ) check_for_open_reg url else _log_error "Unable to fingerprint as Gitlab, failing" end end
Default method, subclasses must override this
Default method subclasses must override this
# first, ensure we're enriched / fingerprinted # then check and make sure we're gitlab # now check for registration