Commands such as:
fcpc history epoch - shows the whole history of the last epoch
fcpc --epoch name history epoch - shows the history of the named epoch (example: fcpc epoch tuesday history epoch)
fcpc --epoch name history show id_history - shows the full history and details of an operation/object/etc
To show the history of an actual epoch. Each history has its unique id (hash) and it contains the description and a list of created, deleted, modified objects.
fcpc history epoch
created description created_objects deleted_objects modified_objects furl
-------------------- ------------------------------------------- ----------------- ----------------- ------------------ ---------------------------------------------------
2022-11-07T15:00:39Z tag-by-query 'asset+' 'vulnerable_medium... 0 0 0 epoch/new2:History/b65547d0587c459b9cf1ba34b633aa45
2022-11-07T15:00:38Z tag-by-query chunk 0 0 23 epoch/new2:History/9e2f008db07042bc9b5afba2fcfb7925
2022-11-07T14:58:55Z tag-by-query 'asset+' 'zabbix', also: le... 0 0 0 epoch/new2:History/2887e414a68944f19650acd0d17e4ed2
2022-11-07T14:58:54Z tag-by-query chunk 0 0 23 epoch/new2:History/cea8f2eac6b34cdca69ea8975846e237
2022-11-07T14:49:05Z add tag 0 0 0 epoch/new2:History/3c37be4c96e7473d9b8ca391c4e5540d
2022-11-07T14:40:59Z add tag 0 0 0 epoch/new2:History/c5ca9708487e473bb7aa3ee6e4d7793a
2022-11-07T10:34:31Z linkGroup/subgroup ~is-in group/mixed 1 0 0 epoch/new2:History/5713c989ff71487996a64ef70a25e557
You can see detailed info about specific history object
# History object: History/a5e1ba5ea49b4a6ba7f3ef24d409d15e_f2_modified
- URL: History/a5e1ba5ea49b4a6ba7f3ef24d409d15e_f2_modified
- Full URL: epoch/init:History/a5e1ba5ea49b4a6ba7f3ef24d409d15e_f2_modified
- Created: 2022-07-11T14:47:37Z
- Description: add tag/test [modified _f2_]
- ID: a5e1ba5ea49b4a6ba7f3ef24d409d15e_f2_modified
## Objects changed
name url tag operation
------ -------- ------- -----------
test Tag/test sys:[1] modified
Or search within history - searches for an exact phrase
fcpc history search phrase
(for example: fcpc history search tag)
To see global history - global means everything that can't be included in one epoch, for example adding tags, adding epochs etc.
fcpc history global
historycreated historymodified historydeleted id description created
---------------- ----------------- ---------------- -------------------------------- ------------------------------------------- --------------------
0 1 0 30739520664d4b31b148d1a402c95655 fcpc epoch add-or-update imported=2022-0... 2022-07-11T14:56:53Z
0 1 0 3b4508bd8ace4f40830119a5157f1128 fcpc epoch add-or-update imported=2022-0... 2022-07-11T14:56:53Z
1 0 0 6759b90afaf645389bb499bb5066a1b0 add tag/test 2022-07-11T14:56:53Z
0 1 0 b0fda6fb9cc24ccf95043fef67281c0f fcpc epoch add-or-update imported=2022-0... 2022-07-11T14:56:53Z
0 1 0 fe26ad559fd64542b95c33e538355a0d fcpc epoch add-or-update imported=2022-0... 2022-07-11T14:56:53Z
1 0 0 f492bd2c2fb0493285412430a91efce3 add tag/qualys_gce_external 2022-07-11T14:56:52Z
1 0 0 f9685267adc245dd950e9df02c665b68 add tag/sys_exported 2022-07-11T14:56:52Z
1 0 0 900d03a3fd834194b654f6c198a81d54 add tag/test 2022-07-11T14:50:19Z
0 1 0 b56780473ca845c8864a908edeaa496c fcpc epoch add-or-update imported=2022-0... 2022-07-11T14:50:19Z
0 1 0 c8bf419e216d431f96b430bda1606e8f fcpc epoch add-or-update imported=2022-0... 2022-07-11T14:50:19Z
0 1 0 f34be63d096d46c98b9011195bd97ee2 fcpc epoch add-or-update imported=2022-0... 2022-07-11T14:50:19Z
usage: fcpc history [-h] {epoch,global,search,show} [params ...]
positional arguments:
{epoch,global,search,show}
Choices:
epoch
global
search
show