Get last completed report
Get data of the last completed report of specified devices. Response data is also provided with a link to a downloadable JSON file.
Resource Name:
Request Method: POST
Request URL Parameters:
Element |
Type |
Description |
---|---|---|
devices Mandatory |
string |
List of device tree names, comma separated (,). To get a device tree name, use GET /devices method from the device-setup-controller. |
Response:
Status codes:
Code |
Description |
---|---|
200 |
OK (with download link) |
401 |
Unauthorized |
500 | Undocumented |
Request Curl example
curl -X POST "https://localhost/afa/api/v1/report/findLastCompletedReport" -H "accept: */*" -H "Content-Type: application/json" -d "[ \"Anemone_Merak\"]"
Response example for 200
{
"Anemone_Meraki": {
"id": 233151,
"user": "admin",
"firewall": "Anemone_Meraki",
"status": "COMPLETED",
"reportId": "afa-5905",
"type": "firewall",
"startDate": 1628521101000,
"pid": 25913,
"policy": "Algosec_Algosec - 3",
"riskProfile": "Perimeter.xml",
"updateDate": 1628521221027,
"attributes": {
"070_Rule_reordering_start": "2021-08-09-105911",
"Owner": "admin",
"IF_physical": "AN_audit_test_VLAN_778:ConflictVLAN_3:Default_1:NSXT_vlan_4:Q2KN_PGX5_XTVT_wan1:VLAN40_2:tunnel_Algosec___2:tunnel_Fake_VPN_device_123_123_123_1",
"Virtual_system": "Anemone_Meraki",
"Regulatory_score_nist_800-171": "29,5,25,70",
"Property_shared_rule_containers": "yes",
"Property_object_validation_error": "Name contains invalid characters. Name should begin with an alphanumeric character, and contain only alphanumeric characters or the following special characters (-,_,.) only",
"Property_license_type": "virtual",
"FW_Brand_Name": "Cisco Meraki",
"Regulatory_score_nist_800-53": "36,8,28,69",
"Property_comment_field": "Description",
"Script_data_collection": "/CollectGenRest/proxyToDeviceManagerDataCollection",
"Script_first_step_data_collection": "deviceDriverBasedDefinitionService",
"LogAnalysisEnd": "",
"010_Simulation_start": "2021-08-09-105842",
"JOURNAL_EXIT_CODE": "CHANGES_FOUND",
"FW_Display_Name": "Anemone1_Meraki",
"Display_Name": "",
"Regulatory_score_nist_800-41": "16,10,14,57",
"060_Usage_objects_start": "2021-08-09-105910",
"Orig_rule_num": "17",
"TimeZone": "-040",
"Regulatory_score_gdpr": "20,4,24,66",
"DMZ_counter_compl": "0",
"Compared_with": "afa-5903",
"Property_object_validation_pattern_regex": "^[a-zA-Z0-9]{1}([0-9a-zA-Z-_.])*$",
"Wait_For_Log_Collection": "yes",
"Risk_prev_Profile": "Perimeter.xml",
"105_Network_Map_start": "2021-08-09-105956",
"Property_service_group_name_max_length": "63",
"109_Update_Nat_rules_start": "2021-08-09-105952",
"040_Special_case_start": "2021-08-09-105944",
"rules_low": "0",
"Previous_Report_Name_Journal": "afa-5903",
"RegulatoryCompliance_gdpr": "GDPR",
"RegulatoryCompliance_iso27001": "ISO/IEC 27001",
"From_File_Analysis": "yes",
"Regulatory_score_pci": "28,8,24,66",
"Script_topology": "/parse/createUrt",
"RegulatoryCompliance_bsi": "BSI 200",
"Total_Hit_Count_Days": "3001",
"Regulatory_score_hkma": "12,3,6,71",
"Previous_FW_Name_Journal": "Anemone_Meraki",
"Special_case_rules_run": "yes",
"rulesChecksum": "636f3c0a119a6c199232c85eed060109",
"analyze_changes": "1",
"FW_Display_IP": "10.20.146.96",
"AFA_Version": "v3200.10.0-b1063",
"IF_logical": "AN_audit_test_VLAN_778:ConflictVLAN_3:Default_1:NSXT_vlan_4:Q2KN_PGX5_XTVT_wan1:VLAN40_2:tunnel_Algosec___2:tunnel_Fake_VPN_device_123_123_123_1",
"servicesChecksum": "0",
"networkObjectsChecksum": "917662b16c38c92e73defd44063d911c",
"Router_count": "0",
"analyze_risks": "1",
"Job_name": "afa-5905",
"Regulatory_score_glba": "24,7,13,69",
"Property_address_group_name_max_length": "63",
"Brand_Features": "configuration_fix,topology,parser,rules,data_collection,risks,skip_full_configuration_diff_subsystem,change_history,data_collection_from_file,regulatory_compliance,queries,full,first_step_data_collection,objects_support,optimize_policy,hide",
"Device_Brand_Id": "ciscomeraki",
"090_Advisor_start": "2021-08-09-105913",
"RegulatoryCompliance_glba": "GLBA",
"rules_high": "0",
"overallChecksum": "b9371b36711700a16f060aca77cb57bf",
"Property_collect_adtlog_from_syslog": "no",
"LAST_CYCLE_STATUS": "Success",
"Firewall_count": "39",
"RegulatoryCompliance_nist_800-41": "NIST SP 800-41",
"LMF_Rules_Number": "143",
"Runfa_command": "runfa -f /home/afa/algosec/firewalls/afa-5905/meraki3.zip -d afa-5905 -r Perimeter.xml",
"Device_license_type": "Firewall",
"RegulatoryCompliance_swift": "SWIFT",
"RegulatoryCompliance_nerc": "NERC CIP v6",
"Regulatory_score_nerc": "22,6,17,67",
"Medium": "1",
"Log_Server_Audit": "Anemone_Meraki",
"Data_Collection_finished": "10:58:21",
"Report_size": "9300",
"Property_fw_type": "GEN",
"No_comments_count": "1",
"full_analysis": "yes",
"applicationsChecksum": "0",
"Connectivity_Method": "rest",
"FW_Type": "GEN",
"URT_Filename": "Anemone_Meraki.urt",
"RegulatoryCompliance_nist_800-53": "NIST SP 800-53",
"Regulatory_score_iso27001": "20,4,24,66",
"Lic_Features": "Risk;Optimization;ActiveChange;FireFlow",
"FA_Ver": "v3200.10.0-b1063",
"Property_brand_suffix": "ciscomeraki",
"Pix_Rules_Format": "CPL",
"Script_configuration_fix": "GenericFix",
"RegulatoryCompliance_sox": "SOX",
"Completed_prev_at": "2021-08-08-075242",
"Optimize_summary": "28,3,",
"RegulatoryCompliance_hkma": "HKMA",
"RegulatoryCompliance_dsd": "ASD ISM",
"RegulatoryCompliance_trm": "MAS TRM",
"OBJECT_CONTAINER_MANAGERS": "Anemone_Meraki",
"License_id": "0e9b2dd5",
"Property_id_variable_type": "char",
"Regulatory_score_bsi": "20,4,24,66",
"LogAnalysisStart": "",
"Property_object_change_supported": "no",
"Property_service_name_max_length": "63",
"Inside_counter_compl": "66049",
"RegulatoryCompliance_pci": "PCI-DSS v3.2.1",
"Regulatory_score_trm": "54,19,22,68",
"JOURNAL_RUN_ID": "153301",
"MachineTypeAndIp": "Standalone:127.0.0.1",
"Messages_dir": "16553",
"Regulatory_score_lgpd": "20,4,24,66",
"DEVICE_LICENSE_ID": "192.168.130.1",
"EmailNotification": "False",
"NUMBER_OF_SERVICES": "206",
"020_Counters_start": "2021-08-09-105842",
"Rule_consolidation_run": "yes",
"CommandOutputFile": "/home/afa/algosec/firewalls/afa-5905/meraki3.zip",
"Regulatory_score_sox": "5,4,0,55",
"Property_support_policy": "yes",
"config_type": "INTERFACE_BASED",
"Monitor_directory": "/home/afa/algosec/monitor/Anemone_Meraki",
"Fa_master_command": "-o admin -n Anemone_Meraki -D Anemone1_Meraki -r Perimeter.xml -a -p /home/afa/public_html/algosec/session-8jikag1vv3k0p2l6s2rrba9276/work/gui-analysis_pid-16512",
"Property_allow_edit_work_order": "yes",
"RegulatoryCompliance_basel": "Basel-II",
"Received_at": "2021-08-09-105821",
"Property_rules_structure": "edge",
"Regulatory_score_hipaa": "13,5,8,65",
"Last_Hit_Count_Date": "9-Aug-2021",
"110_Print_export_start": "2021-08-09-105953",
"Trusted_traffic": "4",
"analyze_optimizations": "1",
"Script_queries": "/parse/createExpandedRules",
"Unrouted_Analysis_Done": "no",
"Hosts_num": "98",
"Low": "0",
"Property_audit_log_matching_column": "original rule uid",
"Property_skip_implicit_cleanup_rule": "yes",
"Log_Server": "Anemone_Meraki",
"configFileName": "config_parser.json",
"RegulatoryCompliance_lgpd": "LGPD",
"trust_rfc1918": "yes",
"Activated_by": "WebGui",
"NUM_of_INTERFACES": "8",
"Regulatory_score_basel": "5,4,0,55",
"Data_Collection_started": "10:58:21",
"108_C_To_Orig_Rules_Mapping_start": "2021-08-09-105952",
"analyze_baseline": "1",
"Max_Host_Hint": "36",
"FW_ID": "192.168.130.1",
"Property_use_config_parser_json": "yes",
"Property_use_device_group_objects": "yes",
"rules_medium": "0",
"rules_susp_high": "3",
"Property_support_fireflow": "no",
"Property_new_orig_rules_reposit_headers": "yes",
"FW_IP": "10.20.146.96",
"Need_To_Update_Map": "yes",
"Done_Log_Analysis": "no",
"Suspected_High": "2",
"Archive_name": "/home/afa/algosec/firewalls/afa-5905/meraki3.zip",
"Master_Pid": "16553",
"NUM_of_ZONES": "8",
"Pid": "25913",
"RegulatoryCompliance_hipaa": "HIPAA",
"journal_command": "journal ",
"000_runfa_start": "2021-08-09-105824",
"schedulesChecksum": "0",
"FW_Ver": "-",
"overallChecksumChanged": "yes",
"Regulatory_score_dsd": "31,11,33,63",
"Policy": "Algosec_Algosec - 3",
"Job_status": "COMPLETED",
"Property_rule_removal_supported": "no",
"Submitted_by": "afa",
"050_Usage_rules_start": "2021-08-09-105907",
"First_Hit_Count_Date": "23-May-2013",
"Property_collect_extra_raw_files": "*.ciscomeraki",
"030_Base_HTML_creation_start": "2021-08-09-105847",
"FW_Name": "Anemone_Meraki",
"OBJECT_CONTAINER_NAMES": "Anemone_Meraki",
"ModeLookup": "no",
"Property_objects_modification_supported": "no",
"Job_dir_exist": "1",
"IF_type": "INTERNAL:INTERNAL:INTERNAL:INTERNAL:EXTERNAL:INTERNAL:INTERNAL:INTERNAL",
"natRulesChecksum": "ca09aa334e4e975d965315f1b17ca1c4",
"Script_data_collection_from_file": "/CollectGenRest/proxyToDeviceManagerDataCollectionFromFile",
"shouldExitWhenUnchanged": "no",
"Property_address_name_max_length": "63",
"Script_rules": "gen_rules",
"100_Journal_start": "2021-08-09-105941",
"Regulatory_score_swift": "15,3,16,67",
"Property_support_interface_in_from_to_zone_nat": "yes",
"Comprehensive_Mode": "yes",
"Completed_at": "2021-08-09-105953",
"Property_time_clause_field": "schedule",
"Lic_Parms": "License_type:PerFW-Online,MAC_Address:005056AEA37E,Issued_by:root,License_version:7.2,Firewalls_quota:9999,Issued_on:31-Dec-2020,License_id:0e9b2dd5,Routers_quota:9999,Modules_:Core;Optimization;Risk;FireFlow;ActiveChange;BusinessFlow-9999;AutoDiscovery-999,Account_name:Demo,Monitored_devices_quota:9999,Expires_on:31-Dec-2021",
"Has_Previous_Reports": "yes",
"Property_presentable_identifier_field": "Name",
"Security_Rating": "92",
"analyze_compliance": "1",
"Device_Name": "Anemone_Meraki",
"120_Cleanup_start": "2021-08-09-105953",
"RiskProfile": "Perimeter.xml",
"RegulatoryCompliance_nist_800-171": "NIST SP 800-171",
"Is_change_installed": "no",
"Max_ApplGrp_Hint": "0",
"Tree_Name": "Anemone_Meraki",
"Property_gateway_NAT_rules": "yes",
"Property_add_gen_prefix": "no",
"Script_parser": "config_parser_json2out",
"Property_empty_objects": "no",
"080_Usage2HTML_start": "2021-08-09-105912",
"Cookie_name": "08091058",
"interfacesChecksum": "c776d6ea131f98bb7275af294e4ead33",
"No_logs_count": "11",
"High": "0",
"collect_exit": "",
"Max_Service_Hint": "1",
"Property_action_fields": "action,log,additional_properties:policy_name,additional_properties:domain",
"Property_allow_multiple_zones": "yes",
"Data_Collection_Status": "COMPLETED"
},
"prevReportDate": 1628423579062,
"activeComplianceId": "PCI",
"partialData": false
}
}
Download