From 959b2d7c440fd602158d5ef647dea8b9a1810e3f Mon Sep 17 00:00:00 2001 From: Gabriel Becker Date: Wed, 27 Oct 2021 14:23:29 +0200 Subject: [PATCH 1/4] Rename translations folder to i18n. --- share/scap-workbench/{translations => i18n}/README | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename share/scap-workbench/{translations => i18n}/README (100%) diff --git a/share/scap-workbench/translations/README b/share/scap-workbench/i18n/README similarity index 100% rename from share/scap-workbench/translations/README rename to share/scap-workbench/i18n/README From 8cf85f2e55780870bf825241f080b54b6227eade Mon Sep 17 00:00:00 2001 From: Gabriel Becker Date: Wed, 27 Oct 2021 14:28:12 +0200 Subject: [PATCH 2/4] Fix language generation and loading. --- .github/workflows/build.yaml | 4 ++-- CMakeLists.txt | 8 ++++++-- src/Application.cpp | 7 ++++--- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 2268522b..b52c5d16 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -12,7 +12,7 @@ jobs: - name: Install Deps uses: mstksg/get-package@master with: - apt-get: build-essential openssh-client libopenscap-dev libqt5xmlpatterns5-dev ssh-askpass asciidoc libpolkit-agent-1-0 + apt-get: build-essential openssh-client libopenscap-dev libqt5xmlpatterns5-dev ssh-askpass asciidoc libpolkit-agent-1-0 qttools5-dev - name: Checkout uses: actions/checkout@v2 - name: Build @@ -30,7 +30,7 @@ jobs: image: fedora:33 steps: - name: Install Deps - run: dnf install -y cmake gcc-c++ openssh-clients util-linux openscap-devel qt5-qtbase-devel qt5-qtxmlpatterns-devel openssh-askpass asciidoc polkit-libs + run: dnf install -y cmake gcc-c++ openssh-clients util-linux openscap-devel qt5-qtbase-devel qt5-qtxmlpatterns-devel openssh-askpass asciidoc polkit-libs qt5-linguist - name: Checkout uses: actions/checkout@v2 - name: Build diff --git a/CMakeLists.txt b/CMakeLists.txt index 77bb3ae9..6c7240f9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,6 +20,7 @@ include(GNUInstallDirs) set(CMAKE_AUTOMOC ON) find_package(Qt5Widgets REQUIRED) find_package(Qt5XmlPatterns REQUIRED) +find_package(Qt5LinguistTools REQUIRED) add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0) @@ -159,7 +160,7 @@ set(scap_workbench_LANGUAGES) set(scap_workbench_LANGUAGE_TS_FILES) foreach(LANGUAGE ${scap_workbench_LANGUAGES}) - set(TS_FILE "${CMAKE_CURRENT_SOURCE_DIR}/i18n/${LANGUAGE}.ts") + set(TS_FILE "${CMAKE_CURRENT_SOURCE_DIR}/i18n/scap-workbench.${LANGUAGE}.ts") set(scap_workbench_LANGUAGE_TS_FILES ${scap_workbench_LANGUAGE_TS_FILES} ${TS_FILE}) set_source_files_properties(${TS_FILE} PROPERTIES OUTPUT_LOCATION "${CMAKE_CURRENT_BINARY_DIR}/i18n") endforeach() @@ -183,7 +184,7 @@ add_executable("scap-workbench" MACOSX_BUNDLE ${scap_workbench_HEADERS_MOC} ${scap_workbench_UIS_HEADERS} - ${scap_workbench_LANGUAGE_TS_FILES} + ${qm_files} ) set_target_properties("scap-workbench" PROPERTIES MACOSX_BUNDLE_INFO_PLIST MacOSXBundleInfo.plist.in) @@ -300,6 +301,9 @@ install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/COPYING" install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/README.md" DESTINATION ${CMAKE_INSTALL_DOCDIR}) +install(DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/i18n" + DESTINATION "${CMAKE_INSTALL_DATADIR}/scap-workbench") + if (CPPCHECK_EXECUTABLE) set(CPPCHECK_INCL_PARAMS -I /usr/include) foreach(DIR ${SCAP_WORKBENCH_INCLUDE_DIRS}) diff --git a/src/Application.cpp b/src/Application.cpp index e5d822a0..72df8c36 100644 --- a/src/Application.cpp +++ b/src/Application.cpp @@ -43,13 +43,14 @@ Application::Application(int& argc, char** argv): setApplicationDisplayName("SCAP Workbench"); setApplicationVersion(SCAP_WORKBENCH_VERSION); - mMainWindow = new MainWindow(); - #if (QT_VERSION >= QT_VERSION_CHECK(4, 8, 0)) - mTranslator.load(QLocale(), "scap-workbench", "", getShareTranslationDirectory().absolutePath()); + mTranslator.load(QLocale(), "scap-workbench", ".", getShareTranslationDirectory().absolutePath()); installTranslator(&mTranslator); #endif + // create the main window after loading any translations so it loads properly + mMainWindow = new MainWindow(); + const QIcon& icon = getApplicationIcon(); setWindowIcon(icon); mMainWindow->setWindowIcon(icon); From 6080a6964124816a236bdea500e584b3ed3b08d3 Mon Sep 17 00:00:00 2001 From: Gabriel Becker Date: Wed, 27 Oct 2021 14:30:53 +0200 Subject: [PATCH 3/4] Add languages to be translated. --- CMakeLists.txt | 10 +- i18n/scap-workbench.cs.ts | 1517 ++++++++++++++++++++++++++++++++++ i18n/scap-workbench.es.ts | 1517 ++++++++++++++++++++++++++++++++++ i18n/scap-workbench.fi.ts | 1517 ++++++++++++++++++++++++++++++++++ i18n/scap-workbench.fr.ts | 1517 ++++++++++++++++++++++++++++++++++ i18n/scap-workbench.it.ts | 1517 ++++++++++++++++++++++++++++++++++ i18n/scap-workbench.pt_BR.ts | 1517 ++++++++++++++++++++++++++++++++++ 7 files changed, 9110 insertions(+), 2 deletions(-) create mode 100644 i18n/scap-workbench.cs.ts create mode 100644 i18n/scap-workbench.es.ts create mode 100644 i18n/scap-workbench.fi.ts create mode 100644 i18n/scap-workbench.fr.ts create mode 100644 i18n/scap-workbench.it.ts create mode 100644 i18n/scap-workbench.pt_BR.ts diff --git a/CMakeLists.txt b/CMakeLists.txt index 6c7240f9..448304e0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -155,8 +155,14 @@ endif() include_directories(${SCAP_WORKBENCH_INCLUDE_DIRS}) # Which languages we want generated -#set(scap_workbench_LANGUAGES de_DE fr_FR) -set(scap_workbench_LANGUAGES) +set(scap_workbench_LANGUAGES + cs # Czech + es # Spanish + fr # French + fi # Finnish + it # Italian + pt_BR # Portuguese Brazilian + ) set(scap_workbench_LANGUAGE_TS_FILES) foreach(LANGUAGE ${scap_workbench_LANGUAGES}) diff --git a/i18n/scap-workbench.cs.ts b/i18n/scap-workbench.cs.ts new file mode 100644 index 00000000..8aee0a81 --- /dev/null +++ b/i18n/scap-workbench.cs.ts @@ -0,0 +1,1517 @@ + + + + + CommandLineArgsDialog + + + Command-line arguments for OpenSCAP evaluation + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'monospace'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> + + + + + Copy to clipboard + + + + + Close + + + + + DiagnosticsDialog + + + Diagnostics + + + + + The messages are displayed in the order they were reported (top-down). + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'monospace'; font-size:11pt; font-weight:400; font-style:normal;"> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;"><br /></p></body></html> + + + + + Clear Messages + + + + + Copy to clipboard + + + + + Close + + + + + MainWindow + + + SCAP Workbench + + + + + &Open Other Content + + + + + &Quit + + + + + Ctrl+Q + + + + + About SCAP Workbench + + + + + User Manual + + + + + Into a &directory + + + + + As &RPM + + + + + About Qt + + + + + Show Diagnostics + + + + + Save Customization O&nly + + + + + Open content from &SCAP Security Guide + + + + + Open &Customization File + + + + + &Reload Opened Content + + + + + + Reload Opened Content + + + + + Duplicates the current profile, and opens a window to customize it. + + + + + Customize + + + + + Ctrl+T + + + + + Profile + + + + + Checklist + + + + + Target + + + + + Customization + + + + + Determines which XCCDF profile will be used for evaluation. Listed profiles come from the input content and customization file. + + + + + TItle of the XCCDF Benchmark + + + + + Title + + + + + Allows to select, load or reset a customization. Customization is called XCCDF Tailoring in the specification. + + + + + Selecting the Local Machine target will cause workbench to evaluate the same machine that it is running on. + + + + + Local Machine + + + + + The Remote Machine target enables workbench to scan any remote machine that can be accessed using SSH. + + + + + Remote Machine (over SSH) + + + + + Rules + + + + + Expand All + + + + + %p% (%v results, %m rules selected) + + + + + Show Guide + + + + + Generate remediation that contains fix for every single rule the in the profile. Note that not every rule implements a fix. + + + + + Generate remediation + + + + + When checked no action is performed after pressing Scan, a dialog with the used command-line arguments is shown instead. + + + + + Dry run + + + + + <html><head/><body><p>Allow download of&nbsp;remote OVAL content referenced from&nbsp;XCCDF by&nbsp;check-content-ref/@href.</p></body></html> + + + + + Fetch remote resources + + + + + <html><head/><body><p>Attempts to automatically correct issues identified by the scan.</p><p>Note: Automated remediation may impact system functionality.</p></body></html> + + + + + + Remediate + + + + + Starts the evaluation. + + + + + &Scan + + + + + Cancels the evaluation. Partial results may be lost. + + + + + Cancel + + + + + Causes workbench to forget all collected evaluation results and prepares it for another scan. + + + + + &Clear + + + + + &File + + + + + Save &All + + + + + &Help + + + + + ProcessProgressDialog + + + Process Progress + + + + + ProfilePropertiesDockWidget + + + Profile Properties + + + + + Description + + + + + Title + + + + + ID + + + + + QObject + + + Failed to open file in web browser! + + + + + Please check that your default browser is set to something sensible. As a workaround, please open<br/><a href="%1">%1</a><br/>manually. + + + + + Undo + + + + + Redo + + + + + Customizing "%1" + + + + + Undo History + + + + + + Select All + + + + + + Deselect All + + + + + Search + + + + + Are you sure you want to discard all changes performed in this tailoring window and delete the profile? + + + + + Delete profile + + + + + Don't delete profile + + + + + Are you sure you want to discard all changes performed in this tailoring window? + + + + + Discard + + + + + Don't discard + + + + + Showing match %1 out of %2 total found. + + + + + No matches found. + + + + + Select Group "%1" + + + + + Deselect Group "%1" + + + + + profile title to "%1" + + + + + profile description to "%1" + + + + + Select Rule "%1" + + + + + Deselect Rule "%1" + + + + + Set Value '%1' to '%2' + + + + + <no item selected> + + + + + xccdf:Benchmark + + + + + xccdf:Group + + + + + xccdf:Rule + + + + + xccdf:Value + + + + + (number) + + + + + (string) + + + + + (bool) + + + + + Exception was thrown while evaluating! Details follow: +%1 + + + + + + Select target directory + + + + + Saving SCAP content as RPM... + + + + + This rule is currently being processed. + + + + + The target system or system component satisfied all the conditions of this rule. + + + + + The target system or system component did not satisfy every condition of this rule. + + + + + The checking engine could not complete the evaluation, therefore the status of the target's compliance with the rule is not certain. This could happen, for example, if a testing tool was run with insufficient privileges and could not gather all of the necessary information. + + + + + The testing tool encountered some problem and the result is unknown. + + + + + The rule was not applicable to the target machine of the test. For example, the rule might have been specific to a different version of the target OS, or it might have been a test against a platform feature that was not installed. + + + + + The rule was not evaluated by the checking engine. There were no check elements inside the rule or none of the check systems of the check elements were supported. + + + + + The rule was not selected in the benchmark. + + + + + The rule was checked, but the output from the checking engine is simply information for auditors or administrators; it is not a compliance category. + + + + + The rule had failed, but was then fixed (most probably using remediation). + + + + + Save Report (HTML) + + + + + %1-xccdf.report.html + + + + + HTML Report (*.html) + + + + + Save as XCCDF Results + + + + + %1-xccdf.results.xml + + + + + XCCDF Results (*.xml) + + + + + Save as Result DataStream / ARF + + + + + %1-arf.xml + + + + + Result DataStream / ARF (*.xml) + + + + + bash script (*.%1) + + + + + ansible playbook (*.%1) + + + + + Save remediation as a bash script + + + + + Save remediation as an ansible playbook + + + + + Save remediation as a puppet manifest + + + + + puppet manifest (*.%1) + + + + + + + SCAP Workbench + + + + + Success saving file: %1 + + + + + Error generating remediation '%2': %1 + + + + + + + Starting process '%1' + + + + + + + Cancel was requested! Sending terminate signal to the process... + + + + + + + Process had to be killed! Didn't terminate after %1 msec of waiting. + + + + + + Checking if oscap is available on remote machine... + + + + + Failed to locate oscap on remote machine. Please, check that openscap-scanner is installed on the remote machine. + + + + + Querying capabilities on remote machine... + + + + + Failed to query capabilities of oscap on remote machine. +Diagnostic info: +%1 + + + + + Copying input data to remote target... + + + + + Starting the remote process... + + + + + Failed to start ssh. Perhaps the executable was not found? + + + + + Processing on the remote machine... + + + + + Cancellation was requested! Terminating... + + + + + The oscap process didn't terminate in time, it will be killed instead. + + + + + XCCDF results + + + + + XCCDF report (HTML) + + + + + Result DataStream (ARF) + + + + + Cleaning up... + + + + + input file + + + + + tailoring file + + + + + XCCDF result file + + + + + XCCDF report file + + + + + Result DataStream file + + + + + Temporary Working Directory + + + + + + Processing has been finished! + + + + + Establishing a connection to remote target... + + + + + Connection established. + + + + + Can't connect to remote machine! Exception was: %1 + + + + + Failed to copy '%1' over to the remote machine! Diagnostic info: +%2 + + + + + Failed to create a valid temporary file to copy input data to! Diagnostic info: %1 + + + + + Failed to create a valid temporary dir. Diagnostic info: %1 + + + + + Failed to copy back %1. You will not be able to save this data! Diagnostic info: %2 + + + + + Failed to remove remote file %1. Diagnostic info: %2 + + + + + Failed to remove remote directory %1. Diagnostic info: %2 + + + + + Failed to query capabilities of oscap on local machine. +Diagnostic info: +%1 + + + + + Querying capabilities... + + + + + Creating temporary files... + + + + + Starting the oscap process... + + + + + Failed to start local scanning process '%1'. Perhaps the executable was not found? + + + + + Processing... + + + + + Cancellation was requested! Terminating scanning... + + + + + There was an error during evaluation! Exit code of the 'oscap' process was 1. + + + + + The oscap tool has finished. Reading results... + + + + + Scanning cancelled! + + + + + oscap tool doesn't support basic features required for workbench. Please make sure you have openscap 0.8.0 or newer. oscap version was detected as '%1'. + + + + + oscap tool doesn't support online remediation. Please make sure you have openscap 0.9.5 or newer if you want to use online remediation. oscap version was detected as '%1'. + + + + + oscap tool doesn't support taking ARFs (result datastreams) as input. Please make sure you have openscap <NOT IMPLEMENTED YET> or newer if you want to use offline remediation. oscap version was detected as '%1'. + + + + + oscap tool doesn't support source datastreams as input. Please make sure you have openscap 0.9.0 or newer if you want to use source datastreams. oscap version was detected as '%1'. + + + + + oscap tool doesn't support XCCDF tailoring but the session uses tailoring. Please make sure you have openscap 0.9.12 or newer on the target machine if you want to use tailoring features of SCAP Workbench. oscap version was detected as '%1'. + + + + + Error when parsing scan progress output from stdout of the 'oscap' process. ':' encountered while not reading rule ID, newline and/or rule result are missing! Read buffer is '%1'. + + + + + Error when parsing scan progress output from stdout of the 'oscap' process. Newline encountered while reading rule ID, rule result and/or ':' are missing! Read buffer is '%1'. + + + + + Select customization file... + + + + + None selected + + + + + (unsaved changes) + + + + + SCAP Workbench was compiled without local scanning support + + + + + SCAP Workbench was compiled without remote scanning support + + + + + SCAP Workbench was compiled without local and remote scanning support. Only tailoring is possible. + + + + + %1 - SCAP Workbench + + + + + Opened file '%1'. + + + + + Error while opening file. + + + + + Open Source DataStream or XCCDF file + + + + + Source DataStream, XCCDF file or SCAP RPM (*.xml *.xml.bz2 *.rpm);;All files (*) + + + + + Scan with no rules selected? + + + + + Chosen profile does not have any rules selected. Are you sure you want to evaluate with no rules selected? + + + + + Can't get XCCDF policy from the session. Very likely it failed to load. OpenSCAP error message: +%1 + + + + + There was a problem setting up the scanner. + + + + + Cancel scan in progress? + + + + + A scan is in progress. Are you sure you want to terminate it and close the application? + + + + + Unsaved customization changes + + + + + There are unsaved customization changes, closing SCAP Workbench will destroy them. Are you sure you want to close and discard the changes? + + + + + Closing the main window... + + + + + Failed to close file. + + + + + (default) + + + + + Error while refreshing available XCCDF profiles. + + + + + + Unsaved customization changes! + + + + + Are you sure you want to reset customization and wipe all unsaved changes? + + + + + Open customization (XCCDF tailoring file) + + + + + XCCDF tailoring file (*.xml *.xml.bz2) + + + + + Are you sure you want to load a customization file and wipe all unsaved changes? + + + + + Can't set scanning session to use customization '%1' (from combobox item data). As item QVariant data was QString::Null() '%2', '%3' or '%4' was expected as item text. + + + + + Failed to set up tailoring. + + + + + Failed to select XCCDF profile. + + + + + Failed to customize currently selected profile. + + + + + Failed to retrieve XCCDF policy when editing profile. + + + + + Can't edit a profile that isn't a tailoring profile!This is most likely a bug, please report it! + + + + + Save Customization As + + + + + XCCDF Tailoring file (*.xml) + + + + + Failed to save tailoring file. + + + + + Failed to save opened files. + + + + + The following file was modified after opening: %1 + + + + + Do you wish to reload it, losing any unsaved tailoring changes? + + + + + Reload + + + + + Ignore + + + + + <p>This application is called SCAP Workbench, the homepage can be found at <a href='https://www.open-scap.org/tools/scap-workbench/'>https://www.open-scap.org/tools/scap-workbench/</a></p> + + + + + Close currently opened file? + + + + + Opened file '%1' has to be closed before opening another file. Closing this file will lose any unsaved tailoring. + +Do you want to proceed? + + + + + unknown + + + + + info + + + + + warning + + + + + except + + + + + error + + + + + Close SCAP Workbench + + + + + username@hostname [sudo] + + + + + RemoteMachineComboBox + + + RemoteMachineComboBox + + + + + User and host + + + + + Port + + + + + Check if the remote user doesn't have root privileges, but they can perform administrative tasks using paswordless sudo. + + + + + user is sudoer + + + + + List of recent hosts. + + + + + ResultViewer + + + Saves results of this evaluation. (Ctrl+S) + + + + + Save Results + + + + + Ctrl+S + + + + + Generate remediation that contains fix for every rule that failed in the scan. However, note that not every rule implements a fix. + + + + + Generate remediation + + + + + Opens the HTML report in the default browser of your desktop environment + + + + + &Show Report + + + + + RuleResultItem + + + Show/Hide description of this XCCDF rule + + + + + Title + + + + + RuleResultsTree + + + Form + + + + + SSGIntegrationDialog + + + Open SCAP Security Guide + + + + + <html><head/><body><p>SCAP Security Guide was found installed on this machine.</p><p>The content provided by SCAP Security Guide allows you to quickly scan your machine according to well stablished security baselines.</p><p>Also, these guides are a good starting point if you'd like to customize a policy or profile for your own needs.</p><p>Select one of the default guides to load, or select Other SCAP Content option to load your own content.</p></body></html> + + + + + Select content to load: + + + + + Dismiss + + + + + Load Content + + + + + SaveAsRPMDialog + + + Save as RPM + + + + + Package Name + + + + + Version + + + + + 1 + + + + + Release + + + + + Summary + + + + + License + + + + + Unspecified + + + + + Public Domain + + + + + GPLv2+ + + + + + CC-BY-SA + + + + + TailorProfileDialog + + + Customize Profile + + + + + <html><head/><body><p>Choose the ID of your profile.</p><p><span style=" font-weight:600;">Warning</span>: Choose it wisely. It cannot be changed later and may be required if you choose to use command line tools or various integrations of OpenSCAP.</p></body></html> + + + + + <html><head/><body><p>The ID has to have a format of &quot;xccdf_<span style=" font-weight:600;">{reverse DNS}</span>_profile_<span style=" font-weight:600;">{rest of the ID}</span>. <br/>For example &quot;xccdf_<span style=" font-weight:600;">org.mycorporation</span>_profile_<span style=" font-weight:600;">server</span>&quot;.</p></body></html> + + + + + New Profile ID + + + + + TailoringWindow + + + Customizing '%1' + + + + + Title + + + + + Closes this window, discards any changes and deletes the profile that was being customized. + + + + + Delete profile + + + + + Closes this window and discards all changes. + + + + + Cancel + + + + + Confirms customization, returns to the main window. + + + + + OK + + + + + Toolbar + + + + + XCCDFItemPropertiesDockWidget + + + Selected Item Properties + + + + + Title + + + + + Type + + + + + Security Identifiers + + + + + Depends on Values + + + + + Modify Value + + + + + (string) + + + + + Only takes effect when this profile is used for evaluation. + + + + + ID + + + + + Description + + + + + Affects Rules + + + + diff --git a/i18n/scap-workbench.es.ts b/i18n/scap-workbench.es.ts new file mode 100644 index 00000000..5b5758fc --- /dev/null +++ b/i18n/scap-workbench.es.ts @@ -0,0 +1,1517 @@ + + + + + CommandLineArgsDialog + + + Command-line arguments for OpenSCAP evaluation + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'monospace'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> + + + + + Copy to clipboard + + + + + Close + + + + + DiagnosticsDialog + + + Diagnostics + + + + + The messages are displayed in the order they were reported (top-down). + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'monospace'; font-size:11pt; font-weight:400; font-style:normal;"> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;"><br /></p></body></html> + + + + + Clear Messages + + + + + Copy to clipboard + + + + + Close + + + + + MainWindow + + + SCAP Workbench + + + + + &Open Other Content + + + + + &Quit + + + + + Ctrl+Q + + + + + About SCAP Workbench + + + + + User Manual + + + + + Into a &directory + + + + + As &RPM + + + + + About Qt + + + + + Show Diagnostics + + + + + Save Customization O&nly + + + + + Open content from &SCAP Security Guide + + + + + Open &Customization File + + + + + &Reload Opened Content + + + + + + Reload Opened Content + + + + + Duplicates the current profile, and opens a window to customize it. + + + + + Customize + + + + + Ctrl+T + + + + + Profile + + + + + Checklist + + + + + Target + + + + + Customization + + + + + Determines which XCCDF profile will be used for evaluation. Listed profiles come from the input content and customization file. + + + + + TItle of the XCCDF Benchmark + + + + + Title + + + + + Allows to select, load or reset a customization. Customization is called XCCDF Tailoring in the specification. + + + + + Selecting the Local Machine target will cause workbench to evaluate the same machine that it is running on. + + + + + Local Machine + + + + + The Remote Machine target enables workbench to scan any remote machine that can be accessed using SSH. + + + + + Remote Machine (over SSH) + + + + + Rules + + + + + Expand All + + + + + %p% (%v results, %m rules selected) + + + + + Show Guide + + + + + Generate remediation that contains fix for every single rule the in the profile. Note that not every rule implements a fix. + + + + + Generate remediation + + + + + When checked no action is performed after pressing Scan, a dialog with the used command-line arguments is shown instead. + + + + + Dry run + + + + + <html><head/><body><p>Allow download of&nbsp;remote OVAL content referenced from&nbsp;XCCDF by&nbsp;check-content-ref/@href.</p></body></html> + + + + + Fetch remote resources + + + + + <html><head/><body><p>Attempts to automatically correct issues identified by the scan.</p><p>Note: Automated remediation may impact system functionality.</p></body></html> + + + + + + Remediate + + + + + Starts the evaluation. + + + + + &Scan + + + + + Cancels the evaluation. Partial results may be lost. + + + + + Cancel + + + + + Causes workbench to forget all collected evaluation results and prepares it for another scan. + + + + + &Clear + + + + + &File + + + + + Save &All + + + + + &Help + + + + + ProcessProgressDialog + + + Process Progress + + + + + ProfilePropertiesDockWidget + + + Profile Properties + + + + + Description + + + + + Title + + + + + ID + + + + + QObject + + + Failed to open file in web browser! + + + + + Please check that your default browser is set to something sensible. As a workaround, please open<br/><a href="%1">%1</a><br/>manually. + + + + + Undo + + + + + Redo + + + + + Customizing "%1" + + + + + Undo History + + + + + + Select All + + + + + + Deselect All + + + + + Search + + + + + Are you sure you want to discard all changes performed in this tailoring window and delete the profile? + + + + + Delete profile + + + + + Don't delete profile + + + + + Are you sure you want to discard all changes performed in this tailoring window? + + + + + Discard + + + + + Don't discard + + + + + Showing match %1 out of %2 total found. + + + + + No matches found. + + + + + Select Group "%1" + + + + + Deselect Group "%1" + + + + + profile title to "%1" + + + + + profile description to "%1" + + + + + Select Rule "%1" + + + + + Deselect Rule "%1" + + + + + Set Value '%1' to '%2' + + + + + <no item selected> + + + + + xccdf:Benchmark + + + + + xccdf:Group + + + + + xccdf:Rule + + + + + xccdf:Value + + + + + (number) + + + + + (string) + + + + + (bool) + + + + + Exception was thrown while evaluating! Details follow: +%1 + + + + + + Select target directory + + + + + Saving SCAP content as RPM... + + + + + This rule is currently being processed. + + + + + The target system or system component satisfied all the conditions of this rule. + + + + + The target system or system component did not satisfy every condition of this rule. + + + + + The checking engine could not complete the evaluation, therefore the status of the target's compliance with the rule is not certain. This could happen, for example, if a testing tool was run with insufficient privileges and could not gather all of the necessary information. + + + + + The testing tool encountered some problem and the result is unknown. + + + + + The rule was not applicable to the target machine of the test. For example, the rule might have been specific to a different version of the target OS, or it might have been a test against a platform feature that was not installed. + + + + + The rule was not evaluated by the checking engine. There were no check elements inside the rule or none of the check systems of the check elements were supported. + + + + + The rule was not selected in the benchmark. + + + + + The rule was checked, but the output from the checking engine is simply information for auditors or administrators; it is not a compliance category. + + + + + The rule had failed, but was then fixed (most probably using remediation). + + + + + Save Report (HTML) + + + + + %1-xccdf.report.html + + + + + HTML Report (*.html) + + + + + Save as XCCDF Results + + + + + %1-xccdf.results.xml + + + + + XCCDF Results (*.xml) + + + + + Save as Result DataStream / ARF + + + + + %1-arf.xml + + + + + Result DataStream / ARF (*.xml) + + + + + bash script (*.%1) + + + + + ansible playbook (*.%1) + + + + + Save remediation as a bash script + + + + + Save remediation as an ansible playbook + + + + + Save remediation as a puppet manifest + + + + + puppet manifest (*.%1) + + + + + + + SCAP Workbench + + + + + Success saving file: %1 + + + + + Error generating remediation '%2': %1 + + + + + + + Starting process '%1' + + + + + + + Cancel was requested! Sending terminate signal to the process... + + + + + + + Process had to be killed! Didn't terminate after %1 msec of waiting. + + + + + + Checking if oscap is available on remote machine... + + + + + Failed to locate oscap on remote machine. Please, check that openscap-scanner is installed on the remote machine. + + + + + Querying capabilities on remote machine... + + + + + Failed to query capabilities of oscap on remote machine. +Diagnostic info: +%1 + + + + + Copying input data to remote target... + + + + + Starting the remote process... + + + + + Failed to start ssh. Perhaps the executable was not found? + + + + + Processing on the remote machine... + + + + + Cancellation was requested! Terminating... + + + + + The oscap process didn't terminate in time, it will be killed instead. + + + + + XCCDF results + + + + + XCCDF report (HTML) + + + + + Result DataStream (ARF) + + + + + Cleaning up... + + + + + input file + + + + + tailoring file + + + + + XCCDF result file + + + + + XCCDF report file + + + + + Result DataStream file + + + + + Temporary Working Directory + + + + + + Processing has been finished! + + + + + Establishing a connection to remote target... + + + + + Connection established. + + + + + Can't connect to remote machine! Exception was: %1 + + + + + Failed to copy '%1' over to the remote machine! Diagnostic info: +%2 + + + + + Failed to create a valid temporary file to copy input data to! Diagnostic info: %1 + + + + + Failed to create a valid temporary dir. Diagnostic info: %1 + + + + + Failed to copy back %1. You will not be able to save this data! Diagnostic info: %2 + + + + + Failed to remove remote file %1. Diagnostic info: %2 + + + + + Failed to remove remote directory %1. Diagnostic info: %2 + + + + + Failed to query capabilities of oscap on local machine. +Diagnostic info: +%1 + + + + + Querying capabilities... + + + + + Creating temporary files... + + + + + Starting the oscap process... + + + + + Failed to start local scanning process '%1'. Perhaps the executable was not found? + + + + + Processing... + + + + + Cancellation was requested! Terminating scanning... + + + + + There was an error during evaluation! Exit code of the 'oscap' process was 1. + + + + + The oscap tool has finished. Reading results... + + + + + Scanning cancelled! + + + + + oscap tool doesn't support basic features required for workbench. Please make sure you have openscap 0.8.0 or newer. oscap version was detected as '%1'. + + + + + oscap tool doesn't support online remediation. Please make sure you have openscap 0.9.5 or newer if you want to use online remediation. oscap version was detected as '%1'. + + + + + oscap tool doesn't support taking ARFs (result datastreams) as input. Please make sure you have openscap <NOT IMPLEMENTED YET> or newer if you want to use offline remediation. oscap version was detected as '%1'. + + + + + oscap tool doesn't support source datastreams as input. Please make sure you have openscap 0.9.0 or newer if you want to use source datastreams. oscap version was detected as '%1'. + + + + + oscap tool doesn't support XCCDF tailoring but the session uses tailoring. Please make sure you have openscap 0.9.12 or newer on the target machine if you want to use tailoring features of SCAP Workbench. oscap version was detected as '%1'. + + + + + Error when parsing scan progress output from stdout of the 'oscap' process. ':' encountered while not reading rule ID, newline and/or rule result are missing! Read buffer is '%1'. + + + + + Error when parsing scan progress output from stdout of the 'oscap' process. Newline encountered while reading rule ID, rule result and/or ':' are missing! Read buffer is '%1'. + + + + + Select customization file... + + + + + None selected + + + + + (unsaved changes) + + + + + SCAP Workbench was compiled without local scanning support + + + + + SCAP Workbench was compiled without remote scanning support + + + + + SCAP Workbench was compiled without local and remote scanning support. Only tailoring is possible. + + + + + %1 - SCAP Workbench + + + + + Opened file '%1'. + + + + + Error while opening file. + + + + + Open Source DataStream or XCCDF file + + + + + Source DataStream, XCCDF file or SCAP RPM (*.xml *.xml.bz2 *.rpm);;All files (*) + + + + + Scan with no rules selected? + + + + + Chosen profile does not have any rules selected. Are you sure you want to evaluate with no rules selected? + + + + + Can't get XCCDF policy from the session. Very likely it failed to load. OpenSCAP error message: +%1 + + + + + There was a problem setting up the scanner. + + + + + Cancel scan in progress? + + + + + A scan is in progress. Are you sure you want to terminate it and close the application? + + + + + Unsaved customization changes + + + + + There are unsaved customization changes, closing SCAP Workbench will destroy them. Are you sure you want to close and discard the changes? + + + + + Closing the main window... + + + + + Failed to close file. + + + + + (default) + + + + + Error while refreshing available XCCDF profiles. + + + + + + Unsaved customization changes! + + + + + Are you sure you want to reset customization and wipe all unsaved changes? + + + + + Open customization (XCCDF tailoring file) + + + + + XCCDF tailoring file (*.xml *.xml.bz2) + + + + + Are you sure you want to load a customization file and wipe all unsaved changes? + + + + + Can't set scanning session to use customization '%1' (from combobox item data). As item QVariant data was QString::Null() '%2', '%3' or '%4' was expected as item text. + + + + + Failed to set up tailoring. + + + + + Failed to select XCCDF profile. + + + + + Failed to customize currently selected profile. + + + + + Failed to retrieve XCCDF policy when editing profile. + + + + + Can't edit a profile that isn't a tailoring profile!This is most likely a bug, please report it! + + + + + Save Customization As + + + + + XCCDF Tailoring file (*.xml) + + + + + Failed to save tailoring file. + + + + + Failed to save opened files. + + + + + The following file was modified after opening: %1 + + + + + Do you wish to reload it, losing any unsaved tailoring changes? + + + + + Reload + + + + + Ignore + + + + + <p>This application is called SCAP Workbench, the homepage can be found at <a href='https://www.open-scap.org/tools/scap-workbench/'>https://www.open-scap.org/tools/scap-workbench/</a></p> + + + + + Close currently opened file? + + + + + Opened file '%1' has to be closed before opening another file. Closing this file will lose any unsaved tailoring. + +Do you want to proceed? + + + + + unknown + + + + + info + + + + + warning + + + + + except + + + + + error + + + + + Close SCAP Workbench + + + + + username@hostname [sudo] + + + + + RemoteMachineComboBox + + + RemoteMachineComboBox + + + + + User and host + + + + + Port + + + + + Check if the remote user doesn't have root privileges, but they can perform administrative tasks using paswordless sudo. + + + + + user is sudoer + + + + + List of recent hosts. + + + + + ResultViewer + + + Saves results of this evaluation. (Ctrl+S) + + + + + Save Results + + + + + Ctrl+S + + + + + Generate remediation that contains fix for every rule that failed in the scan. However, note that not every rule implements a fix. + + + + + Generate remediation + + + + + Opens the HTML report in the default browser of your desktop environment + + + + + &Show Report + + + + + RuleResultItem + + + Show/Hide description of this XCCDF rule + + + + + Title + + + + + RuleResultsTree + + + Form + + + + + SSGIntegrationDialog + + + Open SCAP Security Guide + + + + + <html><head/><body><p>SCAP Security Guide was found installed on this machine.</p><p>The content provided by SCAP Security Guide allows you to quickly scan your machine according to well stablished security baselines.</p><p>Also, these guides are a good starting point if you'd like to customize a policy or profile for your own needs.</p><p>Select one of the default guides to load, or select Other SCAP Content option to load your own content.</p></body></html> + + + + + Select content to load: + + + + + Dismiss + + + + + Load Content + + + + + SaveAsRPMDialog + + + Save as RPM + + + + + Package Name + + + + + Version + + + + + 1 + + + + + Release + + + + + Summary + + + + + License + + + + + Unspecified + + + + + Public Domain + + + + + GPLv2+ + + + + + CC-BY-SA + + + + + TailorProfileDialog + + + Customize Profile + + + + + <html><head/><body><p>Choose the ID of your profile.</p><p><span style=" font-weight:600;">Warning</span>: Choose it wisely. It cannot be changed later and may be required if you choose to use command line tools or various integrations of OpenSCAP.</p></body></html> + + + + + <html><head/><body><p>The ID has to have a format of &quot;xccdf_<span style=" font-weight:600;">{reverse DNS}</span>_profile_<span style=" font-weight:600;">{rest of the ID}</span>. <br/>For example &quot;xccdf_<span style=" font-weight:600;">org.mycorporation</span>_profile_<span style=" font-weight:600;">server</span>&quot;.</p></body></html> + + + + + New Profile ID + + + + + TailoringWindow + + + Customizing '%1' + + + + + Title + + + + + Closes this window, discards any changes and deletes the profile that was being customized. + + + + + Delete profile + + + + + Closes this window and discards all changes. + + + + + Cancel + + + + + Confirms customization, returns to the main window. + + + + + OK + + + + + Toolbar + + + + + XCCDFItemPropertiesDockWidget + + + Selected Item Properties + + + + + Title + + + + + Type + + + + + Security Identifiers + + + + + Depends on Values + + + + + Modify Value + + + + + (string) + + + + + Only takes effect when this profile is used for evaluation. + + + + + ID + + + + + Description + + + + + Affects Rules + + + + diff --git a/i18n/scap-workbench.fi.ts b/i18n/scap-workbench.fi.ts new file mode 100644 index 00000000..b338602f --- /dev/null +++ b/i18n/scap-workbench.fi.ts @@ -0,0 +1,1517 @@ + + + + + CommandLineArgsDialog + + + Command-line arguments for OpenSCAP evaluation + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'monospace'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> + + + + + Copy to clipboard + + + + + Close + + + + + DiagnosticsDialog + + + Diagnostics + + + + + The messages are displayed in the order they were reported (top-down). + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'monospace'; font-size:11pt; font-weight:400; font-style:normal;"> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;"><br /></p></body></html> + + + + + Clear Messages + + + + + Copy to clipboard + + + + + Close + + + + + MainWindow + + + SCAP Workbench + + + + + &Open Other Content + + + + + &Quit + + + + + Ctrl+Q + + + + + About SCAP Workbench + + + + + User Manual + + + + + Into a &directory + + + + + As &RPM + + + + + About Qt + + + + + Show Diagnostics + + + + + Save Customization O&nly + + + + + Open content from &SCAP Security Guide + + + + + Open &Customization File + + + + + &Reload Opened Content + + + + + + Reload Opened Content + + + + + Duplicates the current profile, and opens a window to customize it. + + + + + Customize + + + + + Ctrl+T + + + + + Profile + + + + + Checklist + + + + + Target + + + + + Customization + + + + + Determines which XCCDF profile will be used for evaluation. Listed profiles come from the input content and customization file. + + + + + TItle of the XCCDF Benchmark + + + + + Title + + + + + Allows to select, load or reset a customization. Customization is called XCCDF Tailoring in the specification. + + + + + Selecting the Local Machine target will cause workbench to evaluate the same machine that it is running on. + + + + + Local Machine + + + + + The Remote Machine target enables workbench to scan any remote machine that can be accessed using SSH. + + + + + Remote Machine (over SSH) + + + + + Rules + + + + + Expand All + + + + + %p% (%v results, %m rules selected) + + + + + Show Guide + + + + + Generate remediation that contains fix for every single rule the in the profile. Note that not every rule implements a fix. + + + + + Generate remediation + + + + + When checked no action is performed after pressing Scan, a dialog with the used command-line arguments is shown instead. + + + + + Dry run + + + + + <html><head/><body><p>Allow download of&nbsp;remote OVAL content referenced from&nbsp;XCCDF by&nbsp;check-content-ref/@href.</p></body></html> + + + + + Fetch remote resources + + + + + <html><head/><body><p>Attempts to automatically correct issues identified by the scan.</p><p>Note: Automated remediation may impact system functionality.</p></body></html> + + + + + + Remediate + + + + + Starts the evaluation. + + + + + &Scan + + + + + Cancels the evaluation. Partial results may be lost. + + + + + Cancel + + + + + Causes workbench to forget all collected evaluation results and prepares it for another scan. + + + + + &Clear + + + + + &File + + + + + Save &All + + + + + &Help + + + + + ProcessProgressDialog + + + Process Progress + + + + + ProfilePropertiesDockWidget + + + Profile Properties + + + + + Description + + + + + Title + + + + + ID + + + + + QObject + + + Failed to open file in web browser! + + + + + Please check that your default browser is set to something sensible. As a workaround, please open<br/><a href="%1">%1</a><br/>manually. + + + + + Undo + + + + + Redo + + + + + Customizing "%1" + + + + + Undo History + + + + + + Select All + + + + + + Deselect All + + + + + Search + + + + + Are you sure you want to discard all changes performed in this tailoring window and delete the profile? + + + + + Delete profile + + + + + Don't delete profile + + + + + Are you sure you want to discard all changes performed in this tailoring window? + + + + + Discard + + + + + Don't discard + + + + + Showing match %1 out of %2 total found. + + + + + No matches found. + + + + + Select Group "%1" + + + + + Deselect Group "%1" + + + + + profile title to "%1" + + + + + profile description to "%1" + + + + + Select Rule "%1" + + + + + Deselect Rule "%1" + + + + + Set Value '%1' to '%2' + + + + + <no item selected> + + + + + xccdf:Benchmark + + + + + xccdf:Group + + + + + xccdf:Rule + + + + + xccdf:Value + + + + + (number) + + + + + (string) + + + + + (bool) + + + + + Exception was thrown while evaluating! Details follow: +%1 + + + + + + Select target directory + + + + + Saving SCAP content as RPM... + + + + + This rule is currently being processed. + + + + + The target system or system component satisfied all the conditions of this rule. + + + + + The target system or system component did not satisfy every condition of this rule. + + + + + The checking engine could not complete the evaluation, therefore the status of the target's compliance with the rule is not certain. This could happen, for example, if a testing tool was run with insufficient privileges and could not gather all of the necessary information. + + + + + The testing tool encountered some problem and the result is unknown. + + + + + The rule was not applicable to the target machine of the test. For example, the rule might have been specific to a different version of the target OS, or it might have been a test against a platform feature that was not installed. + + + + + The rule was not evaluated by the checking engine. There were no check elements inside the rule or none of the check systems of the check elements were supported. + + + + + The rule was not selected in the benchmark. + + + + + The rule was checked, but the output from the checking engine is simply information for auditors or administrators; it is not a compliance category. + + + + + The rule had failed, but was then fixed (most probably using remediation). + + + + + Save Report (HTML) + + + + + %1-xccdf.report.html + + + + + HTML Report (*.html) + + + + + Save as XCCDF Results + + + + + %1-xccdf.results.xml + + + + + XCCDF Results (*.xml) + + + + + Save as Result DataStream / ARF + + + + + %1-arf.xml + + + + + Result DataStream / ARF (*.xml) + + + + + bash script (*.%1) + + + + + ansible playbook (*.%1) + + + + + Save remediation as a bash script + + + + + Save remediation as an ansible playbook + + + + + Save remediation as a puppet manifest + + + + + puppet manifest (*.%1) + + + + + + + SCAP Workbench + + + + + Success saving file: %1 + + + + + Error generating remediation '%2': %1 + + + + + + + Starting process '%1' + + + + + + + Cancel was requested! Sending terminate signal to the process... + + + + + + + Process had to be killed! Didn't terminate after %1 msec of waiting. + + + + + + Checking if oscap is available on remote machine... + + + + + Failed to locate oscap on remote machine. Please, check that openscap-scanner is installed on the remote machine. + + + + + Querying capabilities on remote machine... + + + + + Failed to query capabilities of oscap on remote machine. +Diagnostic info: +%1 + + + + + Copying input data to remote target... + + + + + Starting the remote process... + + + + + Failed to start ssh. Perhaps the executable was not found? + + + + + Processing on the remote machine... + + + + + Cancellation was requested! Terminating... + + + + + The oscap process didn't terminate in time, it will be killed instead. + + + + + XCCDF results + + + + + XCCDF report (HTML) + + + + + Result DataStream (ARF) + + + + + Cleaning up... + + + + + input file + + + + + tailoring file + + + + + XCCDF result file + + + + + XCCDF report file + + + + + Result DataStream file + + + + + Temporary Working Directory + + + + + + Processing has been finished! + + + + + Establishing a connection to remote target... + + + + + Connection established. + + + + + Can't connect to remote machine! Exception was: %1 + + + + + Failed to copy '%1' over to the remote machine! Diagnostic info: +%2 + + + + + Failed to create a valid temporary file to copy input data to! Diagnostic info: %1 + + + + + Failed to create a valid temporary dir. Diagnostic info: %1 + + + + + Failed to copy back %1. You will not be able to save this data! Diagnostic info: %2 + + + + + Failed to remove remote file %1. Diagnostic info: %2 + + + + + Failed to remove remote directory %1. Diagnostic info: %2 + + + + + Failed to query capabilities of oscap on local machine. +Diagnostic info: +%1 + + + + + Querying capabilities... + + + + + Creating temporary files... + + + + + Starting the oscap process... + + + + + Failed to start local scanning process '%1'. Perhaps the executable was not found? + + + + + Processing... + + + + + Cancellation was requested! Terminating scanning... + + + + + There was an error during evaluation! Exit code of the 'oscap' process was 1. + + + + + The oscap tool has finished. Reading results... + + + + + Scanning cancelled! + + + + + oscap tool doesn't support basic features required for workbench. Please make sure you have openscap 0.8.0 or newer. oscap version was detected as '%1'. + + + + + oscap tool doesn't support online remediation. Please make sure you have openscap 0.9.5 or newer if you want to use online remediation. oscap version was detected as '%1'. + + + + + oscap tool doesn't support taking ARFs (result datastreams) as input. Please make sure you have openscap <NOT IMPLEMENTED YET> or newer if you want to use offline remediation. oscap version was detected as '%1'. + + + + + oscap tool doesn't support source datastreams as input. Please make sure you have openscap 0.9.0 or newer if you want to use source datastreams. oscap version was detected as '%1'. + + + + + oscap tool doesn't support XCCDF tailoring but the session uses tailoring. Please make sure you have openscap 0.9.12 or newer on the target machine if you want to use tailoring features of SCAP Workbench. oscap version was detected as '%1'. + + + + + Error when parsing scan progress output from stdout of the 'oscap' process. ':' encountered while not reading rule ID, newline and/or rule result are missing! Read buffer is '%1'. + + + + + Error when parsing scan progress output from stdout of the 'oscap' process. Newline encountered while reading rule ID, rule result and/or ':' are missing! Read buffer is '%1'. + + + + + Select customization file... + + + + + None selected + + + + + (unsaved changes) + + + + + SCAP Workbench was compiled without local scanning support + + + + + SCAP Workbench was compiled without remote scanning support + + + + + SCAP Workbench was compiled without local and remote scanning support. Only tailoring is possible. + + + + + %1 - SCAP Workbench + + + + + Opened file '%1'. + + + + + Error while opening file. + + + + + Open Source DataStream or XCCDF file + + + + + Source DataStream, XCCDF file or SCAP RPM (*.xml *.xml.bz2 *.rpm);;All files (*) + + + + + Scan with no rules selected? + + + + + Chosen profile does not have any rules selected. Are you sure you want to evaluate with no rules selected? + + + + + Can't get XCCDF policy from the session. Very likely it failed to load. OpenSCAP error message: +%1 + + + + + There was a problem setting up the scanner. + + + + + Cancel scan in progress? + + + + + A scan is in progress. Are you sure you want to terminate it and close the application? + + + + + Unsaved customization changes + + + + + There are unsaved customization changes, closing SCAP Workbench will destroy them. Are you sure you want to close and discard the changes? + + + + + Closing the main window... + + + + + Failed to close file. + + + + + (default) + + + + + Error while refreshing available XCCDF profiles. + + + + + + Unsaved customization changes! + + + + + Are you sure you want to reset customization and wipe all unsaved changes? + + + + + Open customization (XCCDF tailoring file) + + + + + XCCDF tailoring file (*.xml *.xml.bz2) + + + + + Are you sure you want to load a customization file and wipe all unsaved changes? + + + + + Can't set scanning session to use customization '%1' (from combobox item data). As item QVariant data was QString::Null() '%2', '%3' or '%4' was expected as item text. + + + + + Failed to set up tailoring. + + + + + Failed to select XCCDF profile. + + + + + Failed to customize currently selected profile. + + + + + Failed to retrieve XCCDF policy when editing profile. + + + + + Can't edit a profile that isn't a tailoring profile!This is most likely a bug, please report it! + + + + + Save Customization As + + + + + XCCDF Tailoring file (*.xml) + + + + + Failed to save tailoring file. + + + + + Failed to save opened files. + + + + + The following file was modified after opening: %1 + + + + + Do you wish to reload it, losing any unsaved tailoring changes? + + + + + Reload + + + + + Ignore + + + + + <p>This application is called SCAP Workbench, the homepage can be found at <a href='https://www.open-scap.org/tools/scap-workbench/'>https://www.open-scap.org/tools/scap-workbench/</a></p> + + + + + Close currently opened file? + + + + + Opened file '%1' has to be closed before opening another file. Closing this file will lose any unsaved tailoring. + +Do you want to proceed? + + + + + unknown + + + + + info + + + + + warning + + + + + except + + + + + error + + + + + Close SCAP Workbench + + + + + username@hostname [sudo] + + + + + RemoteMachineComboBox + + + RemoteMachineComboBox + + + + + User and host + + + + + Port + + + + + Check if the remote user doesn't have root privileges, but they can perform administrative tasks using paswordless sudo. + + + + + user is sudoer + + + + + List of recent hosts. + + + + + ResultViewer + + + Saves results of this evaluation. (Ctrl+S) + + + + + Save Results + + + + + Ctrl+S + + + + + Generate remediation that contains fix for every rule that failed in the scan. However, note that not every rule implements a fix. + + + + + Generate remediation + + + + + Opens the HTML report in the default browser of your desktop environment + + + + + &Show Report + + + + + RuleResultItem + + + Show/Hide description of this XCCDF rule + + + + + Title + + + + + RuleResultsTree + + + Form + + + + + SSGIntegrationDialog + + + Open SCAP Security Guide + + + + + <html><head/><body><p>SCAP Security Guide was found installed on this machine.</p><p>The content provided by SCAP Security Guide allows you to quickly scan your machine according to well stablished security baselines.</p><p>Also, these guides are a good starting point if you'd like to customize a policy or profile for your own needs.</p><p>Select one of the default guides to load, or select Other SCAP Content option to load your own content.</p></body></html> + + + + + Select content to load: + + + + + Dismiss + + + + + Load Content + + + + + SaveAsRPMDialog + + + Save as RPM + + + + + Package Name + + + + + Version + + + + + 1 + + + + + Release + + + + + Summary + + + + + License + + + + + Unspecified + + + + + Public Domain + + + + + GPLv2+ + + + + + CC-BY-SA + + + + + TailorProfileDialog + + + Customize Profile + + + + + <html><head/><body><p>Choose the ID of your profile.</p><p><span style=" font-weight:600;">Warning</span>: Choose it wisely. It cannot be changed later and may be required if you choose to use command line tools or various integrations of OpenSCAP.</p></body></html> + + + + + <html><head/><body><p>The ID has to have a format of &quot;xccdf_<span style=" font-weight:600;">{reverse DNS}</span>_profile_<span style=" font-weight:600;">{rest of the ID}</span>. <br/>For example &quot;xccdf_<span style=" font-weight:600;">org.mycorporation</span>_profile_<span style=" font-weight:600;">server</span>&quot;.</p></body></html> + + + + + New Profile ID + + + + + TailoringWindow + + + Customizing '%1' + + + + + Title + + + + + Closes this window, discards any changes and deletes the profile that was being customized. + + + + + Delete profile + + + + + Closes this window and discards all changes. + + + + + Cancel + + + + + Confirms customization, returns to the main window. + + + + + OK + + + + + Toolbar + + + + + XCCDFItemPropertiesDockWidget + + + Selected Item Properties + + + + + Title + + + + + Type + + + + + Security Identifiers + + + + + Depends on Values + + + + + Modify Value + + + + + (string) + + + + + Only takes effect when this profile is used for evaluation. + + + + + ID + + + + + Description + + + + + Affects Rules + + + + diff --git a/i18n/scap-workbench.fr.ts b/i18n/scap-workbench.fr.ts new file mode 100644 index 00000000..11919c9c --- /dev/null +++ b/i18n/scap-workbench.fr.ts @@ -0,0 +1,1517 @@ + + + + + CommandLineArgsDialog + + + Command-line arguments for OpenSCAP evaluation + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'monospace'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> + + + + + Copy to clipboard + + + + + Close + + + + + DiagnosticsDialog + + + Diagnostics + + + + + The messages are displayed in the order they were reported (top-down). + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'monospace'; font-size:11pt; font-weight:400; font-style:normal;"> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;"><br /></p></body></html> + + + + + Clear Messages + + + + + Copy to clipboard + + + + + Close + + + + + MainWindow + + + SCAP Workbench + + + + + &Open Other Content + + + + + &Quit + + + + + Ctrl+Q + + + + + About SCAP Workbench + + + + + User Manual + + + + + Into a &directory + + + + + As &RPM + + + + + About Qt + + + + + Show Diagnostics + + + + + Save Customization O&nly + + + + + Open content from &SCAP Security Guide + + + + + Open &Customization File + + + + + &Reload Opened Content + + + + + + Reload Opened Content + + + + + Duplicates the current profile, and opens a window to customize it. + + + + + Customize + + + + + Ctrl+T + + + + + Profile + + + + + Checklist + + + + + Target + + + + + Customization + + + + + Determines which XCCDF profile will be used for evaluation. Listed profiles come from the input content and customization file. + + + + + TItle of the XCCDF Benchmark + + + + + Title + + + + + Allows to select, load or reset a customization. Customization is called XCCDF Tailoring in the specification. + + + + + Selecting the Local Machine target will cause workbench to evaluate the same machine that it is running on. + + + + + Local Machine + + + + + The Remote Machine target enables workbench to scan any remote machine that can be accessed using SSH. + + + + + Remote Machine (over SSH) + + + + + Rules + + + + + Expand All + + + + + %p% (%v results, %m rules selected) + + + + + Show Guide + + + + + Generate remediation that contains fix for every single rule the in the profile. Note that not every rule implements a fix. + + + + + Generate remediation + + + + + When checked no action is performed after pressing Scan, a dialog with the used command-line arguments is shown instead. + + + + + Dry run + + + + + <html><head/><body><p>Allow download of&nbsp;remote OVAL content referenced from&nbsp;XCCDF by&nbsp;check-content-ref/@href.</p></body></html> + + + + + Fetch remote resources + + + + + <html><head/><body><p>Attempts to automatically correct issues identified by the scan.</p><p>Note: Automated remediation may impact system functionality.</p></body></html> + + + + + + Remediate + + + + + Starts the evaluation. + + + + + &Scan + + + + + Cancels the evaluation. Partial results may be lost. + + + + + Cancel + + + + + Causes workbench to forget all collected evaluation results and prepares it for another scan. + + + + + &Clear + + + + + &File + + + + + Save &All + + + + + &Help + + + + + ProcessProgressDialog + + + Process Progress + + + + + ProfilePropertiesDockWidget + + + Profile Properties + + + + + Description + + + + + Title + + + + + ID + + + + + QObject + + + Failed to open file in web browser! + + + + + Please check that your default browser is set to something sensible. As a workaround, please open<br/><a href="%1">%1</a><br/>manually. + + + + + Undo + + + + + Redo + + + + + Customizing "%1" + + + + + Undo History + + + + + + Select All + + + + + + Deselect All + + + + + Search + + + + + Are you sure you want to discard all changes performed in this tailoring window and delete the profile? + + + + + Delete profile + + + + + Don't delete profile + + + + + Are you sure you want to discard all changes performed in this tailoring window? + + + + + Discard + + + + + Don't discard + + + + + Showing match %1 out of %2 total found. + + + + + No matches found. + + + + + Select Group "%1" + + + + + Deselect Group "%1" + + + + + profile title to "%1" + + + + + profile description to "%1" + + + + + Select Rule "%1" + + + + + Deselect Rule "%1" + + + + + Set Value '%1' to '%2' + + + + + <no item selected> + + + + + xccdf:Benchmark + + + + + xccdf:Group + + + + + xccdf:Rule + + + + + xccdf:Value + + + + + (number) + + + + + (string) + + + + + (bool) + + + + + Exception was thrown while evaluating! Details follow: +%1 + + + + + + Select target directory + + + + + Saving SCAP content as RPM... + + + + + This rule is currently being processed. + + + + + The target system or system component satisfied all the conditions of this rule. + + + + + The target system or system component did not satisfy every condition of this rule. + + + + + The checking engine could not complete the evaluation, therefore the status of the target's compliance with the rule is not certain. This could happen, for example, if a testing tool was run with insufficient privileges and could not gather all of the necessary information. + + + + + The testing tool encountered some problem and the result is unknown. + + + + + The rule was not applicable to the target machine of the test. For example, the rule might have been specific to a different version of the target OS, or it might have been a test against a platform feature that was not installed. + + + + + The rule was not evaluated by the checking engine. There were no check elements inside the rule or none of the check systems of the check elements were supported. + + + + + The rule was not selected in the benchmark. + + + + + The rule was checked, but the output from the checking engine is simply information for auditors or administrators; it is not a compliance category. + + + + + The rule had failed, but was then fixed (most probably using remediation). + + + + + Save Report (HTML) + + + + + %1-xccdf.report.html + + + + + HTML Report (*.html) + + + + + Save as XCCDF Results + + + + + %1-xccdf.results.xml + + + + + XCCDF Results (*.xml) + + + + + Save as Result DataStream / ARF + + + + + %1-arf.xml + + + + + Result DataStream / ARF (*.xml) + + + + + bash script (*.%1) + + + + + ansible playbook (*.%1) + + + + + Save remediation as a bash script + + + + + Save remediation as an ansible playbook + + + + + Save remediation as a puppet manifest + + + + + puppet manifest (*.%1) + + + + + + + SCAP Workbench + + + + + Success saving file: %1 + + + + + Error generating remediation '%2': %1 + + + + + + + Starting process '%1' + + + + + + + Cancel was requested! Sending terminate signal to the process... + + + + + + + Process had to be killed! Didn't terminate after %1 msec of waiting. + + + + + + Checking if oscap is available on remote machine... + + + + + Failed to locate oscap on remote machine. Please, check that openscap-scanner is installed on the remote machine. + + + + + Querying capabilities on remote machine... + + + + + Failed to query capabilities of oscap on remote machine. +Diagnostic info: +%1 + + + + + Copying input data to remote target... + + + + + Starting the remote process... + + + + + Failed to start ssh. Perhaps the executable was not found? + + + + + Processing on the remote machine... + + + + + Cancellation was requested! Terminating... + + + + + The oscap process didn't terminate in time, it will be killed instead. + + + + + XCCDF results + + + + + XCCDF report (HTML) + + + + + Result DataStream (ARF) + + + + + Cleaning up... + + + + + input file + + + + + tailoring file + + + + + XCCDF result file + + + + + XCCDF report file + + + + + Result DataStream file + + + + + Temporary Working Directory + + + + + + Processing has been finished! + + + + + Establishing a connection to remote target... + + + + + Connection established. + + + + + Can't connect to remote machine! Exception was: %1 + + + + + Failed to copy '%1' over to the remote machine! Diagnostic info: +%2 + + + + + Failed to create a valid temporary file to copy input data to! Diagnostic info: %1 + + + + + Failed to create a valid temporary dir. Diagnostic info: %1 + + + + + Failed to copy back %1. You will not be able to save this data! Diagnostic info: %2 + + + + + Failed to remove remote file %1. Diagnostic info: %2 + + + + + Failed to remove remote directory %1. Diagnostic info: %2 + + + + + Failed to query capabilities of oscap on local machine. +Diagnostic info: +%1 + + + + + Querying capabilities... + + + + + Creating temporary files... + + + + + Starting the oscap process... + + + + + Failed to start local scanning process '%1'. Perhaps the executable was not found? + + + + + Processing... + + + + + Cancellation was requested! Terminating scanning... + + + + + There was an error during evaluation! Exit code of the 'oscap' process was 1. + + + + + The oscap tool has finished. Reading results... + + + + + Scanning cancelled! + + + + + oscap tool doesn't support basic features required for workbench. Please make sure you have openscap 0.8.0 or newer. oscap version was detected as '%1'. + + + + + oscap tool doesn't support online remediation. Please make sure you have openscap 0.9.5 or newer if you want to use online remediation. oscap version was detected as '%1'. + + + + + oscap tool doesn't support taking ARFs (result datastreams) as input. Please make sure you have openscap <NOT IMPLEMENTED YET> or newer if you want to use offline remediation. oscap version was detected as '%1'. + + + + + oscap tool doesn't support source datastreams as input. Please make sure you have openscap 0.9.0 or newer if you want to use source datastreams. oscap version was detected as '%1'. + + + + + oscap tool doesn't support XCCDF tailoring but the session uses tailoring. Please make sure you have openscap 0.9.12 or newer on the target machine if you want to use tailoring features of SCAP Workbench. oscap version was detected as '%1'. + + + + + Error when parsing scan progress output from stdout of the 'oscap' process. ':' encountered while not reading rule ID, newline and/or rule result are missing! Read buffer is '%1'. + + + + + Error when parsing scan progress output from stdout of the 'oscap' process. Newline encountered while reading rule ID, rule result and/or ':' are missing! Read buffer is '%1'. + + + + + Select customization file... + + + + + None selected + + + + + (unsaved changes) + + + + + SCAP Workbench was compiled without local scanning support + + + + + SCAP Workbench was compiled without remote scanning support + + + + + SCAP Workbench was compiled without local and remote scanning support. Only tailoring is possible. + + + + + %1 - SCAP Workbench + + + + + Opened file '%1'. + + + + + Error while opening file. + + + + + Open Source DataStream or XCCDF file + + + + + Source DataStream, XCCDF file or SCAP RPM (*.xml *.xml.bz2 *.rpm);;All files (*) + + + + + Scan with no rules selected? + + + + + Chosen profile does not have any rules selected. Are you sure you want to evaluate with no rules selected? + + + + + Can't get XCCDF policy from the session. Very likely it failed to load. OpenSCAP error message: +%1 + + + + + There was a problem setting up the scanner. + + + + + Cancel scan in progress? + + + + + A scan is in progress. Are you sure you want to terminate it and close the application? + + + + + Unsaved customization changes + + + + + There are unsaved customization changes, closing SCAP Workbench will destroy them. Are you sure you want to close and discard the changes? + + + + + Closing the main window... + + + + + Failed to close file. + + + + + (default) + + + + + Error while refreshing available XCCDF profiles. + + + + + + Unsaved customization changes! + + + + + Are you sure you want to reset customization and wipe all unsaved changes? + + + + + Open customization (XCCDF tailoring file) + + + + + XCCDF tailoring file (*.xml *.xml.bz2) + + + + + Are you sure you want to load a customization file and wipe all unsaved changes? + + + + + Can't set scanning session to use customization '%1' (from combobox item data). As item QVariant data was QString::Null() '%2', '%3' or '%4' was expected as item text. + + + + + Failed to set up tailoring. + + + + + Failed to select XCCDF profile. + + + + + Failed to customize currently selected profile. + + + + + Failed to retrieve XCCDF policy when editing profile. + + + + + Can't edit a profile that isn't a tailoring profile!This is most likely a bug, please report it! + + + + + Save Customization As + + + + + XCCDF Tailoring file (*.xml) + + + + + Failed to save tailoring file. + + + + + Failed to save opened files. + + + + + The following file was modified after opening: %1 + + + + + Do you wish to reload it, losing any unsaved tailoring changes? + + + + + Reload + + + + + Ignore + + + + + <p>This application is called SCAP Workbench, the homepage can be found at <a href='https://www.open-scap.org/tools/scap-workbench/'>https://www.open-scap.org/tools/scap-workbench/</a></p> + + + + + Close currently opened file? + + + + + Opened file '%1' has to be closed before opening another file. Closing this file will lose any unsaved tailoring. + +Do you want to proceed? + + + + + unknown + + + + + info + + + + + warning + + + + + except + + + + + error + + + + + Close SCAP Workbench + + + + + username@hostname [sudo] + + + + + RemoteMachineComboBox + + + RemoteMachineComboBox + + + + + User and host + + + + + Port + + + + + Check if the remote user doesn't have root privileges, but they can perform administrative tasks using paswordless sudo. + + + + + user is sudoer + + + + + List of recent hosts. + + + + + ResultViewer + + + Saves results of this evaluation. (Ctrl+S) + + + + + Save Results + + + + + Ctrl+S + + + + + Generate remediation that contains fix for every rule that failed in the scan. However, note that not every rule implements a fix. + + + + + Generate remediation + + + + + Opens the HTML report in the default browser of your desktop environment + + + + + &Show Report + + + + + RuleResultItem + + + Show/Hide description of this XCCDF rule + + + + + Title + + + + + RuleResultsTree + + + Form + + + + + SSGIntegrationDialog + + + Open SCAP Security Guide + + + + + <html><head/><body><p>SCAP Security Guide was found installed on this machine.</p><p>The content provided by SCAP Security Guide allows you to quickly scan your machine according to well stablished security baselines.</p><p>Also, these guides are a good starting point if you'd like to customize a policy or profile for your own needs.</p><p>Select one of the default guides to load, or select Other SCAP Content option to load your own content.</p></body></html> + + + + + Select content to load: + + + + + Dismiss + + + + + Load Content + + + + + SaveAsRPMDialog + + + Save as RPM + + + + + Package Name + + + + + Version + + + + + 1 + + + + + Release + + + + + Summary + + + + + License + + + + + Unspecified + + + + + Public Domain + + + + + GPLv2+ + + + + + CC-BY-SA + + + + + TailorProfileDialog + + + Customize Profile + + + + + <html><head/><body><p>Choose the ID of your profile.</p><p><span style=" font-weight:600;">Warning</span>: Choose it wisely. It cannot be changed later and may be required if you choose to use command line tools or various integrations of OpenSCAP.</p></body></html> + + + + + <html><head/><body><p>The ID has to have a format of &quot;xccdf_<span style=" font-weight:600;">{reverse DNS}</span>_profile_<span style=" font-weight:600;">{rest of the ID}</span>. <br/>For example &quot;xccdf_<span style=" font-weight:600;">org.mycorporation</span>_profile_<span style=" font-weight:600;">server</span>&quot;.</p></body></html> + + + + + New Profile ID + + + + + TailoringWindow + + + Customizing '%1' + + + + + Title + + + + + Closes this window, discards any changes and deletes the profile that was being customized. + + + + + Delete profile + + + + + Closes this window and discards all changes. + + + + + Cancel + + + + + Confirms customization, returns to the main window. + + + + + OK + + + + + Toolbar + + + + + XCCDFItemPropertiesDockWidget + + + Selected Item Properties + + + + + Title + + + + + Type + + + + + Security Identifiers + + + + + Depends on Values + + + + + Modify Value + + + + + (string) + + + + + Only takes effect when this profile is used for evaluation. + + + + + ID + + + + + Description + + + + + Affects Rules + + + + diff --git a/i18n/scap-workbench.it.ts b/i18n/scap-workbench.it.ts new file mode 100644 index 00000000..1c100b04 --- /dev/null +++ b/i18n/scap-workbench.it.ts @@ -0,0 +1,1517 @@ + + + + + CommandLineArgsDialog + + + Command-line arguments for OpenSCAP evaluation + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'monospace'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> + + + + + Copy to clipboard + + + + + Close + + + + + DiagnosticsDialog + + + Diagnostics + + + + + The messages are displayed in the order they were reported (top-down). + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'monospace'; font-size:11pt; font-weight:400; font-style:normal;"> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;"><br /></p></body></html> + + + + + Clear Messages + + + + + Copy to clipboard + + + + + Close + + + + + MainWindow + + + SCAP Workbench + + + + + &Open Other Content + + + + + &Quit + + + + + Ctrl+Q + + + + + About SCAP Workbench + + + + + User Manual + + + + + Into a &directory + + + + + As &RPM + + + + + About Qt + + + + + Show Diagnostics + + + + + Save Customization O&nly + + + + + Open content from &SCAP Security Guide + + + + + Open &Customization File + + + + + &Reload Opened Content + + + + + + Reload Opened Content + + + + + Duplicates the current profile, and opens a window to customize it. + + + + + Customize + + + + + Ctrl+T + + + + + Profile + + + + + Checklist + + + + + Target + + + + + Customization + + + + + Determines which XCCDF profile will be used for evaluation. Listed profiles come from the input content and customization file. + + + + + TItle of the XCCDF Benchmark + + + + + Title + + + + + Allows to select, load or reset a customization. Customization is called XCCDF Tailoring in the specification. + + + + + Selecting the Local Machine target will cause workbench to evaluate the same machine that it is running on. + + + + + Local Machine + + + + + The Remote Machine target enables workbench to scan any remote machine that can be accessed using SSH. + + + + + Remote Machine (over SSH) + + + + + Rules + + + + + Expand All + + + + + %p% (%v results, %m rules selected) + + + + + Show Guide + + + + + Generate remediation that contains fix for every single rule the in the profile. Note that not every rule implements a fix. + + + + + Generate remediation + + + + + When checked no action is performed after pressing Scan, a dialog with the used command-line arguments is shown instead. + + + + + Dry run + + + + + <html><head/><body><p>Allow download of&nbsp;remote OVAL content referenced from&nbsp;XCCDF by&nbsp;check-content-ref/@href.</p></body></html> + + + + + Fetch remote resources + + + + + <html><head/><body><p>Attempts to automatically correct issues identified by the scan.</p><p>Note: Automated remediation may impact system functionality.</p></body></html> + + + + + + Remediate + + + + + Starts the evaluation. + + + + + &Scan + + + + + Cancels the evaluation. Partial results may be lost. + + + + + Cancel + + + + + Causes workbench to forget all collected evaluation results and prepares it for another scan. + + + + + &Clear + + + + + &File + + + + + Save &All + + + + + &Help + + + + + ProcessProgressDialog + + + Process Progress + + + + + ProfilePropertiesDockWidget + + + Profile Properties + + + + + Description + + + + + Title + + + + + ID + + + + + QObject + + + Failed to open file in web browser! + + + + + Please check that your default browser is set to something sensible. As a workaround, please open<br/><a href="%1">%1</a><br/>manually. + + + + + Undo + + + + + Redo + + + + + Customizing "%1" + + + + + Undo History + + + + + + Select All + + + + + + Deselect All + + + + + Search + + + + + Are you sure you want to discard all changes performed in this tailoring window and delete the profile? + + + + + Delete profile + + + + + Don't delete profile + + + + + Are you sure you want to discard all changes performed in this tailoring window? + + + + + Discard + + + + + Don't discard + + + + + Showing match %1 out of %2 total found. + + + + + No matches found. + + + + + Select Group "%1" + + + + + Deselect Group "%1" + + + + + profile title to "%1" + + + + + profile description to "%1" + + + + + Select Rule "%1" + + + + + Deselect Rule "%1" + + + + + Set Value '%1' to '%2' + + + + + <no item selected> + + + + + xccdf:Benchmark + + + + + xccdf:Group + + + + + xccdf:Rule + + + + + xccdf:Value + + + + + (number) + + + + + (string) + + + + + (bool) + + + + + Exception was thrown while evaluating! Details follow: +%1 + + + + + + Select target directory + + + + + Saving SCAP content as RPM... + + + + + This rule is currently being processed. + + + + + The target system or system component satisfied all the conditions of this rule. + + + + + The target system or system component did not satisfy every condition of this rule. + + + + + The checking engine could not complete the evaluation, therefore the status of the target's compliance with the rule is not certain. This could happen, for example, if a testing tool was run with insufficient privileges and could not gather all of the necessary information. + + + + + The testing tool encountered some problem and the result is unknown. + + + + + The rule was not applicable to the target machine of the test. For example, the rule might have been specific to a different version of the target OS, or it might have been a test against a platform feature that was not installed. + + + + + The rule was not evaluated by the checking engine. There were no check elements inside the rule or none of the check systems of the check elements were supported. + + + + + The rule was not selected in the benchmark. + + + + + The rule was checked, but the output from the checking engine is simply information for auditors or administrators; it is not a compliance category. + + + + + The rule had failed, but was then fixed (most probably using remediation). + + + + + Save Report (HTML) + + + + + %1-xccdf.report.html + + + + + HTML Report (*.html) + + + + + Save as XCCDF Results + + + + + %1-xccdf.results.xml + + + + + XCCDF Results (*.xml) + + + + + Save as Result DataStream / ARF + + + + + %1-arf.xml + + + + + Result DataStream / ARF (*.xml) + + + + + bash script (*.%1) + + + + + ansible playbook (*.%1) + + + + + Save remediation as a bash script + + + + + Save remediation as an ansible playbook + + + + + Save remediation as a puppet manifest + + + + + puppet manifest (*.%1) + + + + + + + SCAP Workbench + + + + + Success saving file: %1 + + + + + Error generating remediation '%2': %1 + + + + + + + Starting process '%1' + + + + + + + Cancel was requested! Sending terminate signal to the process... + + + + + + + Process had to be killed! Didn't terminate after %1 msec of waiting. + + + + + + Checking if oscap is available on remote machine... + + + + + Failed to locate oscap on remote machine. Please, check that openscap-scanner is installed on the remote machine. + + + + + Querying capabilities on remote machine... + + + + + Failed to query capabilities of oscap on remote machine. +Diagnostic info: +%1 + + + + + Copying input data to remote target... + + + + + Starting the remote process... + + + + + Failed to start ssh. Perhaps the executable was not found? + + + + + Processing on the remote machine... + + + + + Cancellation was requested! Terminating... + + + + + The oscap process didn't terminate in time, it will be killed instead. + + + + + XCCDF results + + + + + XCCDF report (HTML) + + + + + Result DataStream (ARF) + + + + + Cleaning up... + + + + + input file + + + + + tailoring file + + + + + XCCDF result file + + + + + XCCDF report file + + + + + Result DataStream file + + + + + Temporary Working Directory + + + + + + Processing has been finished! + + + + + Establishing a connection to remote target... + + + + + Connection established. + + + + + Can't connect to remote machine! Exception was: %1 + + + + + Failed to copy '%1' over to the remote machine! Diagnostic info: +%2 + + + + + Failed to create a valid temporary file to copy input data to! Diagnostic info: %1 + + + + + Failed to create a valid temporary dir. Diagnostic info: %1 + + + + + Failed to copy back %1. You will not be able to save this data! Diagnostic info: %2 + + + + + Failed to remove remote file %1. Diagnostic info: %2 + + + + + Failed to remove remote directory %1. Diagnostic info: %2 + + + + + Failed to query capabilities of oscap on local machine. +Diagnostic info: +%1 + + + + + Querying capabilities... + + + + + Creating temporary files... + + + + + Starting the oscap process... + + + + + Failed to start local scanning process '%1'. Perhaps the executable was not found? + + + + + Processing... + + + + + Cancellation was requested! Terminating scanning... + + + + + There was an error during evaluation! Exit code of the 'oscap' process was 1. + + + + + The oscap tool has finished. Reading results... + + + + + Scanning cancelled! + + + + + oscap tool doesn't support basic features required for workbench. Please make sure you have openscap 0.8.0 or newer. oscap version was detected as '%1'. + + + + + oscap tool doesn't support online remediation. Please make sure you have openscap 0.9.5 or newer if you want to use online remediation. oscap version was detected as '%1'. + + + + + oscap tool doesn't support taking ARFs (result datastreams) as input. Please make sure you have openscap <NOT IMPLEMENTED YET> or newer if you want to use offline remediation. oscap version was detected as '%1'. + + + + + oscap tool doesn't support source datastreams as input. Please make sure you have openscap 0.9.0 or newer if you want to use source datastreams. oscap version was detected as '%1'. + + + + + oscap tool doesn't support XCCDF tailoring but the session uses tailoring. Please make sure you have openscap 0.9.12 or newer on the target machine if you want to use tailoring features of SCAP Workbench. oscap version was detected as '%1'. + + + + + Error when parsing scan progress output from stdout of the 'oscap' process. ':' encountered while not reading rule ID, newline and/or rule result are missing! Read buffer is '%1'. + + + + + Error when parsing scan progress output from stdout of the 'oscap' process. Newline encountered while reading rule ID, rule result and/or ':' are missing! Read buffer is '%1'. + + + + + Select customization file... + + + + + None selected + + + + + (unsaved changes) + + + + + SCAP Workbench was compiled without local scanning support + + + + + SCAP Workbench was compiled without remote scanning support + + + + + SCAP Workbench was compiled without local and remote scanning support. Only tailoring is possible. + + + + + %1 - SCAP Workbench + + + + + Opened file '%1'. + + + + + Error while opening file. + + + + + Open Source DataStream or XCCDF file + + + + + Source DataStream, XCCDF file or SCAP RPM (*.xml *.xml.bz2 *.rpm);;All files (*) + + + + + Scan with no rules selected? + + + + + Chosen profile does not have any rules selected. Are you sure you want to evaluate with no rules selected? + + + + + Can't get XCCDF policy from the session. Very likely it failed to load. OpenSCAP error message: +%1 + + + + + There was a problem setting up the scanner. + + + + + Cancel scan in progress? + + + + + A scan is in progress. Are you sure you want to terminate it and close the application? + + + + + Unsaved customization changes + + + + + There are unsaved customization changes, closing SCAP Workbench will destroy them. Are you sure you want to close and discard the changes? + + + + + Closing the main window... + + + + + Failed to close file. + + + + + (default) + + + + + Error while refreshing available XCCDF profiles. + + + + + + Unsaved customization changes! + + + + + Are you sure you want to reset customization and wipe all unsaved changes? + + + + + Open customization (XCCDF tailoring file) + + + + + XCCDF tailoring file (*.xml *.xml.bz2) + + + + + Are you sure you want to load a customization file and wipe all unsaved changes? + + + + + Can't set scanning session to use customization '%1' (from combobox item data). As item QVariant data was QString::Null() '%2', '%3' or '%4' was expected as item text. + + + + + Failed to set up tailoring. + + + + + Failed to select XCCDF profile. + + + + + Failed to customize currently selected profile. + + + + + Failed to retrieve XCCDF policy when editing profile. + + + + + Can't edit a profile that isn't a tailoring profile!This is most likely a bug, please report it! + + + + + Save Customization As + + + + + XCCDF Tailoring file (*.xml) + + + + + Failed to save tailoring file. + + + + + Failed to save opened files. + + + + + The following file was modified after opening: %1 + + + + + Do you wish to reload it, losing any unsaved tailoring changes? + + + + + Reload + + + + + Ignore + + + + + <p>This application is called SCAP Workbench, the homepage can be found at <a href='https://www.open-scap.org/tools/scap-workbench/'>https://www.open-scap.org/tools/scap-workbench/</a></p> + + + + + Close currently opened file? + + + + + Opened file '%1' has to be closed before opening another file. Closing this file will lose any unsaved tailoring. + +Do you want to proceed? + + + + + unknown + + + + + info + + + + + warning + + + + + except + + + + + error + + + + + Close SCAP Workbench + + + + + username@hostname [sudo] + + + + + RemoteMachineComboBox + + + RemoteMachineComboBox + + + + + User and host + + + + + Port + + + + + Check if the remote user doesn't have root privileges, but they can perform administrative tasks using paswordless sudo. + + + + + user is sudoer + + + + + List of recent hosts. + + + + + ResultViewer + + + Saves results of this evaluation. (Ctrl+S) + + + + + Save Results + + + + + Ctrl+S + + + + + Generate remediation that contains fix for every rule that failed in the scan. However, note that not every rule implements a fix. + + + + + Generate remediation + + + + + Opens the HTML report in the default browser of your desktop environment + + + + + &Show Report + + + + + RuleResultItem + + + Show/Hide description of this XCCDF rule + + + + + Title + + + + + RuleResultsTree + + + Form + + + + + SSGIntegrationDialog + + + Open SCAP Security Guide + + + + + <html><head/><body><p>SCAP Security Guide was found installed on this machine.</p><p>The content provided by SCAP Security Guide allows you to quickly scan your machine according to well stablished security baselines.</p><p>Also, these guides are a good starting point if you'd like to customize a policy or profile for your own needs.</p><p>Select one of the default guides to load, or select Other SCAP Content option to load your own content.</p></body></html> + + + + + Select content to load: + + + + + Dismiss + + + + + Load Content + + + + + SaveAsRPMDialog + + + Save as RPM + + + + + Package Name + + + + + Version + + + + + 1 + + + + + Release + + + + + Summary + + + + + License + + + + + Unspecified + + + + + Public Domain + + + + + GPLv2+ + + + + + CC-BY-SA + + + + + TailorProfileDialog + + + Customize Profile + + + + + <html><head/><body><p>Choose the ID of your profile.</p><p><span style=" font-weight:600;">Warning</span>: Choose it wisely. It cannot be changed later and may be required if you choose to use command line tools or various integrations of OpenSCAP.</p></body></html> + + + + + <html><head/><body><p>The ID has to have a format of &quot;xccdf_<span style=" font-weight:600;">{reverse DNS}</span>_profile_<span style=" font-weight:600;">{rest of the ID}</span>. <br/>For example &quot;xccdf_<span style=" font-weight:600;">org.mycorporation</span>_profile_<span style=" font-weight:600;">server</span>&quot;.</p></body></html> + + + + + New Profile ID + + + + + TailoringWindow + + + Customizing '%1' + + + + + Title + + + + + Closes this window, discards any changes and deletes the profile that was being customized. + + + + + Delete profile + + + + + Closes this window and discards all changes. + + + + + Cancel + + + + + Confirms customization, returns to the main window. + + + + + OK + + + + + Toolbar + + + + + XCCDFItemPropertiesDockWidget + + + Selected Item Properties + + + + + Title + + + + + Type + + + + + Security Identifiers + + + + + Depends on Values + + + + + Modify Value + + + + + (string) + + + + + Only takes effect when this profile is used for evaluation. + + + + + ID + + + + + Description + + + + + Affects Rules + + + + diff --git a/i18n/scap-workbench.pt_BR.ts b/i18n/scap-workbench.pt_BR.ts new file mode 100644 index 00000000..29231c33 --- /dev/null +++ b/i18n/scap-workbench.pt_BR.ts @@ -0,0 +1,1517 @@ + + + + + CommandLineArgsDialog + + + Command-line arguments for OpenSCAP evaluation + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'monospace'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> + + + + + Copy to clipboard + + + + + Close + + + + + DiagnosticsDialog + + + Diagnostics + + + + + The messages are displayed in the order they were reported (top-down). + + + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'monospace'; font-size:11pt; font-weight:400; font-style:normal;"> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;"><br /></p></body></html> + + + + + Clear Messages + + + + + Copy to clipboard + + + + + Close + + + + + MainWindow + + + SCAP Workbench + + + + + &Open Other Content + + + + + &Quit + + + + + Ctrl+Q + + + + + About SCAP Workbench + + + + + User Manual + + + + + Into a &directory + + + + + As &RPM + + + + + About Qt + + + + + Show Diagnostics + + + + + Save Customization O&nly + + + + + Open content from &SCAP Security Guide + + + + + Open &Customization File + + + + + &Reload Opened Content + + + + + + Reload Opened Content + + + + + Duplicates the current profile, and opens a window to customize it. + + + + + Customize + + + + + Ctrl+T + + + + + Profile + + + + + Checklist + + + + + Target + + + + + Customization + + + + + Determines which XCCDF profile will be used for evaluation. Listed profiles come from the input content and customization file. + + + + + TItle of the XCCDF Benchmark + + + + + Title + + + + + Allows to select, load or reset a customization. Customization is called XCCDF Tailoring in the specification. + + + + + Selecting the Local Machine target will cause workbench to evaluate the same machine that it is running on. + + + + + Local Machine + + + + + The Remote Machine target enables workbench to scan any remote machine that can be accessed using SSH. + + + + + Remote Machine (over SSH) + + + + + Rules + + + + + Expand All + + + + + %p% (%v results, %m rules selected) + + + + + Show Guide + + + + + Generate remediation that contains fix for every single rule the in the profile. Note that not every rule implements a fix. + + + + + Generate remediation + + + + + When checked no action is performed after pressing Scan, a dialog with the used command-line arguments is shown instead. + + + + + Dry run + + + + + <html><head/><body><p>Allow download of&nbsp;remote OVAL content referenced from&nbsp;XCCDF by&nbsp;check-content-ref/@href.</p></body></html> + + + + + Fetch remote resources + + + + + <html><head/><body><p>Attempts to automatically correct issues identified by the scan.</p><p>Note: Automated remediation may impact system functionality.</p></body></html> + + + + + + Remediate + + + + + Starts the evaluation. + + + + + &Scan + + + + + Cancels the evaluation. Partial results may be lost. + + + + + Cancel + + + + + Causes workbench to forget all collected evaluation results and prepares it for another scan. + + + + + &Clear + + + + + &File + + + + + Save &All + + + + + &Help + + + + + ProcessProgressDialog + + + Process Progress + + + + + ProfilePropertiesDockWidget + + + Profile Properties + + + + + Description + + + + + Title + + + + + ID + + + + + QObject + + + Failed to open file in web browser! + + + + + Please check that your default browser is set to something sensible. As a workaround, please open<br/><a href="%1">%1</a><br/>manually. + + + + + Undo + + + + + Redo + + + + + Customizing "%1" + + + + + Undo History + + + + + + Select All + + + + + + Deselect All + + + + + Search + + + + + Are you sure you want to discard all changes performed in this tailoring window and delete the profile? + + + + + Delete profile + + + + + Don't delete profile + + + + + Are you sure you want to discard all changes performed in this tailoring window? + + + + + Discard + + + + + Don't discard + + + + + Showing match %1 out of %2 total found. + + + + + No matches found. + + + + + Select Group "%1" + + + + + Deselect Group "%1" + + + + + profile title to "%1" + + + + + profile description to "%1" + + + + + Select Rule "%1" + + + + + Deselect Rule "%1" + + + + + Set Value '%1' to '%2' + + + + + <no item selected> + + + + + xccdf:Benchmark + + + + + xccdf:Group + + + + + xccdf:Rule + + + + + xccdf:Value + + + + + (number) + + + + + (string) + + + + + (bool) + + + + + Exception was thrown while evaluating! Details follow: +%1 + + + + + + Select target directory + + + + + Saving SCAP content as RPM... + + + + + This rule is currently being processed. + + + + + The target system or system component satisfied all the conditions of this rule. + + + + + The target system or system component did not satisfy every condition of this rule. + + + + + The checking engine could not complete the evaluation, therefore the status of the target's compliance with the rule is not certain. This could happen, for example, if a testing tool was run with insufficient privileges and could not gather all of the necessary information. + + + + + The testing tool encountered some problem and the result is unknown. + + + + + The rule was not applicable to the target machine of the test. For example, the rule might have been specific to a different version of the target OS, or it might have been a test against a platform feature that was not installed. + + + + + The rule was not evaluated by the checking engine. There were no check elements inside the rule or none of the check systems of the check elements were supported. + + + + + The rule was not selected in the benchmark. + + + + + The rule was checked, but the output from the checking engine is simply information for auditors or administrators; it is not a compliance category. + + + + + The rule had failed, but was then fixed (most probably using remediation). + + + + + Save Report (HTML) + + + + + %1-xccdf.report.html + + + + + HTML Report (*.html) + + + + + Save as XCCDF Results + + + + + %1-xccdf.results.xml + + + + + XCCDF Results (*.xml) + + + + + Save as Result DataStream / ARF + + + + + %1-arf.xml + + + + + Result DataStream / ARF (*.xml) + + + + + username@hostname [sudo] + + + + + Save remediation as a bash script + + + + + bash script (*.%1) + + + + + Save remediation as an ansible playbook + + + + + ansible playbook (*.%1) + + + + + Save remediation as a puppet manifest + + + + + puppet manifest (*.%1) + + + + + + + SCAP Workbench + + + + + Success saving file: %1 + + + + + Error generating remediation '%2': %1 + + + + + + + Starting process '%1' + + + + + + + Cancel was requested! Sending terminate signal to the process... + + + + + + + Process had to be killed! Didn't terminate after %1 msec of waiting. + + + + + + Checking if oscap is available on remote machine... + + + + + Failed to locate oscap on remote machine. Please, check that openscap-scanner is installed on the remote machine. + + + + + Querying capabilities on remote machine... + + + + + Failed to query capabilities of oscap on remote machine. +Diagnostic info: +%1 + + + + + Copying input data to remote target... + + + + + Starting the remote process... + + + + + Failed to start ssh. Perhaps the executable was not found? + + + + + Processing on the remote machine... + + + + + Cancellation was requested! Terminating... + + + + + The oscap process didn't terminate in time, it will be killed instead. + + + + + XCCDF results + + + + + XCCDF report (HTML) + + + + + Result DataStream (ARF) + + + + + Cleaning up... + + + + + input file + + + + + tailoring file + + + + + XCCDF result file + + + + + XCCDF report file + + + + + Result DataStream file + + + + + Temporary Working Directory + + + + + + Processing has been finished! + + + + + Establishing a connection to remote target... + + + + + Connection established. + + + + + Can't connect to remote machine! Exception was: %1 + + + + + Failed to copy '%1' over to the remote machine! Diagnostic info: +%2 + + + + + Failed to create a valid temporary file to copy input data to! Diagnostic info: %1 + + + + + Failed to create a valid temporary dir. Diagnostic info: %1 + + + + + Failed to copy back %1. You will not be able to save this data! Diagnostic info: %2 + + + + + Failed to remove remote file %1. Diagnostic info: %2 + + + + + Failed to remove remote directory %1. Diagnostic info: %2 + + + + + Failed to query capabilities of oscap on local machine. +Diagnostic info: +%1 + + + + + Querying capabilities... + + + + + Creating temporary files... + + + + + Starting the oscap process... + + + + + Failed to start local scanning process '%1'. Perhaps the executable was not found? + + + + + Processing... + + + + + Cancellation was requested! Terminating scanning... + + + + + There was an error during evaluation! Exit code of the 'oscap' process was 1. + + + + + The oscap tool has finished. Reading results... + + + + + Scanning cancelled! + + + + + oscap tool doesn't support basic features required for workbench. Please make sure you have openscap 0.8.0 or newer. oscap version was detected as '%1'. + + + + + oscap tool doesn't support online remediation. Please make sure you have openscap 0.9.5 or newer if you want to use online remediation. oscap version was detected as '%1'. + + + + + oscap tool doesn't support taking ARFs (result datastreams) as input. Please make sure you have openscap <NOT IMPLEMENTED YET> or newer if you want to use offline remediation. oscap version was detected as '%1'. + + + + + oscap tool doesn't support source datastreams as input. Please make sure you have openscap 0.9.0 or newer if you want to use source datastreams. oscap version was detected as '%1'. + + + + + oscap tool doesn't support XCCDF tailoring but the session uses tailoring. Please make sure you have openscap 0.9.12 or newer on the target machine if you want to use tailoring features of SCAP Workbench. oscap version was detected as '%1'. + + + + + Error when parsing scan progress output from stdout of the 'oscap' process. ':' encountered while not reading rule ID, newline and/or rule result are missing! Read buffer is '%1'. + + + + + Error when parsing scan progress output from stdout of the 'oscap' process. Newline encountered while reading rule ID, rule result and/or ':' are missing! Read buffer is '%1'. + + + + + Select customization file... + + + + + None selected + + + + + (unsaved changes) + + + + + SCAP Workbench was compiled without local scanning support + + + + + SCAP Workbench was compiled without remote scanning support + + + + + SCAP Workbench was compiled without local and remote scanning support. Only tailoring is possible. + + + + + %1 - SCAP Workbench + + + + + Opened file '%1'. + + + + + Error while opening file. + + + + + Open Source DataStream or XCCDF file + + + + + Source DataStream, XCCDF file or SCAP RPM (*.xml *.xml.bz2 *.rpm);;All files (*) + + + + + Scan with no rules selected? + + + + + Chosen profile does not have any rules selected. Are you sure you want to evaluate with no rules selected? + + + + + Can't get XCCDF policy from the session. Very likely it failed to load. OpenSCAP error message: +%1 + + + + + There was a problem setting up the scanner. + + + + + Cancel scan in progress? + + + + + A scan is in progress. Are you sure you want to terminate it and close the application? + + + + + Unsaved customization changes + + + + + There are unsaved customization changes, closing SCAP Workbench will destroy them. Are you sure you want to close and discard the changes? + + + + + Closing the main window... + + + + + Failed to close file. + + + + + (default) + + + + + Error while refreshing available XCCDF profiles. + + + + + + Unsaved customization changes! + + + + + Are you sure you want to reset customization and wipe all unsaved changes? + + + + + Open customization (XCCDF tailoring file) + + + + + XCCDF tailoring file (*.xml *.xml.bz2) + + + + + Are you sure you want to load a customization file and wipe all unsaved changes? + + + + + Can't set scanning session to use customization '%1' (from combobox item data). As item QVariant data was QString::Null() '%2', '%3' or '%4' was expected as item text. + + + + + Failed to set up tailoring. + + + + + Failed to select XCCDF profile. + + + + + Failed to customize currently selected profile. + + + + + Failed to retrieve XCCDF policy when editing profile. + + + + + Can't edit a profile that isn't a tailoring profile!This is most likely a bug, please report it! + + + + + Save Customization As + + + + + XCCDF Tailoring file (*.xml) + + + + + Failed to save tailoring file. + + + + + Failed to save opened files. + + + + + The following file was modified after opening: %1 + + + + + Do you wish to reload it, losing any unsaved tailoring changes? + + + + + Reload + + + + + Ignore + + + + + <p>This application is called SCAP Workbench, the homepage can be found at <a href='https://www.open-scap.org/tools/scap-workbench/'>https://www.open-scap.org/tools/scap-workbench/</a></p> + + + + + Close currently opened file? + + + + + Opened file '%1' has to be closed before opening another file. Closing this file will lose any unsaved tailoring. + +Do you want to proceed? + + + + + unknown + + + + + info + + + + + warning + + + + + except + + + + + error + + + + + Close SCAP Workbench + + + + + RemoteMachineComboBox + + + RemoteMachineComboBox + + + + + User and host + + + + + Port + + + + + Check if the remote user doesn't have root privileges, but they can perform administrative tasks using paswordless sudo. + + + + + user is sudoer + + + + + List of recent hosts. + + + + + ResultViewer + + + Saves results of this evaluation. (Ctrl+S) + + + + + Save Results + + + + + Ctrl+S + + + + + Generate remediation that contains fix for every rule that failed in the scan. However, note that not every rule implements a fix. + + + + + Generate remediation + + + + + Opens the HTML report in the default browser of your desktop environment + + + + + &Show Report + + + + + RuleResultItem + + + Show/Hide description of this XCCDF rule + + + + + Title + + + + + RuleResultsTree + + + Form + + + + + SSGIntegrationDialog + + + Open SCAP Security Guide + + + + + <html><head/><body><p>SCAP Security Guide was found installed on this machine.</p><p>The content provided by SCAP Security Guide allows you to quickly scan your machine according to well stablished security baselines.</p><p>Also, these guides are a good starting point if you'd like to customize a policy or profile for your own needs.</p><p>Select one of the default guides to load, or select Other SCAP Content option to load your own content.</p></body></html> + + + + + Select content to load: + + + + + Dismiss + + + + + Load Content + + + + + SaveAsRPMDialog + + + Save as RPM + + + + + Package Name + + + + + Version + + + + + 1 + + + + + Release + + + + + Summary + + + + + License + + + + + Unspecified + + + + + Public Domain + + + + + GPLv2+ + + + + + CC-BY-SA + + + + + TailorProfileDialog + + + Customize Profile + + + + + <html><head/><body><p>Choose the ID of your profile.</p><p><span style=" font-weight:600;">Warning</span>: Choose it wisely. It cannot be changed later and may be required if you choose to use command line tools or various integrations of OpenSCAP.</p></body></html> + + + + + <html><head/><body><p>The ID has to have a format of &quot;xccdf_<span style=" font-weight:600;">{reverse DNS}</span>_profile_<span style=" font-weight:600;">{rest of the ID}</span>. <br/>For example &quot;xccdf_<span style=" font-weight:600;">org.mycorporation</span>_profile_<span style=" font-weight:600;">server</span>&quot;.</p></body></html> + + + + + New Profile ID + + + + + TailoringWindow + + + Customizing '%1' + + + + + Title + + + + + Closes this window, discards any changes and deletes the profile that was being customized. + + + + + Delete profile + + + + + Closes this window and discards all changes. + + + + + Cancel + + + + + Confirms customization, returns to the main window. + + + + + OK + + + + + Toolbar + + + + + XCCDFItemPropertiesDockWidget + + + Selected Item Properties + + + + + Title + + + + + Type + + + + + Security Identifiers + + + + + Depends on Values + + + + + Modify Value + + + + + (string) + + + + + Only takes effect when this profile is used for evaluation. + + + + + ID + + + + + Description + + + + + Affects Rules + + + + From 5c9acf1b974d61eac5fd51f4198514c17c9ae88f Mon Sep 17 00:00:00 2001 From: Gabriel Becker Date: Wed, 27 Oct 2021 15:02:40 +0200 Subject: [PATCH 4/4] Add installation phase to Fedora GH action build. --- .github/workflows/build.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index b52c5d16..bcfa07e1 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -40,6 +40,9 @@ jobs: cmake .. make -j4 popd + - name: Install + run: make install + working-directory: build # Disabled # build-macos: