Skip to content

IASI-SAKS/XCREATE-CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XCREATE-CLI

Simple CLI for the tool X-CREATE.

This repository uses X-CREATE version 1.2 which is shipped with the JAR included in the folder lib. The POM explicitly links to this library.

For more information about X-CREATE see at:

CONFIGURATION

X-CREATE need the access to a DB hosted on an instance of mySQL. Configure its access in the file:

RUN IT

  1. Add a set of given XACML policies in the DB on mySQL
    • the CLI will look for XML files in the folder specified as its only mandatory argument
    • the CLI will process all the files trying to add all the XACML policies. If a XACML policies is already present in the DB, it will be skipped.
    • the generation of random values is always enabled by the CLI
    • adding is performed by means of the profile addPolicies in the POM. Use the following command: mvn clean compile -P addPolicies exec:java -Dexec.args="/tmp/xacmlPolicies"
  2. Generate the XACML reuqest for a given set of XACML policies already loaded in the DB
    • the CLI will look for XML files in the folder specified as its only mandatory argument
    • the CLI will process all the files in the given directory. If a XACML policies is not present in the DB, it will be skipped.
    • the results will be stored in the forlder Temp_X-CREATE by policy
    • the generated requests may result overwitten across several executions (if a policy with a given name has been already processed)
    • only one strategy is accesiible from the CLI: Multiple Combinatorial
    • generation is performed by means of the profile generateRequests in the POM. Use a command like the following one: mvn clean compile -P generateRequests exec:java -Dexec.args="/tmp/xacmlPolicies"
  3. Delete a XACML policy from the DB
    • this feature has not been implemented yet!

About

Simple CLI for the tool XCREATE

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages