Commit 1423343f authored by Bernhard Rumpe's avatar Bernhard Rumpe

BR-sy

parent c5346850
<!-- (c) https://github.com/MontiCore/monticore -->
# MonitSecArc
MontiSecArc (MSA) is a Security Architecture Description Language. This repository contains tooling based on MontiCore for Security Architecture Analysis and development of generators to derive code from MSA models.
......
......@@ -5,4 +5,4 @@ config {
Require-Model:
"de.monticore.java.lib-3.1.1-symbols.jar",
"../montiSecArcFE/src/main/grammars"
}
\ No newline at end of file
}
<!-- (c) https://github.com/MontiCore/monticore -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
......
/* (c) https://github.com/MontiCore/monticore */
/* Copyright (c) 2012 RWTH Aachen. All rights reserved.
*
* http://www.monticore.de/ - http://www.se-rwth.de/ */
......
/* (c) https://github.com/MontiCore/monticore */
package secarc;
import java.util.ArrayList;
......
/* (c) https://github.com/MontiCore/monticore */
package secarc;
......
/* (c) https://github.com/MontiCore/monticore */
/* Copyright (c) 2012 RWTH Aachen. All rights reserved.
*
* http://www.monticore.de/ - http://www.se-rwth.de/ */
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.error;
import mc.IErrorCode;
......@@ -5,13 +6,7 @@ import mc.IErrorCode;
/**
* Enumeration containing the MontiSecArcAnalysis error codes.
*
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved.
*
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
*/
public enum MontiSecArcAnalysisErrorCodes implements IErrorCode {
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.checker;
import interfaces2.coco.ContextCondition;
......@@ -5,13 +6,7 @@ import interfaces2.coco.ContextCondition;
/**
* Analysis are special context conditions
*
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
*
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
*
*/
public abstract class Analysis extends ContextCondition {
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.checker;
import org.jgrapht.traverse.DepthFirstIterator;
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.checker;
import secarc.ets.entries.SecComponentEntry;
......@@ -9,13 +10,7 @@ import interfaces2.resolvers.AmbigousException;
* Analysis checker interface for checking component
* related analysis
*
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
*
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
*
*/
public interface ISecAnalysisComponentChecker {
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.checker;
import secarc._ast.ASTSecArcConfiguration;
......@@ -7,13 +8,7 @@ import secarc.ets.entries.ConfigurationEntry;
* Analysis checker interface for checking configuration
* related analysis
*
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
*
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
*
*/
public interface ISecAnalysisConfigurationChecker {
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.checker;
import mc.umlp.arcd._ast.ASTArcConnector;
......@@ -10,13 +11,7 @@ import interfaces2.resolvers.AmbigousException;
* Analysis checker interface for checking connector
* related analysis
*
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
*
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
*
*/
public interface ISecAnalysisConnectorChecker {
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.checker;
import interfaces2.resolvers.AmbigousException;
......@@ -9,13 +10,7 @@ import secarc.ets.graph.ArchitectureGraph;
* Analysis checker interface for checking filter
* related analysis
*
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
*
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
*
*/
public interface ISecAnalysisFilterChecker {
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.checker;
import interfaces2.resolvers.AmbigousException;
......@@ -9,13 +10,7 @@ import secarc.ets.graph.ArchitectureGraph;
* Analysis checker interface for checking identity
* related analysis
*
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
*
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
*
*/
public interface ISecAnalysisIdentityChecker {
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.checker;
import interfaces2.resolvers.AmbigousException;
......@@ -7,13 +8,7 @@ import mc.umlp.arcd._ast.ASTMCCompilationUnit;
* Analysis checker interface for checking parameter
* related analysis
*
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
*
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
*
*/
public interface ISecAnalysisParameterChecker {
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.checker;
import interfaces2.resolvers.AmbigousException;
......@@ -9,13 +10,7 @@ import mc.umlp.arcd._ast.ASTArcPort;
* Analysis checker interface for checking port
* related analysis
*
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
*
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
*
*/
public interface ISecAnalysisPortChecker {
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.checker;
import interfaces2.resolvers.AmbigousException;
......@@ -10,13 +11,7 @@ import secarc.ets.graph.ArchitectureGraph;
* Analysis checker interface for checking role
* related analysis
*
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
*
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
*
*/
public interface ISecAnalysisRoleChecker {
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.checker;
import interfaces2.resolvers.AmbigousException;
......@@ -8,13 +9,7 @@ import secarc.ets.entries.TrustlevelRelationEntry;
* Analysis checker interface for checking trustlevelrelation
* related analysis
*
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
*
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
*
*/
public interface ISecAnalysisTrustlevelRelationChecker {
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.component;
import interfaces2.resolvers.AmbigousException;
......@@ -13,13 +14,7 @@ import secarc.ets.entries.SecComponentEntry;
/**
* L06: Lists all third party components with configuration and cpe
*
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
*
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
*
*/
public class ListThirdPartyComponents extends Analysis implements
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.configuration;
import mc.IErrorCode;
......@@ -16,13 +17,7 @@ import secarc.ets.entries.ConfigurationEntry;
* - Analysis of error codes
* Configuration management testing
*
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
*
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
*
*/
public class ReviewedConfiguration extends Analysis implements
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.connect;
import org.jgrapht.traverse.DepthFirstIterator;
......@@ -24,13 +25,7 @@ import secarc.ets.graph.Vertex;
* E03: Checks if an encrypted path continues unencrypted.
* Then the message is readable for the following components
*
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
*
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
*
*/
public class EncryptedPathContinuesUnencrypted extends Analysis implements
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.connect;
......@@ -28,13 +29,7 @@ import mc.umlp.arcd.ets.entries.PortEntry;
*
* - SSL/TLS Testing
*
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
*
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
*
*/
public class EncryptedPathWithUnencryptedPart extends Analysis
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.connect;
import mc.IErrorCode;
......@@ -23,13 +24,7 @@ import secarc.ets.graph.ArchitectureGraph;
*
* - SSL/TLS Testing
*
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
*
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
*
*/
public class UnencryptedConnectorThroughLowTurstlevel extends DerivedTrustlevel
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.filter;
import interfaces2.resolvers.AmbigousException;
......@@ -14,13 +15,7 @@ import secarc.ets.graph.ArchitectureGraph;
/**
* L05: String is a very unspecific input type. Therfore, it should be avoided
*
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
*
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
*
*/
public class AvoidInputString extends Analysis implements
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.filter;
......@@ -33,13 +34,7 @@ import secarc.ets.graph.Vertex;
*
* - SSL/TLS Testing
*
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
*
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
*
*/
public class EncryptedPathEndInLowTrustlevel extends DerivedTrustlevel implements
......
/* (c) https://github.com/MontiCore/monticore */
package secarc.ets.analysis.filter;
import com.google.common.base.Optional;
......@@ -21,13 +22,7 @@ import secarc.ets.graph.ArchitectureGraph;
/**
* F02: A filter should be more trustful than a 'normal' component
*
* <br>
* <br>
* Copyright (c) 2011 RWTH Aachen. All rights reserved
*
* @author (last commit) $Author$
* @version $Date$<br>
* $Revision$
*
*/
public class FilterWithHigherTrustlevel extends DerivedTrustlevel implements
......