Skip to content

Commit 9c20398

Browse files
committed
changed noncompliant explaination text as per discussion with Hubert
Signed-off-by: Helge Wehder <[email protected]>
1 parent b1a4738 commit 9c20398

File tree

1 file changed

+1
-1
lines changed
  • docs/Secure-Coding-Guide-for-Python/CWE-693/CWE-798

1 file changed

+1
-1
lines changed

docs/Secure-Coding-Guide-for-Python/CWE-693/CWE-798/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Issues with hard-coded sensitive information include:
2828

2929
## Non-Compliant Code Example
3030

31-
In the `noncompliant01.py` code example, the `front_end` method simulates our `front-end` service that wants to connect to a `back-end` service together with its deployment in the same file. A real world example would have each run and delivered separately. The `TestSimulateDeployingFrontEnd` unit test simulates a deployment of the `front_end`. The implementation of the `front_end` did not consider deployment in separation to delivering the functionality it provides and has therefore hardcoded the connection information and machine to machine username and password credentials..
31+
The `noncompliant01.py` code example is simulating a `front-end`, `back-end`, and its deployment in one file. A real world example would have each run and delivered separately. The `TestSimulateDeployingFrontEnd` unit-test simulates a deployment of the `front_end`. The implementation of the `front_end` did not consider leaving connection details to the deployment and hardcoded them instead.
3232

3333
[*noncompliant01.py*](noncompliant01.py)
3434

0 commit comments

Comments
 (0)