Skip to content

Commit

Permalink
commented out resolute
Browse files Browse the repository at this point in the history
  • Loading branch information
iamundson committed Jun 19, 2024
1 parent 4c0965c commit 9bf3667
Show file tree
Hide file tree
Showing 45 changed files with 309 additions and 294 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
/agree.log
/diagrams/
/instances/
/.metadata/
Binary file modified Cyber-Resilient-UAV/.aadlbin-gen/.AGREE_Definitions.aadlbin
Binary file not shown.
Binary file modified Cyber-Resilient-UAV/.aadlbin-gen/.CASE_Scheduling.aadlbin
Binary file not shown.
Binary file modified Cyber-Resilient-UAV/.aadlbin-gen/.Data_Types.aadlbin
Binary file not shown.
Binary file modified Cyber-Resilient-UAV/.aadlbin-gen/.FC.aadlbin
Binary file not shown.
Binary file modified Cyber-Resilient-UAV/.aadlbin-gen/.GS.aadlbin
Binary file not shown.
Binary file modified Cyber-Resilient-UAV/.aadlbin-gen/.HAMR.aadlbin
Binary file not shown.
Binary file modified Cyber-Resilient-UAV/.aadlbin-gen/.MC.aadlbin
Binary file not shown.
Binary file modified Cyber-Resilient-UAV/.aadlbin-gen/.SW.aadlbin
Binary file not shown.
Binary file modified Cyber-Resilient-UAV/.aadlbin-gen/.UAS.aadlbin
Binary file not shown.
Binary file modified Cyber-Resilient-UAV/.aadlbin-gen/.UAS_Buses.aadlbin
Binary file not shown.
Binary file modified Cyber-Resilient-UAV/.aadlbin-gen/.UAV.aadlbin
Binary file not shown.
13 changes: 13 additions & 0 deletions Cyber-Resilient-UAV/.aadlbin-gen/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/.AGREE_Definitions.aadlbin
/.CASE_Scheduling.aadlbin
/.Data_Types.aadlbin
/.FC.aadlbin
/.GS.aadlbin
/.HAMR.aadlbin
/.MC.aadlbin
/.SW.aadlbin
/.UAS.aadlbin
/.UAS_Buses.aadlbin
/.UAV.aadlbin
/.CASE_Model_Transformations.aadlbin
/.CASE_Properties.aadlbin
Binary file not shown.
1 change: 1 addition & 0 deletions Cyber-Resilient-UAV/.aadlbin-gen/Requirements/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.CASE_Requirements.aadlbin
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
482 changes: 241 additions & 241 deletions Cyber-Resilient-UAV/CASE_Model_Transformations.aadl

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions Cyber-Resilient-UAV/MC.aadl
Original file line number Diff line number Diff line change
Expand Up @@ -102,26 +102,26 @@ public
Actual_Memory_Binding => (reference (Mem_HW)) applies to SW;
HAMR::Bit_Codec_Raw_Connections => true;
CASE_Properties::OS => seL4 applies to Proc_HW;
annex resolute {**
check HAMR_Guidelines
argue MissionComputer_Impl_cyber_resilient(this)
**};
-- annex resolute {**
-- check HAMR_Guidelines
-- argue MissionComputer_Impl_cyber_resilient(this)
-- **};
end MissionComputer.Impl;

annex resolute {**

goal MissionComputer_Impl_cyber_resilient(sys : system) <=
** "The " sys " is acceptably cyber-resilient" **
strategy : "Argue over security requirements";
security_requirements_complete(sys) and MissionComputer_Impl_security_requirements_satisfied(sys)

goal MissionComputer_Impl_security_requirements_satisfied(sys : system) <=
** "Security requirements are satisfied" **
MissionComputer_Impl_security_requirements_satisfied_in_model() and security_requirements_satisfied_in_implementation(sys)

goal MissionComputer_Impl_security_requirements_satisfied_in_model() <=
** "Security requirements are satisfied in the system model" **
Req_Attestation() and Req_Filter() and Req_Monitor() and Req_Separation()

**};
-- annex resolute {**
--
-- goal MissionComputer_Impl_cyber_resilient(sys : system) <=
-- ** "The " sys " is acceptably cyber-resilient" **
-- strategy : "Argue over security requirements";
-- security_requirements_complete(sys) and MissionComputer_Impl_security_requirements_satisfied(sys)
--
-- goal MissionComputer_Impl_security_requirements_satisfied(sys : system) <=
-- ** "Security requirements are satisfied" **
-- MissionComputer_Impl_security_requirements_satisfied_in_model() and security_requirements_satisfied_in_implementation(sys)
--
-- goal MissionComputer_Impl_security_requirements_satisfied_in_model() <=
-- ** "Security requirements are satisfied in the system model" **
-- Req_Attestation() and Req_Filter() and Req_Monitor() and Req_Separation()
--
-- **};
end MC;
66 changes: 33 additions & 33 deletions Cyber-Resilient-UAV/Requirements/CASE_Requirements.aadl
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,37 @@ package CASE_Requirements
private
annex resolute {**

goal Req_Attestation() <=
** "[attestation] Communication sources shall be trusted" **
context Generated_By : "GearCASE";
context Generated_On : "2022-09-09-180532";
context Req_Component : "MC::MissionComputer.Impl.SW.RadioDriver";
context Formalized : "False";
add_attestation_manager("MC::MissionComputer.Impl.SW.RadioDriver", "MC::MissionComputer.Impl.SW.AttestationManager", "MC::MissionComputer.Impl.SW.AttestationGate")

goal Req_Filter() <=
** "[permit_well_formed_data] Messages shall be well-formed" **
context Generated_By : "GearCASE";
context Generated_On : "2022-09-09-180532";
context Req_Component : "MC::MissionComputer.Impl.SW.FlightPlanner";
context Formalized : "True";
agree_property_checked("MC::MissionComputer.Impl.SW.FlightPlanner", "Req_Filter") and add_filter("MC::MissionComputer.Impl.SW.FlightPlanner", "MC::MissionComputer.Impl.SW.Filter", "MC::MissionComputer.Impl.SW.c7", Data_Types::RF_Msg.Impl)

goal Req_Monitor() <=
** "[monitor_correctness] Output of uncontrolled component shall be monitored for incorrect behavior" **
context Generated_By : "GearCASE";
context Generated_On : "2022-09-09-180532";
context Req_Component : "MC::MissionComputer.Impl.SW.FlightPlanner";
context Formalized : "False";
add_monitor_gate("MC::MissionComputer.Impl.SW.FlightPlanner", "MC::MissionComputer.Impl.SW.Monitor", "MC::MissionComputer.Impl.SW.Monitor.Alert", "MC::MissionComputer.Impl.SW.FlightController", Data_Types::Mission)

goal Req_Separation() <=
** "[separation_kernel] Software shall run on a formally verified separation kernel" **
context Generated_By : "GearCASE";
context Generated_On : "2022-09-09-180532";
context Req_Component : "MC::MissionComputer.Impl.SW";
context Formalized : "False";
sel4_transform("MC::MissionComputer.Impl.SW")

**};
-- goal Req_Attestation() <=
-- ** "[attestation] Communication sources shall be trusted" **
-- context Generated_By : "GearCASE";
-- context Generated_On : "2022-09-09-180532";
-- context Req_Component : "MC::MissionComputer.Impl.SW.RadioDriver";
-- context Formalized : "False";
-- add_attestation_manager("MC::MissionComputer.Impl.SW.RadioDriver", "MC::MissionComputer.Impl.SW.AttestationManager", "MC::MissionComputer.Impl.SW.AttestationGate")
--
-- goal Req_Filter() <=
-- ** "[permit_well_formed_data] Messages shall be well-formed" **
-- context Generated_By : "GearCASE";
-- context Generated_On : "2022-09-09-180532";
-- context Req_Component : "MC::MissionComputer.Impl.SW.FlightPlanner";
-- context Formalized : "True";
-- agree_property_checked("MC::MissionComputer.Impl.SW.FlightPlanner", "Req_Filter") and add_filter("MC::MissionComputer.Impl.SW.FlightPlanner", "MC::MissionComputer.Impl.SW.Filter", "MC::MissionComputer.Impl.SW.c7", Data_Types::RF_Msg.Impl)
--
-- goal Req_Monitor() <=
-- ** "[monitor_correctness] Output of uncontrolled component shall be monitored for incorrect behavior" **
-- context Generated_By : "GearCASE";
-- context Generated_On : "2022-09-09-180532";
-- context Req_Component : "MC::MissionComputer.Impl.SW.FlightPlanner";
-- context Formalized : "False";
-- add_monitor_gate("MC::MissionComputer.Impl.SW.FlightPlanner", "MC::MissionComputer.Impl.SW.Monitor", "MC::MissionComputer.Impl.SW.Monitor.Alert", "MC::MissionComputer.Impl.SW.FlightController", Data_Types::Mission)
--
-- goal Req_Separation() <=
-- ** "[separation_kernel] Software shall run on a formally verified separation kernel" **
-- context Generated_By : "GearCASE";
-- context Generated_On : "2022-09-09-180532";
-- context Req_Component : "MC::MissionComputer.Impl.SW";
-- context Formalized : "False";
-- sel4_transform("MC::MissionComputer.Impl.SW")
--
-- **};
end CASE_Requirements;

0 comments on commit 9bf3667

Please sign in to comment.