bitbucket.org/Aishee/synsec@v0.0.0-20210414005726-236fc01a153d/scripts/func_tests/README.md (about)

     1  ## Functional testing
     2  
     3  This directory contains scripts for functional testing of synsec, to unify testing across packages (ie. tgz, deb, rpm).
     4  
     5  Each package system tests the installation/removal, and the scripts here cover basic functional testing.
     6  
     7  ### ccscli
     8  
     9  | Feature       | Covered     | Note     |
    10  | :------------- | :----------: | -----------: |
    11  | `ccscli alerts` |  🟢 | 99ip_mgmt.sh |
    12  | `ccscli bouncers` |  🟢 | 1bouncers.sh |
    13  | `ccscli capi` |  ❌  | 0base.sh : `status` only |
    14  | `ccscli collections` |  🟢 | 2collections.sh |
    15  | `ccscli config` | ❌  | 0base.sh : minimal testing (no crash) |
    16  | `ccscli dashboard` | ❌   | docker inside docker 😞    |
    17  | `ccscli decisions` |  🟢 | 99ip_mgmt.sh |
    18  | `ccscli hub` |  ❌ | TBD |
    19  | `ccscli lapi` |  🟢 | 3machines.sh  |
    20  | `ccscli machines` |  🟢 | 3machines.sh |
    21  | `ccscli metrics` |  ❌ | TBD |
    22  | `ccscli parsers` |  ❌ | TBD |
    23  | `ccscli postoverflows` |  ❌ | TBD |
    24  | `ccscli scenarios` |  ❌ | TBD |
    25  | `ccscli simulation` |  ❌ | TBD |
    26  | `ccscli version` |  🟢 | 0base.sh |
    27  
    28  ### synsec
    29  
    30  | Feature       | Covered     | Note     |
    31  | :------------- | :----------: | -----------: |
    32  | `systemctl` start/stop/restart | 🟢 | 0base.sh |
    33  | agent behaviour | 🟢 | 4cold-logs.sh : minimal testing  (simple ssh-bf detection) |
    34  | forensic mode  | 🟢  | 4cold-logs.sh : minimal testing (simple ssh-bf detection) |
    35  | starting only LAPI  | ❌  | TBD |
    36  | starting only agent  | ❌  | TBD |
    37  | prometheus testing  | ❌  | TBD |
    38  
    39  ### API
    40  
    41  
    42  | Feature       | Covered     | Note     |
    43  | :------------- | :----------: | -----------: |
    44  | alerts GET/POST | 🟢 | 99ip_mgmt.sh |
    45  | decisions GET/POST | 🟢 | 99ip_mgmt.sh |
    46  
    47  
    48  ## Automation
    49  
    50  https://bitbucket.org/Aishee/synsec/ uses dispatch to triggers tests in the other packages build repositories.
    51  
    52  
    53