Protected vs Not-Protected BIG-IP® Connection in Functional Tests
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Read f5_cccl/f5_cccl/resource/ltm/http_monitor.py, https_monitor.py, icmp_monitor.py, and tcp_monitor.py, focusing on each monitor_schema_kvps namedtuple and the BEGIN if/then block. Check the functional-test behavior for main versus non-main execution. Done means the objects are protected from unintended changes while remaining shared across instantiated monitors.
Written by the indexing model from the issue text.
Description
In the
./f5-cccl/f5_cccl/resource/ltm/*monitor.py
Set of files, there is a variable that should be protected called *Monitor.monitor_schema_kvps. So in the...
./http_monitor.pyit is theHTTPMonitor.monitor_schema_kvps./https_monitor.pyit is theHTTPSMonitor.monitor_schema_kvps./icmp_monitor.pyit is theICMPMonitor.monitor_schema_kvps./tcp_monitor.pyit is theTCPMonitor.monitor_schema_kvps
These objects are namedtuple's that should be only changeable by this object, but share across all instantiated instances. In the way that I originally authored these files, it is modified in the "BEGIN" statement in the bottom of each file within the if/then block for whether or not the executor instance is __main__ (negative) or not (positive).
This was originally meant to be a level of future-proofing allowing for the later functionality of implementing a dynamic schema based upon the original inputs that might include different schemas.
This is a low-priority bug or enhancement that would add a level of protection.
- Dominant language
- Python
- Stars
- 13
- Forks
- 48
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from f5devcentral/f5-cccl
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
f5devcentral/f5-cccl#250 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 50/100
f5devcentral/f5-cccl#248 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
f5devcentral/f5-cccl#247 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
f5devcentral/f5-cccl#246 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 20/100
f5devcentral/f5-cccl#245 ·
All issues in f5devcentral/f5-cccl
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
SACGF/variantgrid#2341 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
comp/cli P3 type/security
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
NousResearch/hermes-agent#141420 · 1 comment ·
Maintainers usually reply within 1 day
-
CKV_GCP_18 (GKEPublicControlPlane) passes when master_authorized_networks_config is absent, control plane is internet-reachablePossibly taken @Varshith-Kali claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
bridgecrewio/checkov#7753 ·
Maintainers usually reply within 1 day