add ibfe_api script
Closes #351 (closed)
Tested in staging: https://code-ib.staging.dso.mil/dsop/redhat/ubi/ubi8/-/jobs/2225 Newest builds being added to IBFE DB via API post
MariaDB [dcar_db]> select build_link.*, build.`number` from image inner join build on build.imageId = image.id inner join build_link on build.id = build_link.buildId where image.name = 'ubi8' and image.version = '8.6' and build.number = 380;
+----+-----------------------+-----+--------------------+---------+---------+--------+
| id | label | URL | URLText | buildId | errorId | number |
+----+-----------------------+-----+--------------------+---------+---------+--------+
| 81 | Anchore | | Gates | 5 | NULL | 380 |
| 82 | Anchore | | Security | 5 | NULL | 380 |
| 83 | Image Scanned | | ubi8 | 5 | NULL | 380 |
| 84 | Manifest | | manifest.json | 5 | NULL | 380 |
| 85 | OpenSCAP CSV | | Compliance | 5 | NULL | 380 |
| 86 | OpenSCAP CSV | | Oval | 5 | NULL | 380 |
| 87 | OpenSCAP HTML | | OpenSCAP Report | 5 | NULL | 380 |
| 88 | OpenSCAP HTML | | OVAL Report | 5 | NULL | 380 |
| 89 | PGP Signature | | signature.sig | 5 | NULL | 380 |
| 90 | Summary Report | | | 5 | NULL | 380 |
| 91 | Download | | Download All Files | 5 | NULL | 380 |
| 92 | Twistlock | | Twistlock | 5 | NULL | 380 |
| 93 | Version Documentation | | | 5 | NULL | 380 |
| 94 | Readme | | Readme.md | 5 | NULL | 380 |
| 95 | License | | License | 5 | NULL | 380 |
| 96 | Full Report | | | 5 | NULL | 380 |
+----+-----------------------+-----+--------------------+---------+---------+--------+
Edited by David Freeman