eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/translations.py

changeset 7622
384e2aa5c073
parent 7619
ef2b5af23ce7
child 7628
f904d0eef264
diff -r ffd1f00ca376 -r 384e2aa5c073 eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/translations.py
--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/translations.py	Tue Jun 16 17:44:28 2020 +0200
+++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/translations.py	Tue Jun 16 17:45:12 2020 +0200
@@ -361,6 +361,14 @@
         "Security",
         "Potential XSS on 'mark_safe()' function."),
     
+    # hardcoded AWS passwords
+    "S801": QCoreApplication.translate(
+        "Security",
+        "Possible hardcoded AWS access key ID: {0:r}"),
+    "S802": QCoreApplication.translate(
+        "Security",
+        "Possible hardcoded AWS secret access key: {0:r}"),
+    
     # Syntax error
     "S999": QCoreApplication.translate(
         "Security",
@@ -402,5 +410,8 @@
     
     "S609": ["os.system"],
     
+    "S801": ["A1B2C3D4E5F6G7H8I9J0"],
+    "S802": ["aA1bB2cC3dD4/eE5fF6gG7+hH8iI9jJ0=kKlLM+="],
+    
     "S999": ["SyntaxError", "Invalid Syntax"],
 }

eric ide

mercurial