Sha256: 4f621a1f426ca4426d0dc5bf2bb25f3b69631216539862477c276f9c48282b3c

Contents?: true

Size: 861 Bytes

Versions: 6

Compression:

Stored size: 861 Bytes

Contents

import { translate as __ } from 'foremanReact/common/I18n';

export const OPENSCAP_REMEDIATION_MODAL_ID = 'openscapRemediationModal';
export const HOSTS_PATH = '/hosts';
export const FAIL_RULE_SEARCH = 'fails_xccdf_rule';

export const HOSTS_API_PATH = '/api/hosts';
export const HOSTS_API_REQUEST_KEY = 'HOSTS';
export const REPORT_LOG_REQUEST_KEY = 'ARF_REPORT_LOG';

export const JOB_INVOCATION_PATH = '/job_invocations';
export const JOB_INVOCATION_API_PATH = '/api/job_invocations';
export const JOB_INVOCATION_API_REQUEST_KEY = 'OPENSCAP_REX_JOB_INVOCATIONS';

export const SNIPPET_SH = 'urn:xccdf:fix:script:sh';
export const SNIPPET_ANSIBLE = 'urn:xccdf:fix:script:ansible';

export const WIZARD_TITLES = {
  snippetSelect: __('Select snippet'),
  reviewHosts: __('Review hosts'),
  reviewRemediation: __('Review remediation'),
  finish: __('Done'),
};

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
foreman_openscap-10.1.0 webpack/components/OpenscapRemediationWizard/constants.js
foreman_openscap-10.0.3 webpack/components/OpenscapRemediationWizard/constants.js
foreman_openscap-10.0.2 webpack/components/OpenscapRemediationWizard/constants.js
foreman_openscap-10.0.1 webpack/components/OpenscapRemediationWizard/constants.js
foreman_openscap-10.0.0 webpack/components/OpenscapRemediationWizard/constants.js
foreman_openscap-9.0.4 webpack/components/OpenscapRemediationWizard/constants.js