![]() |
Panoptes 1.0.0
Endpoint Detection and Response
|
Go to the source code of this file.
Functions | |
| bool | FileExists (const std::string &filePath) |
| Check if a file exists. | |
| void | RemoveStringFromVector (std::vector< std::string > &vec, const std::string &str) |
| Remove a string from a vector. | |
| bool | IsStringInVector (const std::vector< std::string > &vec, const std::string &str) |
| Check if a string is in a vector. | |
| int | main (int argc, char *argv[]) |
Variables | |
| std::vector< std::string > | AcceptableConfigParams |
| The acceptable configuration parameters. | |
| std::vector< std::string > | RequiredConfigParams |
| The required configuration parameters. | |
| bool FileExists | ( | const std::string & | filePath | ) |
Check if a file exists.
| filePath | The path to the file |
Definition at line 22 of file PanoptesLinter.cpp.
Referenced by main().
| bool IsStringInVector | ( | const std::vector< std::string > & | vec, |
| const std::string & | str | ||
| ) |
Check if a string is in a vector.
| vec | The vector to check |
| str | The string to check |
Definition at line 39 of file PanoptesLinter.cpp.
Referenced by main().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 43 of file PanoptesLinter.cpp.
References AcceptableConfigParams, FileExists(), Configuration::GetJsonKeys(), IsStringInVector(), Configuration::IsValidJson(), RemoveStringFromVector(), and RequiredConfigParams.
| void RemoveStringFromVector | ( | std::vector< std::string > & | vec, |
| const std::string & | str | ||
| ) |
Remove a string from a vector.
Remove a string from a vector
| vec | The vector to remove the string from |
| str | The string to remove |
Definition at line 31 of file PanoptesLinter.cpp.
Referenced by main().
| std::vector<std::string> AcceptableConfigParams |
The acceptable configuration parameters.
Definition at line 5 of file PanoptesLinter.cpp.
Referenced by main().
| std::vector<std::string> RequiredConfigParams |
The required configuration parameters.
Definition at line 14 of file PanoptesLinter.cpp.
Referenced by main().