File indexing completed on 2024-12-15 03:45:00
0001 /* 0002 SPDX-FileCopyrightText: 2017 Volker Krause <vkrause@kde.org> 0003 0004 SPDX-License-Identifier: MIT 0005 */ 0006 0007 #ifndef KUSERFEEDBACK_CONSOLE_SECURITYSCANJOB_H 0008 #define KUSERFEEDBACK_CONSOLE_SECURITYSCANJOB_H 0009 0010 #include "job.h" 0011 0012 #include <QVector> 0013 0014 namespace KUserFeedback { 0015 namespace Console { 0016 0017 class RESTClient; 0018 0019 /*! Scan a server for common misconfigurations. */ 0020 class SecurityScanJob : public Job 0021 { 0022 Q_OBJECT 0023 public: 0024 explicit SecurityScanJob(RESTClient *restClient, QObject *parent = nullptr); 0025 ~SecurityScanJob() override; 0026 0027 private: 0028 void processPending(); 0029 0030 RESTClient *m_restClient; 0031 QVector<QString> m_pendingPaths; 0032 }; 0033 0034 }} 0035 0036 #endif // KUSERFEEDBACK_CONSOLE_SECURITYSCANJOB_H