23.02.2015 Views

D.3.3 ALGORITHMS FOR INCREMENTAL ... - SecureChange

D.3.3 ALGORITHMS FOR INCREMENTAL ... - SecureChange

D.3.3 ALGORITHMS FOR INCREMENTAL ... - SecureChange

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CModel. The postcondtion checks the asset in the CORAS model CModel that is<br />

mapped to the service Asset protected by the soft goal SecGoal. The action presents<br />

Services as a potential treatment for asset Asset.<br />

g t r u l e t r a n s f o r m T r e a t m e n t ( o u t Treatment , o u t ReqModel , o u t<br />

TraceModel ) ={<br />

p r e c o n d i t i o n p a t t e r n unmappedTreatment ( Treatment , A s s e t )<br />

={<br />

f i n d harmedAsset ( Treatment , T h r e a t S c e n a r i o , A s s e t ) ;<br />

neg f i n d mappedElement ( Treatment , TraceModel , Source ,<br />

T a r g e t ) ;<br />

}<br />

}<br />

p o s t c o n d i t i o n p a t t e r n newTask ( Asset , Task , ReqModel ,<br />

TraceModel ) ={<br />

f i n d s i s t a r m o d e l ( ReqModel ) ;<br />

f i n d t a s k ( Task ) ;<br />

f i n d mappedSecGoal ( Asset , SecGoal ) ;<br />

f i n d meansEnd (R , Task , TaskName , SecGoal ,<br />

SecGoalName ) ;<br />

}<br />

a c t i o n {<br />

c a l l copyName ( Treatment , Task ) ;<br />

c a l l c r e a t e L i n k ( Treatment , Task , TraceModel ) ;<br />

}<br />

Listing 1.3. Mapping Treatment to Task fulfilling a Soft Goal<br />

The transformTreatment rule has three parameters: Treatment, the treatment to be<br />

mapped, ReqModel, the SI* model, and TraceModel, the traceability model. The<br />

precondition specifies two constraints for Treatment: harmedAsset identifies the<br />

asset Asset that is harmed by the threat scenario ThreatScenario treated by<br />

Treatment; the negative condition pattern mappedElement checks that Treatment<br />

has not already been mapped to a task in the SI * model. The postcondtion creates a<br />

task Task in the SI* model ReqModel and links it by means of a means-end relation<br />

to the soft goal SecGoal that protects the service mapped to Asset. The action of the<br />

rule names the asset Task created in ReqModel as the treatment Treatment and<br />

creates a traceability link in the traceability model who has as source element of the<br />

mapping Treatment and as target Task.<br />

4 Change-driven interplay between risk and requirement analysts<br />

The interaction between the risk analyst and requirement analyst is triggered when a<br />

change is applied to model elements that are instances of the mapped concepts in SI*<br />

and CORAS conceptual models. In the following we present three bidirectional propagation<br />

scenarios where changes are propagated from the requirement models to the risk<br />

model and vice versa. These are examples of possible scenarios that are supported by<br />

the conceptual mappings.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!